Get "is raining" info from API?

Is it possible to get the value via the API? I need to trigger some things if its raining or not.

There is no “is raining” method. However, the UDP messages broadcast from your hub reports “type”:“evt_precip” which fires when the sensor first detects rain. Once you get one of those, you can look at “type”:“obs_st” “obs”:[12] to see how much rain has fallen in the past minute. If > 0, it’s still raining.

The websocket can do the same if you prefer that route.

1 Like