Closed scottgrey closed 8 years ago
scott, could you re-do the pull request against the latest master, but only if your changes are actually necessary?
i incorporated some of your changes. the most notable exception is the handling of rain. i think the firmware in my netatmo does not report the sum_rain_24 and sum_rain_1 fields.
could you test rain in particular.
also test the battery voltages. my firmware uses battery_vp, not battery_percent. i updated the fields so both should work, but it needs to be tested.
thank you for the pr!
I manually pulled in all of your changes to my repo and will let this run on mine for a bit to see how it goes. One thing I did notice, and it could be that you are using the sniff version, but I never saw the conversion methods actually being run. I noticed you had updated the rain conversion method.
I've always been doing the cloud version of the driver. With that in mind, I also went ahead and left in my rain calculation(augment packet), as I found that it allowed the daily rain total to drive changes in rain as opposed to what Netatmo was reporting (in case they do or do not report rain accurately since the last loop record as it's just pinging their services).
Anyhow, I found it fun to fiddle around with what it was doing, and just figured I'd share with you the updates I made since you put in all the hard work of getting this up and running.
Scott
I had to make some updates to the driver to give me more accurate results in weewx as well as when it was uploading to pwsweather and wunderground. A few problems I had to fix:
Take a look and let me know what you think or if you think I need to change anything with this.