Shelly 2.5 / switch mode

208 views
Skip to first unread message

Lukas Koval

unread,
May 19, 2021, 4:32:41 AM5/19/21
to TasmotaUsers
Dear friends, 

I got Shelly 2.5 runing latest tasmota. My issue is that on/off switches are not reacting based on my expectation.

1. If I turn switch#1 ON -> relay#1 ON
2. if I turn switch#1 OFF -> relay#2 ON (I expected to turn off relay #1)
3. If I turn switch#2 ON -> relay#2 ON
4 If I turn switch#2 OFF -> relay#1 OFF (I expect to turn off relay #2)

My template is {"NAME":"Shelly 2.5","GPIO":[320,0,32,0,224,193,0,0,640,192,608,225,3456,4736],"FLAG":0,"BASE":18}

May I kindly ask for help, what to change to control relay 1 by switch 1 and realy 2 by switch 2

Thanks
Lukas

Philip Knowles

unread,
May 19, 2021, 8:38:26 AM5/19/21
to Lukas Koval, TasmotaUsers

It sounds like there may be a strange SetOption in there which is toggling through the outputs. Looking at the template there looks to be nothing untoward.

Perhaps try a full reset?

 

Regards

 

Phil K

 

Sent from Mail for Windows 10

--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/cb5e1893-1e36-40ca-9263-26be2f190d6fn%40googlegroups.com.

 

Philip Knowles

unread,
May 19, 2021, 11:33:21 AM5/19/21
to Lukas Koval, TasmotaUsers

Interesting that the template on the Tasmota Shelly 2.5 is different

{"NAME":"Shelly 2.5","GPIO":[56,0,17,0,21,83,0,0,6,82,5,22,156],"FLAG":2,"BASE":18}

 

Sent from Mail for Windows 10

 

From: Lukas Koval
Sent: 19 May 2021 09:32
To: TasmotaUsers
Subject: Shelly 2.5 / switch mode

 

Dear friends, 

--

Lukas Koval

unread,
May 19, 2021, 12:12:42 PM5/19/21
to Philip Knowles, TasmotaUsers

I saw several different templates, at least those three are mainly propagated  via different websites

 

{"NAME":"Shelly 2.5","GPIO":[320,0,32,0,224,193,0,0,640,192,608,225,3456,4736],"FLAG":0,"BASE":18}

{"NAME":"Shelly 2.5","GPIO":[56,0,17,0,21,83,0,0,6,82,5,22,156],"FLAG":2,"BASE":18}

{"NAME":"Shelly 2.5 (buttons)","GPIO":[56,0,19,0,21,127,0,0,6,126,5,22,156],"FLAG":2,"BASE":18}  // push buttons

 

Do someone understand what is the difference?

Thx

sfromis

unread,
May 19, 2021, 6:50:55 PM5/19/21
to TasmotaUsers
Mostly old and new gpio component numbering. Due to Tasmota features having grown a lot, the old numbering system up to 255 was too narrow, and a new one was created. When used, any template entered with old component numbers will be automatically converted to the new numbering system. The last two of your three templates merely differs in input gpio pins configured as Switch vs Button, to match what you physically connect. The first one already using new numbers is exactly the same as number two.

Reply all
Reply to author
Forward
0 new messages