Hello,
after installing a RTC as suggested, the problem wasn't solved. In fact, after booting, all the stations run all the time, until I action some control, then the stations stop and only start when programmed. The relay board i use is active LOW.
I realized that setting the plugin as active HIGH, was the only way the system works fine, unless the issue above described.
After reviewing the code and doing some checks, i found the solution consists of inverting de initialization settings, i.d., stating the initial status as HIGH in the case of active HIGH set in the plugin, and vice versa.
I hope this can help someone with same problem.
Regards
modified script part in attached file
after installing a RTC as suggested, the problem wasn't solved. In fact, after booting, all the stations run all the time, until I action some control, then the stations stop and only start when programmed. The relay board i use is active LOW.
I realized that setting the plugin as active HIGH, was the only way the system works fine, unless the issue above described.
After reviewing the code and doing some checks, i found the solution consists of inverting de initialization settings, i.d., stating the initial status as HIGH in the case of active HIGH set in the plugin, and vice versa.
I hope this can help someone with same problem.
Regards
modified script part in attached file