Pzem04t valueus splitting

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

spike318
Posts: 20
Joined: Saturday 09 January 2021 18:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Pzem04t valueus splitting

Post by spike318 »

i cant get the rule working

when i put the code in my browser i get a value to domotics
2021-05-10 11_21_00-192.168.1.19_8080_json.htm_type=command&param=udevice&idx=191&nvalue=0&svalue=11.png
2021-05-10 11_21_00-192.168.1.19_8080_json.htm_type=command&param=udevice&idx=191&nvalue=0&svalue=11.png (13.72 KiB) Viewed 1607 times
this is my rule
ive tested to posibilities with , and :
2021-05-10 11_20_33-Window.png
2021-05-10 11_20_33-Window.png (16.8 KiB) Viewed 1607 times
and when i look into my log i see this
2021-05-05 17_13_35-Window.png
2021-05-05 17_13_35-Window.png (17.53 KiB) Viewed 1607 times
and in domoticz i received nothing the value 11 is set by using the url in my browser

191 multipzem2 82191 1 multipzem21 Usage Electric 1 Watt - - 2021-05-10 11:26:25
192 multipzem2 82192 1 multipzem22 Usage Electric 0 Watt - - 2021-05-10 10:54:15
193 multipzem2 82193 1 multipzem23 Usage Electric 0 Watt 5 - 2021-05-10 07:43:28
194 multipzem2 82194 1 pzemmulti21 Usage Electric 0 Watt 5 -
User avatar
waltervl
Posts: 5374
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Pzem04t valueus splitting

Post by waltervl »

Please report this on the ESPEasy forum as it is a ESPEasy issue.
If I check the doc https://espeasy.readthedocs.io/en/lates ... Rules.html
I see
SendToHTTP
To send a message to another device, like a command to switch on a light to Domoticz
On System#Boot do //When the ESP boots, do
timerSet,1,10 //Set Timer 1 for the next event in 10 seconds
endon

On Rules#Timer=1 do //When Timer1 expires, do
SendToHTTP 192.168.0.243,8080,/json.htm?type=command&param=switchlight&idx=174&switchcmd=On
endon
Many users have reported problems with commands being truncated, particularly when trying to send commands to Domoticz. It seems to be a parsing error. There is the following workaround:
SendToHTTP 192.168.0.243,8080,/json.htm?type=param=switchlight&command&idx=174&switchcmd=On
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
spike318
Posts: 20
Joined: Saturday 09 January 2021 18:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Pzem04t valueus splitting

Post by spike318 »

https://sites.google.com/view/spikeauto ... h-esp-easy

After af few time i found out how to split the value's id did it in Node red

Everyting you need you find on my site
spike318
Posts: 20
Joined: Saturday 09 January 2021 18:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Pzem04t valueus splitting

Post by spike318 »

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests