There's already $implementation/reset (which doesn't seem to work on 3.0.1) but none to reboot. It'd be useful to do a end-to-end test after flashing over serial to prepare for OTA update later.
I think the implementation would be relatively simple but I want to double check with owners if they would want such patch.
There's already $implementation/reset (which doesn't seem to work on 3.0.1) but none to reboot. It'd be useful to do a end-to-end test after flashing over serial to prepare for OTA update later.
I think the implementation would be relatively simple but I want to double check with owners if they would want such patch.
I think it would boil down to the following:
https://github.com/homieiot/homie-esp8266/blob/develop/src/Homie/Boot/BootNormal.hpp
A new enum
SUB_IMPLEMENTATION_REBOOT
https://github.com/homieiot/homie-esp8266/blob/develop/src/Homie/Boot/BootNormal.cpp
In BootNormal::_advertise():
Then a new function that would be called in BootNormal::_onMqttMessage():
https://github.com/homieiot/homie-esp8266/blob/develop/docs/others/homie-implementation-specifics.md Update to add the new topic.