Skip to content

DAH_esp32_todo

Alex Hanson edited this page Dec 10, 2018 · 3 revisions
  1. 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 utime first
      • Hint: this might help
  2. Update the Sensor.send_status payload string to the above.
  3. 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?

Clone this wiki locally