Hi,
All my devices are on Sonoff 6.5.0, all kinds of different module types from Sonoff Basic all the way to custom modules.
I was playing with my Unifi AP and it got disrupted for a while, afterwards most of my devices (majority, perhaps with the exception of 2 or 3) had reverted to Module type Sonoff Basic
I didn't realize this at first, but then I opened the fridge and
there was no power, (the fridge is attached to Teckin power monitoring
smart plug (Module type: Teckin US 59)
At first I thought the PowerOnState 1 hadn't kicked it, so I tried to
turn it on through HA, no luck, I tried to turn it on through Tasmota
UI, still no go, even the power button on the device didn't work.
Checked the Freezer, the other fridge, wine fridge ...
All had the same issue
Panicked and to avoid ruining the food, I unplugged my devices.
Then started investigating what was the problem only to realize that the module type had reverted to Sonoff basic, corrected the module type and the devices started working as before.
This is the first time that has ever happened to me, and I have many devices and been using Tasmota for years.
It can't be a coincidence that this happened, something in the code flow (a bug? or a feature?) must have caused this.
Anyone has any clues? how can I avoid this? can't afford connecting essential appliances on these smart devices without assuring that this won't happen again.
Thanks
BB
BOOT_LOOP_TIME
(default 10) seconds):- 1st restart: disable ESP8285 generic GPIOs interfering with flash SPI
- 2nd restart: disable rules causing boot loop
- 3rd restart: disable all rules
- 4th restart: reset user defined GPIOs to disable any attached peripherals
- 5th restart: reset module to Sonoff Basic (1)
May have been caused by loss of the MQTT broker. If you are going to leave the devices running when you take your network down for any significant period of time click the MQTT enable in Configuration>Other. You could create a batch job to turn it off and on using
http://x.x.x.x/cm?cmnd=SetOption3%200
and
http://x.x.x.x/cm?cmnd=SetOption3%201
or increase MQTTRetry time from 10 seconds.
The config should still be there after you select the correct module.
Regards
Phil K
--
You received this message because you are subscribed to the Google Groups "SonoffUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/d8e65926-bb46-4dc6-971c-4978825ee1ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
BOOT_LOOP_TIME
I guess I'd have to customize it with user_config_override.hThere’s a known issue with it rebooting with people leaving MQTT enabled when they haven’t got a broker. It will have so many tries to find the broker and then restart (roughly 3 minutes)
It needs to be able to do that because it doesn’t know why it can’t see MQTT so the logical thought is ‘it’s probably there so the problem must be me so I’ll reboot’.
The honest answer to all this is to remember that you’re working with a live control system. Making a change in the telephone exchange part of that system could have implications so you should do a graceful shutdown before making changes and then do a restart and check afterwards.
I recently changed ISP and changed my router. All my devices had static IP addresses (including the MQTT broker). The new router ignored the static addresses and the broker ended up on a new IP address. It took me several hours to get it all working again.
If you have a power cut and everything goes down it will be fine - the issue is with losing your router for a significant period of time (15 minutes or so). You can set the MQTTRetry to over 8 hours if you’re really concerned.
Regards
Phil K
Sent from Mail for Windows 10
--
You received this message because you are subscribed to the Google Groups "SonoffUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/3de37920-cf8c-42a3-b489-8ee577b8c82c%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/5d08cdd1.1c69fb81.3288e.5c8e%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.
In your case he devices were off too. All I know is that I have had several devices which have lost their config when I have been doing things like upgrade openHAB, changing router or when setting devices up without the MQTT settings being correct.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/CAGV9QCmrMB0wiri%3D0sGVUBFouR266SDq%3D%2BTpPbe1GSG9-RwkVQ%40mail.gmail.com.
I have one Sonoff device and a couple of the LC Technologies which don't like losing MQTT.
The rest are fine. I don't know why these ones cause trouble but watching them on serial they connect to wifi attempt to connect to MQTT fail and reboot straight away.
All I was saying that, with any type of live control system, making changes without checking afterwards that it's working as expected could be foolhardy.
I changed my router and lost my MQTT broker connection and the original poster was making changes to wifi.
We need to realise that these 'little' changes may have consequences and not just assume that everything is OK.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/3de37920-cf8c-42a3-b489-8ee577b8c82c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "SonoffUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/5d08cdd1.1c69fb81.3288e.5c8e%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.
--
Piotr Antczak
--
You received this message because you are subscribed to the Google Groups "SonoffUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/CAGV9QCmrMB0wiri%3D0sGVUBFouR266SDq%3D%2BTpPbe1GSG9-RwkVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Piotr Antczak
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/3de37920-cf8c-42a3-b489-8ee577b8c82c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "SonoffUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/5d08cdd1.1c69fb81.3288e.5c8e%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.
--
Piotr Antczak
--
You received this message because you are subscribed to the Google Groups "SonoffUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/CAGV9QCmrMB0wiri%3D0sGVUBFouR266SDq%3D%2BTpPbe1GSG9-RwkVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Piotr Antczak