|
@ -166,8 +166,8 @@ void sendValues() { |
|
|
char uva[10]; sprintf(uva, "%.2f", uv.readUVA()); |
|
|
char uva[10]; sprintf(uva, "%.2f", uv.readUVA()); |
|
|
char uvb[10]; sprintf(uvb, "%.2f", uv.readUVB()); |
|
|
char uvb[10]; sprintf(uvb, "%.2f", uv.readUVB()); |
|
|
mqtt.publish(topic_uvi.c_str(), uvi, strlen(uvi)); |
|
|
mqtt.publish(topic_uvi.c_str(), uvi, strlen(uvi)); |
|
|
mqtt.publish(topic_uvi.c_str(), uvi, strlen(uva)); |
|
|
mqtt.publish(topic_uvi.c_str(), uva, strlen(uva)); |
|
|
mqtt.publish(topic_uvi.c_str(), uvi, strlen(uvb)); |
|
|
mqtt.publish(topic_uvi.c_str(), uvb, strlen(uvb)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (sds_active) { |
|
|
if (sds_active) { |
|
|