So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By bubo1997
#59618 i would like to know if is it possible to save the state of a pin so when the module is restarted it inmediatly puts the pin in the saved state. i want this information cos i´ve purchased a sonoff wifi and i would like to code it so i can use the normal switch o my house without interfiering with the wifi use. i'll explain myself :

this is the conf: power---------> normal house switch ---------> sonoff wifi ---------->bulb
what i want to do is that every time i switch off and then on the sonoff with the "normal house switch" i toggles the previous state an for that i need to save it before.

i hope ive explained myself correctly, thank you




pardon my enghish it isn`t my mother tonge(spanish is , in case you are asking :mrgreen: )