nlrb / com.weather-sensors

Wireless weather sensor app voor Athom Homey
https://apps.athom.com/app/com.weather-sensors
MIT License
14 stars 24 forks source link

WS-1200 Reset Rain counter daily? #61

Open Tequila329 opened 5 years ago

Tequila329 commented 5 years ago

Hi,

is it possible to reset the counter daily at 0:00 oclock? My WS1200 summ up all rain day by day, but i need the daily amount.

Thanks :)

nlrb commented 5 years ago

Currently the app only reports data as the sensor reports it. It does not store/reset data itself. You could do this via a flow.

Tequila329 commented 5 years ago

Thanks for the information! Could you explain, how I can reset the sensor via flow? Because I can not choose it at the „than“ card.

nlrb commented 5 years ago

Well, you cannot reset the count via a flow. The sensor only supports one-way communication :-). But you can calculate the amount per day. Store the value each day at midnight and calculate the difference between day n-1 and day n. People on the forum can probably help you better with this.

Melectro1 commented 12 months ago

Thanks for the information! Could you explain, how I can reset the sensor via flow? Because I can not choose it at the „than“ card.

This restriction still seems to apply.

I am trying to make a flow where I need to read a sensor (temperature) with "and" function. Unfortunately, reading the sensor only exists in the "when". Is it possible that the reading of the sensor can be done in "and", can I make the change myself somehow?