From 1d50e3cc2f879f6a5279fa269b62c04c8f49b3d8 Mon Sep 17 00:00:00 2001 From: BuildTheRobots Date: Sat, 8 Dec 2018 15:44:07 +0000 Subject: [PATCH] Add RSSI to InfluxDB heartbeat (#1400) --- code/espurna/utils.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/espurna/utils.ino b/code/espurna/utils.ino index cec21efc..5d085534 100644 --- a/code/espurna/utils.ino +++ b/code/espurna/utils.ino @@ -236,6 +236,9 @@ void heartbeat() { #if (HEARTBEAT_REPORT_FREEHEAP) idbSend(MQTT_TOPIC_FREEHEAP, String(free_heap).c_str()); #endif + #if (HEARTBEAT_REPORT_RSSI) + idbSend(MQTT_TOPIC_RSSI, String(WiFi.RSSI()).c_str()); + #endif #endif }