tbnobody / OpenDTU

Software for ESP32 to talk to Hoymiles/TSUN/Solenso Inverters
GNU General Public License v2.0
1.82k stars 508 forks source link

[Request] - ESP restart via MQTT #1147

Open Phantomias2006 opened 1 year ago

Phantomias2006 commented 1 year ago

Is your feature request related to a problem? Please describe.

Hello,

I have integrated openDTU into NodeRed using MQTT. In case of an error I would like to restart the ESP. This function is not available via MQTT.

Describe the solution you'd like

Add a new MQTT topic for an ESP restart

Describe alternatives you've considered

No response

Additional context

No response

DPO99 commented 1 year ago

Which error do you receive, that you need a restart?

Phantomias2006 commented 1 year ago

Hello, thank you for your reply.

I use the project „openDTU on battery“ and there the CAN data of the Pylontech battery storage and the Huawei power supply are read. In case of longer connection problems I would do a restart as fallback. Because the restart is included in the WebAPI and missing in MQTT I created a feature request in the main project.

kjmwwi commented 1 year ago

This reboot feature would be also usefull, if there is no response of opendtu because of "flooded" mqtt-queue because of to much power limit commands

crisi-solar commented 5 months ago

Da ich jeden Tag die openDTU neu starten muss wäre es toll wenn ich es über MQTT in Homeassistant machen kann. Warum muss ich jeden Tag neu starten? Siehe: https://github.com/reserve85/HoymilesZeroExport/issues/211

Omega13x commented 5 months ago

Warum musst du die DTU jeden Tag neu starten?

crisi-solar commented 5 months ago

@Omega13x Siehe Link oben

Omega13x commented 5 months ago

Ach so. Ich mach alles per HA (Node Red), da gibt es solche Probleme nicht mit OpenDTU. Meine DTU startet nur nach Udates neu. Zuletzt vor zwei Wochen.

stefan123t commented 3 months ago

@Phantomias2006 @kjmwwi @crisi-solar a topic to restart the OpenDTU will have to defined as an additional MQTT topic in #759.

We would need to agree on a common OpenDTU / Ahoy MQTT topic tree / structure with a writable / control topic for DTU restart / reset here first.