feature/InfluxDB-Connection-Update #1
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ float _webUpdater_sensValues[VALUES];
|
||||||
String hb_ws_msg_start = "{";
|
String hb_ws_msg_start = "{";
|
||||||
String hb_ws_msg_temp = "\"temperature\": ";
|
String hb_ws_msg_temp = "\"temperature\": ";
|
||||||
String hb_ws_msg_humi = "\"humidity\": ";
|
String hb_ws_msg_humi = "\"humidity\": ";
|
||||||
String hb_ws_msg_light = "\"light\": ";
|
String hb_ws_msg_light = "\"lightlevel\": ";
|
||||||
String hb_ws_msg_windspeed = "\"windspeed\": ";
|
String hb_ws_msg_windspeed = "\"windspeed\": ";
|
||||||
String hb_ws_msg_end = "}";
|
String hb_ws_msg_end = "}";
|
||||||
|
|
||||||
|
@ -87,9 +87,9 @@ void hb_webstat_send(void)
|
||||||
hb_ws_msg_temp +
|
hb_ws_msg_temp +
|
||||||
String(_webUpdater_sensValues[SENSOR_TEMPERATURE], 2) + ", " +
|
String(_webUpdater_sensValues[SENSOR_TEMPERATURE], 2) + ", " +
|
||||||
hb_ws_msg_humi +
|
hb_ws_msg_humi +
|
||||||
String(_webUpdater_sensValues[SENSOR_HUMIDITY], 2) + ", " +
|
String(int(_webUpdater_sensValues[SENSOR_HUMIDITY]), 2) + ", " +
|
||||||
hb_ws_msg_light +
|
hb_ws_msg_light +
|
||||||
String(_webUpdater_sensValues[SENSOR_LIGHT], 2) + ", " +
|
String(int(_webUpdater_sensValues[SENSOR_LIGHT]), 2) + ", " +
|
||||||
hb_ws_msg_windspeed +
|
hb_ws_msg_windspeed +
|
||||||
String(_webUpdater_sensValues[SENSOR_WINDSPEED], 2) +
|
String(_webUpdater_sensValues[SENSOR_WINDSPEED], 2) +
|
||||||
hb_ws_msg_end);
|
hb_ws_msg_end);
|
||||||
|
|
Loading…
Reference in a new issue