ClareGarrard / weather-station

Home weather station with Raspberry Pi Pico & Kitronik Air Quality Board
MIT License
0 stars 1 forks source link

Add additional fields for sensor identity and location #5

Open Rollcloud opened 1 month ago

Rollcloud commented 1 month ago

Background

With more than one sensor sending data to the server, a method of separating the data belonging to specific sensors will be required. Meta-data specific to different sensors should also be recorded.

Request

ClareGarrard commented 1 month ago

Use UID for Pico devices:

https://forums.raspberrypi.com/viewtopic.php?t=309508

ClareGarrard commented 1 month ago

Could you add more detail about what you'd like for the voltage field? What is your use case?

Rollcloud commented 1 month ago

Sure, I would like to measure battery voltage as a function of time, so that I can monitor and reduce the power-consumption of battery operated sensors. This would be for debugging purposes, instead of environment monitoring.

For the voltage field, I think that a floating-point value (in Volts) would be a good initial place to start? This would allow the minimum required voltage to be measured before the Pico depletes battery and cuts out. This might not allow for direct comparison between different sensor hardware configurations, such as a percentage measurement might provide, but the min and max voltage levels will need to be measured before a percentage figure can be accurately calculated.