reboot when lost connection to MQTT

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Spike08122
New user
Posts: 4
Joined: 19 Aug 2016, 08:16
Location: Germany

reboot when lost connection to MQTT

#1 Post by Spike08122 » 21 Aug 2016, 13:26

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. :shock: I hope the question is understandable. :?:

Greetings


Spike
sorry for my bad english :(

dduley
Normal user
Posts: 93
Joined: 06 Feb 2016, 17:56

Re: reboot when lost connection to MQTT

#2 Post by dduley » 21 Aug 2016, 16:49

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. :shock: I hope the question is understandable. :?:

Greetings


Spike
Hi 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

Spike08122
New user
Posts: 4
Joined: 19 Aug 2016, 08:16
Location: Germany

Re: reboot when lost connection to MQTT

#3 Post by Spike08122 » 21 Aug 2016, 23:30

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
sorry for my bad english :(

Post Reply

Who is online

Users browsing this forum: No registered users and 115 guests