Is it gonna rain within the next X minutes?

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.
User avatar
jvdz
Posts: 1068
Joined: Tuesday 30 December 2014 20:25
Target OS: Raspberry Pi
Domoticz version: Stable
Location: Westland/Netherlands
Contact:

Re: Is it gonna rain within the next X minutes?

Post by jvdz » Thursday 16 November 2017 22:40

The content is described in the WiKi: https://www.domoticz.com/wiki/Domoticz_ ... L%27s#Rain

Jos

quilae
Posts: 6
Joined: Tuesday 07 November 2017 22:57
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Is it gonna rain within the next X minutes?

Post by quilae » Thursday 16 November 2017 22:50

Thanks for your quick reply. In the meantime I figured out myself it has to do with this line:

Code: Select all

url=domoticzurl..'/json.htm?type=command&param=udevice&idx=' .. DEVIDX .. '&nvalue=0&svalue=' .. calcmmh .. ';' .. calcmmh
I did take a look at your wiki reference but I don't understand what the RAINCOUNTER value as shown on the wiki is supposed to mean.

quilae
Posts: 6
Joined: Tuesday 07 November 2017 22:57
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Is it gonna rain within the next X minutes?

Post by quilae » Thursday 16 November 2017 23:23

All right, I see the problem. I thought the term "rain device" in the script was just descriptive, but it's not. It needs to be a device of type 'rain" not just a "text" device. So now it's working.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest