You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The state script I'm using is just executed twice, once after reboot, and then 4 seconds later. Is there something I can do to have it executed every 5 seconds or is it an issue of my installation.
The text was updated successfully, but these errors were encountered:
The state script you point this plugin to in the config executes every time Apple HomeKit checks for state. This happens for me when I go into the Apple home app and navigate away from a room that has the accessory in it and then navigate back to the room. Or if you exit the Apple home app then reopen it.
You could move to running a state script that executes as often as you want and creates or deletes a file to designate on or off state of an accessory. You could leverage cron for example to have it execute every hour for example.
Then you can have this plugin use the existence of a file instead of a state script to set on or off state.
The state script I'm using is just executed twice, once after reboot, and then 4 seconds later. Is there something I can do to have it executed every 5 seconds or is it an issue of my installation.
The text was updated successfully, but these errors were encountered: