Is anybody else having trouble with this app? It worked fine for me until recently. The last few days I have to re-run the app daily or it wonāt fire.
I am definitely thinking this is SSDS because if I restart the app it works for like a day. Anybody here a better coder than me that can add a watchdog function to this app? Similar to how pollster restarts itself?
Sorry it took so long. I think Iāve got it all worked out. Iāve changed the way that events are scheduled. Iām no longer using the built in sunrise/sunset schedulers and Iāve added a watch dog function as suggested by @ADamL. Iāve even taken it a step further and added a method to check that the watchdog schedule is still running. The watchdog check is run on every trigger and itās restarted if needed. Thereās still room for improvement but this should be a good start.
Also in this update:
Now your light levels will be remembered until the next night when changed manually at the switch during standby. This is for the standby light levels. The trigger levels will not be effected.
Cleaned up the main settings screen. Unused triggers are now collapsed by default.
I fixed a bug that was preventing the acceleration (door knock) trigger from working. If youāre using that feature you should update the app. The updated code is at github.
Love the way your light works, I thought of something Iām not sure you can incorporate or not but since itās Christmas time can when the light is in its ādimā mode can we have the color of the light red, green, blue etc. considering we are using a rgbw bulb and then when someone arrives goes to the set brightness in white and then go back to the pre describes color in the dim mode in other words be able to select the color of the dim mode and go to white at the desire level when someone arrives.
Has anyone else had a problem with the light not shutting off at sunrise. Three days in a row Iāve shut it off manually because it not automatically going off. It comes on fine and dims correctly or brightens with motion just fine. Just not shutting off at sunrise. Had been working perfectly for two weeks.
@jdiben, I love this app and have been using this for my porch light. I have since got some motion and lux sensors inside my house and tried using it for my kitchen to turn up a light I normally keep on very dim and bring back down to that same dim level.
If possible, I would like to change the default sunset to sunrise (+/- an offset) to specific times of day instead of sunset to sunrise. How could I go about modifying this app or getting it modified to allow that choice?
@jdiben Great App !..thanks, any thoughts or tips to adjust code to configure seconds for dime instead minutes ? For a stairs light project, minutes could be too much time to dim stairs light. THANKS for your recommendations!
That should treat whatever value you set for minutes to be evaluated as seconds. You may also want to change the min and max values just above that line. As it is now, you will be limited to between 1 and 30 seconds.