Rainmachine gets old data from Netatmo service
I have own weather station Netatmo with rain sensor and I have configured RainMachine to get measurement from my netatmo account. It looks, that everything works properly. But today there has been whole day (between 11:00AM and 05:00PM) rain and I can see on rainmachine, that observed rain amount is still 0.
When I checked debug log I can see:
2022-05-17 16:35:06,156 - DEBUG - netatmo-parser:311 - https://api.netatmo.com/api/getmeasure?scale=1day&date_begin=1652652000&real_time=True&access_token=xxx&module_id=xxx&date_end=1652738399&type=sum_rain&device_id=xxx
it means that time frame what you asked netatmo via API is
begin 1652652000
end 1652738399
according Netatmo API documentation, Netatmo expects these values in UTC. I live in time zone UTC+2 it means, that time frame you asked is (local time)
begin 1652659200 - it is 2022-05-16 02:00:00AM
end 1652745599 - it is 2022-05-17 01:59:00AM
Why there is a gap between actual local time and time what you ask measured data from netatmo servis ? My rainmachine program will start at 08:00PM and will fully water although there is more than 29mm rain amount.
Is it possible to change Rainmachine to take actual data from netatmo ? Currently it takes date more then 14 hours old?
Thank you.
Please sign in to leave a comment.
Comments
0 comments