Upgrade to Homie V3 #1

Manually merged
jct merged 7 commits from homieV3 into master 2019-08-13 11:01:23 +00:00
3 changed files with 63 additions and 58 deletions
Showing only changes of commit 0ae3824e88 - Show all commits

View File

@ -56,6 +56,7 @@ void loopHandler() {
timer = 0; timer = 0;
OUTPUT_SET(false); OUTPUT_SET(false);
powerNode.setProperty("timer").send("0"); powerNode.setProperty("timer").send("0");
powerNode.setProperty("state").send("off");
} }
if(millis() > next_timer_update) { if(millis() > next_timer_update) {
next_timer_update = millis() + 60*1000; next_timer_update = millis() + 60*1000;