Page 1 of 1

Tasmota Domoticz

Posted: Thursday 26 November 2020 21:47
by Piacco
Hello,

I'm using the Houzetek 4AC 3USB Power Strip, flashed with Tasmota 9.1.0.
Everytink works fine exception relay 5, i can't configure it in the domoticz tab, i can only configure 4 relays.
I've tried to make a rule, but this one is not working.

Code: Select all

Rule1 ON command#idx =1066 DO POWER5 toggle ENDON 
Powerstrip.PNG
Powerstrip.PNG (21.89 KiB) Viewed 1994 times
Has someone an sollution for this?
Greeting Piacco

Re: Tasmota Domoticz

Posted: Thursday 26 November 2020 22:47
by besix
Hi
This can be

Code: Select all

rule on POWER5#state=1 DO publish domoticz/in {"idx":XXX,"nvalue":1} endon on POWER5#state=0 DO publish domoticz/in {"idx":XXX,"nvalue":0} endon
rule1 1 

Re: Tasmota Domoticz

Posted: Friday 27 November 2020 8:01
by Piacco
Thanks,
but this only worked from tasmota to domoticz and not from domoticz to tasmota :oops:

This rule

Code: Select all

rule3 on domoticz/out#idx=1067 DO Power5 toggle ENDON
also does'n work

Re: Tasmota Domoticz

Posted: Friday 27 November 2020 12:30
by besix
In domoticz you can use http commands in the actions of the On / OFF switch
add

Code: Select all

http://192.168.x.xxx/cm?cmnd=Power5%20On
http://192.168.x.xxx/cm?cmnd=Power5%20off 
192.168.x.xxx - is the IP of the module from tasmota
If you have the password for tasmota web
then http commands

Code: Select all

http://192.168.x.xxx/cm?user=admin&password=xxxxxxx&cmnd=Power5%20On

Re: Tasmota Domoticz

Posted: Friday 27 November 2020 20:14
by Piacco
Thanks, that did the trick :D

Now it works like a charm