Browse Source

Add RSSI to InfluxDB heartbeat (#1400)

alexa
BuildTheRobots 5 years ago
committed by Max Prokhorov
parent
commit
1d50e3cc2f
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      code/espurna/utils.ino

+ 3
- 0
code/espurna/utils.ino View File

@ -236,6 +236,9 @@ void heartbeat() {
#if (HEARTBEAT_REPORT_FREEHEAP) #if (HEARTBEAT_REPORT_FREEHEAP)
idbSend(MQTT_TOPIC_FREEHEAP, String(free_heap).c_str()); idbSend(MQTT_TOPIC_FREEHEAP, String(free_heap).c_str());
#endif #endif
#if (HEARTBEAT_REPORT_RSSI)
idbSend(MQTT_TOPIC_RSSI, String(WiFi.RSSI()).c_str());
#endif
#endif #endif
} }


Loading…
Cancel
Save