-->
Page 2 of 3

Re: 3-pos switch

PostPosted: Sun May 13, 2018 10:02 am
by rudy
stagedRelay.JPG


Code: Select allOff     Relay3=Off,  Relay2=Off,  Relay1=Off

Low     Relay3=Off,  Relay2=Off,  Relay1=On

Medium  Relay3=Off,  Relay2=On,   Relay1=Off

High    Relay3=On,   Relay2=On,   Relay1=Off


Power is only applied to one output at anytime. Just set the relays for the desired state. I would keep it simple and call a function for each state. Each function turns on/off the relays to match that state.

Re: 3-pos switch

PostPosted: Sun May 13, 2018 4:45 pm
by liderbug
Ah, yes. Thanks.

Re: 3-pos switch

PostPosted: Thu May 24, 2018 6:31 am
by Phaseangle
I looked at this myself for a ceiling fan with light and believe the sonoff 4 channel pro will do the trick as you can interlock channels both by setting on the board and the no & nc contacts

Re: 3-pos switch

PostPosted: Tue May 29, 2018 4:34 pm
by liderbug
Follow up. I ended up rebuilding my greenhouse RasPi as a hotspot. Distance, building etc makes the main router marginal signal wise (192.168.0.1) -86dB and the ghouse (192.168.1.1)-35dB. And, knock on wood, the last 3 days things have worked per spec. :D
https://lidderdale.net/hydro/ "Todays temps". [ the graph is generated realtime ] Any time you see a large temp drop in just a few minutes - due to large dark sad crying cloud ...