@gizmocus, okey thanks for the info.
When I have finished my script, I'll share it in this topic.
Search found 6 matches
- Tuesday 19 June 2018 11:20
- Forum: Temperature and Weather
- Topic: Virtual sensor for rain
- Replies: 20
- Views: 7151
- Wednesday 13 June 2018 15:12
- Forum: Temperature and Weather
- Topic: Virtual sensor for rain
- Replies: 20
- Views: 7151
Re: Virtual sensor for rain
Okey I used the following code in dzVents together with my Netatmo rainsensor: return { on = { timer = { 'every minute' }, }, execute = function(domoticz, timer) local netatmo_rain = domoticz.devices(23) domoticz.log('rain_rate: ' .. netatmo_rain.rainRate, domoticz.LOG_INFO) domoticz.log('total_rain ...
- Wednesday 13 June 2018 10:10
- Forum: Temperature and Weather
- Topic: Virtual sensor for rain
- Replies: 20
- Views: 7151
Re: Virtual sensor for rain
Thanks waaren, I'm pretty new to this dzVents coding stuff.
It works now btw.
It works now btw.
- Tuesday 12 June 2018 17:14
- Forum: Temperature and Weather
- Topic: Virtual sensor for rain
- Replies: 20
- Views: 7151
Re: Virtual sensor for rain
Gizmocus, The first example works perfectly, but the second, with DzVents not. If I execute the json query, in my example my ip is 192.168.178.98 and the id of the 'DumRain' device is 162: http://192.168.178.98:8080/json.htm?type=command¶m=udevice&idx=162&nvalue=0&svalue=580;2024 I get the ...
- Tuesday 05 June 2018 21:39
- Forum: Temperature and Weather
- Topic: Virtual sensor for rain
- Replies: 20
- Views: 7151
Re: Virtual sensor for rain
@gizmocuz wow what a detailed and quick response! I really appreciate this!
I will try both methods to see what is best fit and will let you know of the outcome.
Once again, your time is much appreciated.
I will try both methods to see what is best fit and will let you know of the outcome.
Once again, your time is much appreciated.
- Monday 04 June 2018 22:41
- Forum: Temperature and Weather
- Topic: Virtual sensor for rain
- Replies: 20
- Views: 7151
Re: Virtual sensor for rain
I'm looking for exactly the same.
If my rainsensor has a certain amount of rain (better to say a lack of it) for the past 24 hours, then turn on a Z-wave switch, which controls the valve for my sprinkler.
Lots of thanks in advance!
If my rainsensor has a certain amount of rain (better to say a lack of it) for the past 24 hours, then turn on a Z-wave switch, which controls the valve for my sprinkler.
Lots of thanks in advance!