-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Widget not working /executed any more under iOS 16(.3?) #51
Comments
Hi, i don‘t know since i did not update ios yet. My guess is that if it runs inside the scriptable app then it is fine and the problem is not with the script. Guess you need to wait until a scriptable update for 16.3 comes out or another ios update with a fix |
Mmmmh ... 😞 |
My version of ios? I‘m still on 16.1.1 😅😂 |
Still, Otters like widget_pi-hole.js or PremiumSim.js or covid-19-7-day-incidence-county.js continue to work as widgets 😕 |
Yeah seems strange, but all i can say is, if the script works fine when executed in the Scriptable app itself, then i can‘t do anything |
Did you try to remove the widget and readd it? I updated my iphone today to the latest 16.3 and everything works as before |
Yes, I did lots of removals and readds ... What I do get is "request timeout" ! So "something" in my local LAN delays the widget script, but not the Scriptable App ? |
Yeah you can totally do that, there is this line at around line 30
Increase the time, edit the following line (around line 12) from Then run the script once. If it worked change it back to false again and that should do it. i also have pihole running in my network and everything works fine |
I did that but it doesn't help 😞 What I also observed now, while trying this and that, is even through the Scriptable App, right after unlocking the iPhone, I also do get the exception 'request timeout', with the increased timeout value it takes of course even longer until the message pops up ... so I don't believe increasing the timeout helps ... The widget however, on my iPad, works all but the first try after unlocking, too ! There's another observation through the Scriptable App: How can that be ? I really do appreciate your help |
That really seems like a crazy problem 🤣. So if the devices point to the same homebridge instance then they should not show different states ^^! Please check your local hombridge-config-ui-x webpage directly and check what it says. It also shows the node js version and if there is an update. The widget only shows the data which this server provides. Do you have some wifi enhancement device which could potentially decrease your network performance? Just doesn’t make sense that it does not work after unlocking the phone^^. It just could be that it when you unlock the phone the script is maybe currently being executed and additionally you start your manual run. So it runs twice at the same time which could lead to some interference if two instances (on same device) are executed somehow |
So, I'm back after some testing and results: I've removed the Scriptable App from my iPhone and reloaded it again from the AppStore. I still have the exception "request timeout" right after unlocking the iPhone. Pressing on the widget it opens the scriptable app and runs the script and everything is fine. This I can repeat if I lock the iPhone and unlock again after some time (the widget keeps its state for awhile). Tapping on it it opens back again the scriptable app. The message pops up "exception: request timeout". Tapping again on the widget it works ! PS: There's this purple.json property "pluginsOrSwUpdatesToIgnore" where I set the node.js (NODEJS_UTD) not to be checked on my iPad. You remember ? That explains why the status widget showed up differently between iPhone and iPad. I set that long time ago to suppress notifications and forgot that 😕 |
Ok one more guess: try to use different configuration files for different devices. E.g. Do not use purple.json at iphone and also at ipad but rather change the name on one device (e.g. at iphone rename it purpleIphone.json) To achieve this: then change again overwritePersistedConfig to true and run the script once, if it worked change it back to false Maybe the timeout comes because the icloud sync of the same configuration across the devices is too slow |
This is a good point! |
Hi, I just upgraded to iOS 16.3 but Homebridge Status is not working any more on home screens, it just remains empty:
If I run it from the Scriptable App it works. And also, all other Scriptable Widgets still work, well, except another one which also stays empty ... but the majority still work.
Do you know about such a behavior ?
It's the same for for the tiny HB widget ...
The text was updated successfully, but these errors were encountered: