Wednesday, 17 April 2019

Sonoff restart concerns

I just posted this to the WhatsApp "Kilnageer CH 2019" for Bren and Liam to consider.

"I have concerns regarding what state the sonoffs power up into and/or restore after a reboot or wifi drop. See this excellent article:
http://www.thesmarthomehookup.com/end-random-ghost-switching-for-good-by-fixing-your-retain-settings-in-tasmota-and-home-assistant/

I think the safest but least elegant solution is to configure the sonoffs to power up/restart in off but for their controllers (Node-Red web  MQTT Dash android app) to publish retained to a shadow topic. And for a Node-Red script to loop every 5 secs to ensure the sonoffs follow these user defined shadow values.

This script can also check for safety concerns and take action. For example, if burner is on but no zones/cylinder to turn it off and e-mail registered users.

I'm setting up a spare router in Shannon to mimic the Kilnageer set-up so I can experient with this solution here before deploying in Kilnageer next visit.

Any questions/suggestions?"



No comments:

Post a Comment