arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.04k stars 4.78k forks source link

Sonoff to Control Up/Down Motor #1933

Closed areid1234 closed 6 years ago

areid1234 commented 6 years ago

Hi all,

I have a motor which raises and lowers a TV. The TV turns on when raised, the motor stops at the top and bottom of the lift.

I would like to add a Sonoff/Sonoff Dual to the circuit. I saw on a previous note in this thread that a dual could switch "on" the up and switch "on" the down. I have already bought a Sonoff with a singular relay and have placed this within the circuit in several places but with no luck!

I don't know what the brains of the board do but it effectively uses the RF transmitting to a remote to move this up and down.

I am a complete novice but i anyone has any advice and which wires to connect to the Sonoff to get this going I would be grateful! I have also ordered an RF version which could work but I would prefer this wired in

Thanks!

img_1982 2

img_1950

img_1975

lift circuit diagram

reloxx13 commented 6 years ago

Dude, its rare to see so much garbage.

Put your shoes on and drive to a hardware store and buy f**king isolation tape for a few cents.

230Volts are not a game!

does the up/down switch stay in his up/down position or moves it back to center?

unbenannt

https://www.conrad.de/de/relaisplatine-bestueckt-1-st-conrad-components-rel-pcb6-1-1-wechsler-230-vac-503334.html

reloxx13 commented 6 years ago

if sonoff is on, relais will "simulate" a button UP press and hold. if sonoff is off, relais will "simulate" a button DOWN press and hold.

areid1234 commented 6 years ago

Hi Reloxx

Thanks for your diagram. I have wired this circuit up as below with the Relais you have recommended. Sonoff is on, circuit board LED is on, motor moves up and down but the relais doesn't seem to be working. I bought 2 relais and they both aren't working. Can you see any problems with my diagram that I could be doing wrong? Or any other issues it may be?

Thanks again for your help!

sonoff circuit board

reloxx13 commented 6 years ago

does the up/down switch stay in his up/down position or moves it back to center?

areid1234 commented 6 years ago

When the Sonoff is ON to give power to the relay, it switches the lift up (I have wired up to the NC) but it does nothing when you turn the Sonoff OFF. The remote works the same still!

areid1234 commented 6 years ago

I have also tried this with the Dual. But this is how it seems to work...

Relay 1 ON no action Relay 1 OFF Lift moves up

Relay 2 ON No action Relay 2 OFF Lift moves down

sonoff circuit board sonoff dual

stale[bot] commented 6 years ago

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.

stale[bot] commented 6 years ago

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.

radsimu commented 4 years ago

the problem with dual is that you may end up powering both state of the motor, and the circuit board might not be prepared for that. Did you manage to somehow configure the sonoff to avoid that? (have it automatically lock the other channel, when a channel is opened - is that even possible with Sonoff?)