Tasmota: grouping devices (mqtt) and failover to esp-now

Created on 17 Dec 2017  ·  3Comments  ·  Source: arendst/Tasmota

I am currently thinking of wiring up three way switches with sonoff touches, and any of the ways I want to do it involve one having a relay output to the light and one having a publish that causes the other one to toggle states. While spitballing about why I am ok with this at my hackerspace but not at my house I had a thought. I very, very much want my light switches to failover to exactly as useful as they are now (just dumb switches) if the wifi and/or internet goes out. MQTT has handled the internet problem by doing everything locally, but if the broker goes down or the wifi itself is down then only one of the switches will function. In order to handle the situation that I would like to failover gracefully, the modules would get something like a group ID and when wifi is lost for some amount of time they fail over to their respective groups using either ESP-NOW or a sort of mesh or ad-hoc mode which allows them to function without a functional access point or broker, both just need power and to be in range of each other.

What do you think? should there be more integrated support for essentially wireless three way switches?
I know how I think it's done now by setting the report topic as the control for the other one that's subscribed but that does not translate well to an automatic ad-hoc link.

stale

Most helpful comment

I'm surprised this died and I can't find any other issues mentioning it. ESP-Now should become a feature request. ESP-to-ESP communication should be the next big improvement to all the big name firmwares. Relationships between ESPs without MQTT, mesh "networking" of messages until they reach a controller/master, range extension, extremely less power consumption.

All 3 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.

I'm surprised this died and I can't find any other issues mentioning it. ESP-Now should become a feature request. ESP-to-ESP communication should be the next big improvement to all the big name firmwares. Relationships between ESPs without MQTT, mesh "networking" of messages until they reach a controller/master, range extension, extremely less power consumption.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

smadds picture smadds  ·  3Comments

JoergZ2 picture JoergZ2  ·  3Comments

wirelesssolution picture wirelesssolution  ·  3Comments

grizewald picture grizewald  ·  3Comments

luisfpinto picture luisfpinto  ·  3Comments