2019-01-19, 20:47
(2018-11-19, 03:33)thezoggy Wrote: alright added some code to it to 'toggle brightness' - if used it passes the startStop / playPause brightness levels the user sets. otherwise it just toggles the switch as before.While love what you have done for the script and I encourage to perhaps maintaining the service.. It would be good to have options where the user can choose settings by preference.
this was done to serve my purpose where in a media room I just want to toggle brightness down/up during playback. (toggling brightness does not change switch state)
in case anyone wants: http://zoggy.net/service.wemo.toggle-zoggy.zip
Here is what I like to be able to do in my case:
Start/Resume => Turn Off.
Pause => Brightness Level by user preference from 1% - 100% or keep it Off.
Stop/End => Brightness Level by user preference from 1% - 100%
Or leave settings as suggested in the new code.
Again, keep up the good work!