Tasmota: Switch multiple relays using tasmota on Wemos D1 mini

Created on 19 Apr 2018  路  6Comments  路  Source: arendst/Tasmota

Hello Everyone,

I have a 4 relay module I want to control with tasmota 5.12 on a Wemos D1 mini.
For now I am able to switch one relay using D5 (GPIO14 switch) and D6 (GPIO12 relais)
But there are (minimal) two relays more I need to switch.
Is there any way to achieve this with only one wemos d1 running Tasmota?

The end goal is to automate my sunscreen using Hassio.
I have cloned a Somfy Telis 4 remote control for my somfy RTS motor.
Now each relay needs to operate a button.
Relay 1 to open the sunscreen
Relay 2 to close the sunscreen
Relay 3 to stop the sunscreen
Relay 4 to do something else if possible.

Thanks in Advance!

stale

Most helpful comment

All 6 comments

if you set the device as generic, you can set relaises to gpios you want.

if its not enough, check wiki https://github.com/arendst/Sonoff-Tasmota/wiki/Adding-new-Module-types

Hello reloxx13,

Thank you for your quick response.
I have set the device as generic. But somewhere in Tasmota switch GPIO14 operates relay GPIO12.
My question is what other GPIO is connected to wich GPIO so I can let one switch the other?

they are not connected, you need to match them yourself

e.g.
gpio 14 switch1 and gpio12 relais1 = gpio14 handles gpio12 (switch1 handles relais1)
gpio 02 switch2 and gpio03 relais2 = gpio02 switches gpio03 (switch2 handles relais2)

the number after the type (switch/relais etc.) is the mapping.

Thank you very much!

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ximonline picture ximonline  路  3Comments

kckepz picture kckepz  路  3Comments

abzman picture abzman  路  3Comments

j4k3 picture j4k3  路  3Comments

Vujagig picture Vujagig  路  3Comments