I use a temperature sensor on ESP. The values are sent via MQTT to an RPI with FHEM. but the connection breaks off again. How about the rules, check the connection and trigger a restart of the ESP at demolition.
Sorry for my bad englisch. I hope the question is understandable.
Greetings
Spike
reboot when lost connection to MQTT
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 4
- Joined: 19 Aug 2016, 08:16
- Location: Germany
reboot when lost connection to MQTT
sorry for my bad english
Re: reboot when lost connection to MQTT
Hi Spike,Spike08122 wrote:I use a temperature sensor on ESP. The values are sent via MQTT to an RPI with FHEM. but the connection breaks off again. How about the rules, check the connection and trigger a restart of the ESP at demolition.
Sorry for my bad englisch. I hope the question is understandable.
Greetings
Spike
What version are you using? In later versions of ESPEasy there is a parameter under Tools\Advanced called Connection Failure Threshold. If this is set to 0 the ESP will not react to connection failures. Set this to a number like 30 and the ESP will reset itself after 30 failures.
Regards
Dave
-
- New user
- Posts: 4
- Joined: 19 Aug 2016, 08:16
- Location: Germany
Re: reboot when lost connection to MQTT
Hi Dave,
i use Build R108, and i have fond this point. i try it with 30. i hope this is the solution of the problem.
thank you for the help.
Regards
Spike
i use Build R108, and i have fond this point. i try it with 30. i hope this is the solution of the problem.
thank you for the help.
Regards
Spike
sorry for my bad english
Who is online
Users browsing this forum: No registered users and 115 guests