You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change set simplifies the flow of data so that we deal with two main abstractions:
devices which may hold arbitrary sensor reading data: temp, humidity, or PH
areas to which devices are attached
Sensor readings flow onto devices, and the devices being linked to individual areas drives the display in the LED status helper, and in the web app.
The introduction of the DHT11 sensor in #89 was done in a sloppy manner, introducing a dichotomy between "tanks" and "areas". "Tanks" are no longer tracked, they're just called "areas".
"Sensors" in Redis are renamed to "devices". This ends the distinction between a PH sensor, a temp sensor, or a DHT11 sensor. Every sensor reading simply attaches to a single Redis device record, so matter how many individual sensors are wired up to that device.
Components altered
sensor_tracker
redis_aggregator
pond
led_status_helper
frontend
ph_ref_calibration (be careful with the redis values!)
Testing strat
Use a testing namespace!
Pi: use images tagged as :fix_data on the build server 🔬
Branch info
We are working in the fix/data branch
The text was updated successfully, but these errors were encountered:
Simplify data model
Description
This change set simplifies the flow of data so that we deal with two main abstractions:
devices
which may hold arbitrary sensor reading data: temp, humidity, or PHareas
to which devices are attachedSensor readings flow onto devices, and the devices being linked to individual areas drives the display in the LED status helper, and in the web app.
The introduction of the DHT11 sensor in #89 was done in a sloppy manner, introducing a dichotomy between "tanks" and "areas". "Tanks" are no longer tracked, they're just called "areas".
"Sensors" in Redis are renamed to "devices". This ends the distinction between a PH sensor, a temp sensor, or a DHT11 sensor. Every sensor reading simply attaches to a single Redis device record, so matter how many individual sensors are wired up to that device.
Components altered
Testing strat
:fix_data
on the build server 🔬Branch info
We are working in the
fix/data
branchThe text was updated successfully, but these errors were encountered: