Closed whaleygeek closed 8 years ago
Response:
There is already a switching message inside monitor.py, and the default code turns the switch on and off repeatedly every few seconds.
here: https://github.com/whaleygeek/pyenergenie/blob/master/src/monitor.py#L109
and here: https://github.com/whaleygeek/pyenergenie/blob/master/src/monitor.py#L109
The default time is currently set to toggle every 60 seconds, set here: https://github.com/whaleygeek/pyenergenie/blob/master/src/monitor.py#L151
Issue resolved by answer above, closing.
Asked by @LibanO:
I was wonder if you have a switching.py example available? Or is there a command I can use on Monitor.py to switch the MIHO005?