Chat freely about anything...

User avatar
By Corgenius2005
#59097 Dears,

Recently, I've discovered the great and cheap Sonoff and I want to integrate it into my house :).
It has just one flaw for me.... It's great that you can see Sonoff's state on the iPhone app, but what happens if you have another physical switch, in parallel with Sonoff, for the same light? Then you can have the switch on,but the Sonoff off. Then the app will report that the light is off, even tow the light is on.
The only way I can think of solving this problem is by somehow reading the state of the extra switch with Sonoff and refreshing the app in order to get the right state of the light.
Do you guys have any idea how can I make this project work? If you need more details, please tell me and I will give you :).

Thanks and Best Regards,
Eugeniu
User avatar
By bubo1997
#59751 hi i figured out a clever solution for this but i dont know if it is even posible, it requires also reading the pinout state. It may fit you. what i want to do is to storage the state of the pin so every time it is rebooted(by turning off and on) the sonoff looks into the previous state of the pin and toggles it. in this conf you could use your normal switch(you will have to know the open state of your switch so you can do it) no matter the state of the sonoff. but we have to know first if it is even possible. :mrgreen: