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.
Venzent
Posts: 35
Joined: Sunday 15 April 2018 13:00
Target OS: Raspberry Pi
Domoticz version: 3.8153
Contact:

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

Post by Venzent » Wednesday 30 May 2018 21:50

Mmmmm, it seems to run every 15 minutes. Is this something new??
Probably this line:
if ((time.min % 15)==0) then
Which is fine by me, every minute is an overkill, but to my knowledge it did run every minute....
Never mind, case closed :-)

DickN
Posts: 6
Joined: Monday 06 March 2017 20:08
Target OS: Raspberry Pi
Domoticz version:
Location: NL
Contact:

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

Post by DickN » Wednesday 18 July 2018 23:39

Hi,

In Hardware I have created a virtual sensor with type Regen
MWSnap002.jpg
MWSnap002.jpg (7.84 KiB) Viewed 554 times
In devices i can see now:
The attachment MWSnap002.jpg is no longer available
Idx=782

and in the weather tab:
is correctly shown
MWSnap001.jpg
MWSnap001.jpg (26.91 KiB) Viewed 553 times
Also when I open the Log:
is alsocorrectly shown.

So far everything is OKe

When I edit my script with:
RainDeviceIDX=778
commandArray[1] = {['UpdateDevice'] = RainDeviceIDX .. '|'..tostring(RainPrediction)..'|'..tostring(verw)}
The divice in the weather tab is not lookingen like before.
The log-file does niet appear anymore.

Can somebody tell me what I did wrong

sander815
Posts: 46
Joined: Friday 13 January 2017 16:49
Target OS: Raspberry Pi
Domoticz version:
Contact:

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

Post by sander815 » Saturday 22 September 2018 16:34

i cannot get this thing to run, i have no idea
i made 2 switches, Rain expected and Regen verwacht

script is running, as it creates rain.tmp
Sometimes rainn.tmp is filled, sometimes its empty

i do not get any response in the virtual switches in domoticz

User avatar
HansieNL
Posts: 460
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi
Domoticz version:
Contact:

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

Post by HansieNL » Saturday 22 September 2018 19:03

@sander815
Maybe you can try Buienradar lua script viewtopic.php?f=61&t=22010
I think that one is easier to configure.
Blah blah blah

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests