Hi,
i have added every sonoff T1 1CH switches to my domoticz. I have uploaded latest tasmota firmware.
BUT ... how to add into domoticz 2CH switch ? I would like to have two switches on one device like in eWelink. Its easy to add every single channel from switch to separate device but how to do that in one (Two switches in one device)?
How did you deal with it ?
Sonoff T1 2CH
Moderator: leecollings
-
- Posts: 97
- Joined: Saturday 14 March 2020 13:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Sonoff T1 2CH
It's quite a while since you have asked this and nobody answered. I am starting now with Domoticz and have the same challenge.
Did you solve it somehow?
Besides the MQQT Broker I am currently I am only using the following Hardware:
"Dummy (Does nothing, use for virtual switches only)"
With this I can easily connect my Tasmota 1 channel switches. But now I have a 2 channel (Shelly 2.5). and I am using it for controlling a roller shutter.
Did you solve it somehow?
Besides the MQQT Broker I am currently I am only using the following Hardware:
"Dummy (Does nothing, use for virtual switches only)"
With this I can easily connect my Tasmota 1 channel switches. But now I have a 2 channel (Shelly 2.5). and I am using it for controlling a roller shutter.
-
- Posts: 528
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Re: Sonoff T1 2CH
Could you explain how you setup shelly 2.5 with tasmota and domoticz?
Also trying to do this.
When i click close in domoticz. The command is send to shelly tasmota.
But after closed, the shelly tasmota immediately goes open again and also send mqtt domoticz/in
looks like it doesn't update it's position in the shelly tasmota.
i am not using nodered, could that be the solution?
Also trying to do this.
When i click close in domoticz. The command is send to shelly tasmota.
But after closed, the shelly tasmota immediately goes open again and also send mqtt domoticz/in
looks like it doesn't update it's position in the shelly tasmota.
i am not using nodered, could that be the solution?
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
-
- Posts: 97
- Joined: Saturday 14 March 2020 13:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Sonoff T1 2CH
Hi hoeby,
sorry, I have missed your question so this answer comes very late now
In the Tasmota web-gui of the device, I had activated the following template:
{"NAME":"Shelly 2.5","GPIO":[56,0,17,0,21,83,0,0,6,82,5,22,156],"FLAG":2,"BASE":18}
And via the console I have sent this multiple command:
Backlog SetOption80 1; PulseTime1 128; PulseTime2 127; Interlock 1,2; Interlock ON; ShutterOpenDuration 26; ShutterCloseDuration 25
For ShutterOpenDuration and ShutterCloseDuration put in the number of seconds your roller shutter needs to open or close.
For PulseTime1, put in minimum the number of seconds your roller shutter needs to open in seconds (and add maybe 2 seconds) plus 100. For PulseTime2, do the same for the closing time.
Then I have created a new virtual sensor in "Dummy Harware". The corresponding Idx numbers must be put via the web-gui to the Tasmota device.
That's all.
But meanwhile I am using the Shelly 2.5 with tasmota just as 2 channel switch for two different lights.
For Roller Shutters I take the original Shelly firmware (without cloud). In Domoticz, add the plugin "Shelly MQTT". Now a new Shelly device is recognized automatically. And it is more hazzle-free.
sorry, I have missed your question so this answer comes very late now
In the Tasmota web-gui of the device, I had activated the following template:
{"NAME":"Shelly 2.5","GPIO":[56,0,17,0,21,83,0,0,6,82,5,22,156],"FLAG":2,"BASE":18}
And via the console I have sent this multiple command:
Backlog SetOption80 1; PulseTime1 128; PulseTime2 127; Interlock 1,2; Interlock ON; ShutterOpenDuration 26; ShutterCloseDuration 25
For ShutterOpenDuration and ShutterCloseDuration put in the number of seconds your roller shutter needs to open or close.
For PulseTime1, put in minimum the number of seconds your roller shutter needs to open in seconds (and add maybe 2 seconds) plus 100. For PulseTime2, do the same for the closing time.
Then I have created a new virtual sensor in "Dummy Harware". The corresponding Idx numbers must be put via the web-gui to the Tasmota device.
That's all.
But meanwhile I am using the Shelly 2.5 with tasmota just as 2 channel switch for two different lights.
For Roller Shutters I take the original Shelly firmware (without cloud). In Domoticz, add the plugin "Shelly MQTT". Now a new Shelly device is recognized automatically. And it is more hazzle-free.
Who is online
Users browsing this forum: No registered users and 0 guests