Recently I have automated my garden watering with domoticz.
Now I want to get the rainvalue of my rainmeter to decide if I should water the garden or not.
so in my LUA script I have entered:
Code: Select all
Regenval = tonumber(otherdevices_svalues['Regen']}
So I changed the code to:
Code: Select all
Regenval = otherdevices_svalues['Regen']
2017-05-02 20:31:47.984 LUA: Regen= 0;531.3
The actual values when I look in the log of the rainmeter are:
3.5 mm in the last 24 hours with a rate of 0,0 mm.
anyone any idea what I need to do to get the right values?
Thanks in advance
Jan
).