Test for updates

This commit is contained in:
starcalc 2018-05-01 01:06:11 +02:00
parent 4206725e6d
commit 82316c89b3
1 changed files with 3 additions and 0 deletions

View File

@ -274,6 +274,9 @@ void setup() {
sensorNode.advertise("motion"); sensorNode.advertise("motion");
// Restore last state
output();
Homie.setup(); Homie.setup();
ArduinoOTA.setHostname(Homie.getConfiguration().deviceId); ArduinoOTA.setHostname(Homie.getConfiguration().deviceId);