I saw interestings rules of Prutsium in viewtopic.php?f=5&t=5246&hilit=pow+r2&start=20#p29035
I followed the same procedure, and made 4 dummy sensors in Domoticz.
I changed this rule for my situation, but that doesn't works as i expected. The two lines for Voltage an Current works fine.
On Energy#Voltage (V) do
SendToHTTP 192.168.178.52,8080,/json.htm?type=command¶m=udevice&idx=3653&nvalue=0&svalue=[Energy#Voltage (V)] //Send the Voltage data to Domoticz
SendToHTTP 192.168.178.52,8080,/json.htm?type=command¶m=udevice&idx=3654&nvalue=0&svalue=[Energy#Current (A)] //Send the Amp data to Domoticz
//SendToHTTP 192.168.178.52,8080,/json.htm?type=command¶m=udevice&idx=3655&nvalue=0&svalue=[Energy#Active Power (W)] //Send the Watt data to Domoticz
//SendToHTTP 192.168.178.52,8080,/json.htm?type=command¶m=udevice&idx=3656&nvalue=0&svalue=[Energy#Power Factor (%)] //Send the Power Factor data to Domoticz
endon
But when i made the other two active it destroyed Domoticz. I removed the sdcard from Domoticz and checked them on errors and repair it.
After that Domoticz worked again. So i tried it again, same problem, repair it and tried it for the third time. same problem.
For this moment i removed the rules. My knowledge isn't enough to find a solution for this problem.
Maybe someone can tell me whats going wrong.
Rules for Sonoff Pow (first version)
Moderators: grovkillen, Stuntteam, TD-er
Re: Rules for Sonoff Pow (first version)
I have seen some remarks about corruption on the Domoticz Wiki.
For example here: http://www.domoticz.com/wiki/Domoticz_A ... URL%27s#UV
Maybe it applies to more?
Also some Domoticz values require a 'svalue' and some a 'nvalue'.
For example here: http://www.domoticz.com/wiki/Domoticz_A ... URL%27s#UV
Maybe it applies to more?
Also some Domoticz values require a 'svalue' and some a 'nvalue'.
Re: Rules for Sonoff Pow (first version)
Yep, very strange.TD-er wrote: ↑29 Aug 2018, 17:17 I have seen some remarks about corruption on the Domoticz Wiki.
For example here: http://www.domoticz.com/wiki/Domoticz_A ... URL%27s#UV
Maybe it applies to more?
Also some Domoticz values require a 'svalue' and some a 'nvalue'.
But i know now that the Virtual Sensor "Electric (Instant+Counter" gives the problem. Instead of that i have used "Usage (Electric)" and that works fine. Isee now all the four items in Domoticz.
Who is online
Users browsing this forum: Bing [Bot] and 35 guests