Tasmota Domoticz

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
Piacco
Posts: 81
Joined: Friday 14 November 2014 9:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Tasmota Domoticz

Post 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 1999 times
Has someone an sollution for this?
Greeting Piacco
besix
Posts: 99
Joined: Friday 25 January 2019 11:33
Target OS: Linux
Domoticz version: beta
Location: Poland
Contact:

Re: Tasmota Domoticz

Post 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 
Piacco
Posts: 81
Joined: Friday 14 November 2014 9:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Tasmota Domoticz

Post 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
besix
Posts: 99
Joined: Friday 25 January 2019 11:33
Target OS: Linux
Domoticz version: beta
Location: Poland
Contact:

Re: Tasmota Domoticz

Post 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
Piacco
Posts: 81
Joined: Friday 14 November 2014 9:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Tasmota Domoticz

Post by Piacco »

Thanks, that did the trick :D

Now it works like a charm
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest