Hi,
In the “rest” integration for sensors, you can (I have defined) a parameter that defines the time between each check (scan_interval). What I don’t know, and I haven’t found in the documentation, is if I don’t define the parameter, what is the default value?
I use this sensor to extract the values of my “Airzone” system, and I would not want to remove the parameter and flood the endpoint with requests.
Where could I see or how could I know the default refresh rate?
And effectively, I configured 2 restful sensors with scan_interval: 120, and it looks like they poll the device every 2 minutes as per documentation above.
I guess that line in the code is a default value, and when you change the value in the configuration of the sensor, it uses it. Check the log I added to the post, I have 2 rest sensors configured like this, and they poll every 2m as you can see. I used scan_interval: 120:
Hi,
Is it possible to change this value dynamically? The API I’m calling has a daily limit and I’d prefer not to query at all at night and more often during the day.
I have the Meater integration installed and working correctly with my Meater probe.
But I need and update interval of 5 seconds, what I have to do? Install some other integration? Or what else?
Sorry, I’ve read your posts and I think you know the way. I also read the HA documentation but unfortunately I cannot understand what I need to do to reach my goal.
Thank you for your reply and suggestion. So I imagine you mean I have to write an integration using the Meater API to getting data directly from the probe on the local network, right?