pimoroni / enviro

MIT License
101 stars 79 forks source link

Enviro weather MQTT with Mosuito on Hassio #227

Open davidbenucci opened 1 month ago

davidbenucci commented 1 month ago

I configured mosquito on Hassio and set up enviro weather to send readings to it (one readfing every 15 mins and upload after 10 readings). But I noticed on the graph are reported only the value from the last reading of each group of json files. Do I have to configure somenthing more on mosquito? Thanks in advance? I attached the graph. It is strange that the value changes only after every upload. I download the json files from the enviro board and I saw that the values are different for each reading. image

CBDesignS commented 1 month ago

I could be wrong here but it used to be that the data uploaded even tho it may have 10 sets of readings stored in it only has one timestamp (unless this has been fixed) so there is no way to split them up to get the individual readings out and the only reading that makes sense to ha is the last one with a timestamp. I could be wrong on this but from memory that is how it used to work,. Maybe somone else with more knowledge of the code can let you know if I am wrong.