I have one of my many ESPEasy-Setups running just to remotely turn on a fan for a few minutes (bath)
Unfortunately, this one looses connection after a few days
The strange thing, it doesn´t span it´s own network then, just gone.
A power reset brings it back alive
(I´m running V147)
My idea now, reset it by a rule like every 2 hours, what do you think?
Reset the ESP by a rule
Moderators: grovkillen, Stuntteam, TD-er
Re: Reset the ESP by a rule
Sorry for the Typo in the headlined, fixed now
So any thoughts about it?
So any thoughts about it?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Reset the ESP by a rule
Please use the wiki....
https://www.letscontrolit.com/wiki/inde ... rial_Rules
https://www.letscontrolit.com/wiki/inde ... _Reference
https://www.letscontrolit.com/wiki/inde ... rial_Rules
https://www.letscontrolit.com/wiki/inde ... _Reference
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Reset the ESP by a rule
I'm not sure a reboot every 2h is a solution that can work.
- it can reboot the module while the fan is working and I don't consider this acceptable (but that is me and how I see the automation system)
- depending on various factors ESPEasy takes anyhow several seconds to reboot, this means you could not have a reactive action when needed (turning on the fan)
- this behaviour is a symptom of an issue (most probably hardware but not 100% sure)
- then if you still want to use the "easy" solution I would suggest the usage of an external watchdog (it's easy to build with few very common components) that will reset the module only when it becomes non-responsive or under specific conditions
- it can reboot the module while the fan is working and I don't consider this acceptable (but that is me and how I see the automation system)
- depending on various factors ESPEasy takes anyhow several seconds to reboot, this means you could not have a reactive action when needed (turning on the fan)
- this behaviour is a symptom of an issue (most probably hardware but not 100% sure)
- then if you still want to use the "easy" solution I would suggest the usage of an external watchdog (it's easy to build with few very common components) that will reset the module only when it becomes non-responsive or under specific conditions
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Reset the ESP by a rule
Agree with papperone.
It might be possible to reset the ESP automatically but that's just a second class remedy.
There is an issue definitely.
As long as it runs check the free memory now and then - if it is permanently
decreasing there is a bug somewhere in the software. But I don't think so.
As you switch a fan it's more likely there is a problem from power supply,
getting spikes from the relay or the fan motor now and then. The ESP
(and many other devices) are somewhat sensitive at this point.
This is the reason in many cases if strange behaviour occurs.
Can you give some more info? Schematic? Picture(s)?
It's diffcult to help with no knowledge about the setup.
Regards
Shardan
It might be possible to reset the ESP automatically but that's just a second class remedy.
There is an issue definitely.
As long as it runs check the free memory now and then - if it is permanently
decreasing there is a bug somewhere in the software. But I don't think so.
As you switch a fan it's more likely there is a problem from power supply,
getting spikes from the relay or the fan motor now and then. The ESP
(and many other devices) are somewhat sensitive at this point.
This is the reason in many cases if strange behaviour occurs.
Can you give some more info? Schematic? Picture(s)?
It's diffcult to help with no knowledge about the setup.
Regards
Shardan
Regards
Shardan
Shardan
Who is online
Users browsing this forum: No registered users and 63 guests