-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sonoff configured as 2-way switch - is it possible? #300
Comments
This could be done adding a feature to the firmware to define a "group" topic where all the devices sharing the same group should listen to it and sync its status according to it. They will have to publish their status to the group topic only if it has changed based on an input different from the group topic itself. |
Original comment by laurinaitis (Bitbucket: laurinaitis, GitHub: laurinaitis): Good news! Thanks! |
Original comment by J Hendricks (Bitbucket: joeyhza, GitHub: joeyhza): Awesome news - Thanks Xose I'm currently using Tasmota to accomplish this - firmware accommodates Group Topic and works well. However when Espurna with group topics gets released I can at least flash all my Sonoff Basics with the new version, currently running a mix of Espurna for my Sonoff Duals and Tasmota for my Sonoff Basics - would rather just run the same firmware for all |
Original comment by laurinaitis (Bitbucket: laurinaitis, GitHub: laurinaitis): Did i understand well? Groups will be described for the device itself? (then you will not be able to connect one 3 gang with different gang switches). Or it might be more useful if the groups could be described by the different relays? Thanks |
I have just pushed a first version of it to the dev branch, just incase you want to test it. @laurinaitis , groups are defined per relay (each gang in a T1 3CH could have a different group topic), so you will be able to do what you describe. You can also define some of the devices/relays to use an inverse logic from the group, so you could pair a couple of smart switches so when you turn one on the other goes off. |
Original comment by laurinaitis (Bitbucket: laurinaitis, GitHub: laurinaitis): Thank You, so fast! I will definitely try! I'll let you know how I'm doing. Marius |
Released with 1.10.1 |
Removing milestone: 1.10.1 (automated comment) |
Originally reported by: laurinaitis (Bitbucket: laurinaitis, GitHub: laurinaitis)
Is it possible to do this? When one SONOFF T1 is connected to 220V and directly to the lamp, the other is only 220V connected. And the status changes both at MQTT?
This would be a very useful feature. You can use Sonoff T1 3 gang together with 3 separate Sonoff T1 1 gangs, each with its own MQTT channel to exchange status.
Thanks a lot!
Marius
The text was updated successfully, but these errors were encountered: