-
Notifications
You must be signed in to change notification settings - Fork 1
DAH_esp32_todo
Alex Hanson edited this page Dec 10, 2018
·
3 revisions
- Think about how to apply influxDB's data structuring:
house_power,device=mech_room,mac=some_mac_address sensor_a=True, sensor_b=False timestamp.- How should we use tags?
- How do we get timestamp formatted as [unix-nano-timestamp]?
- Hint: use utime functions to accomplish this.
- Hint: test using micropython's REPL on MobaXterm, will need to do
import utimefirst - Hint: this might help
- Update the Sensor.send_status payload string to the above.
- Should we change the MQTT topics set in main.py? Now the measurement name is in the payload, so do we need it in the topic too?