Skip to content

Commit

Permalink
mathieucarbou/MycilaTrafficLight @ 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Nov 13, 2024
1 parent 596c6a5 commit 9322fbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ lib_deps =
mathieucarbou/MycilaSystem @ 4.0.0
mathieucarbou/MycilaTaskManager @ 3.1.2
mathieucarbou/MycilaTaskMonitor @ 3.0.1
mathieucarbou/MycilaTrafficLight @ 1.1.1
mathieucarbou/MycilaTrafficLight @ 2.0.0
mathieucarbou/MycilaUtilities @ 2.0.0
lib_ignore =
; AsyncTCP
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/MQTT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Mycila::Task mqttPublishTask("MQTT", [](void* params) {
mqtt.publish(baseTopic + "/router/apparent_power", String(routerMeasurements.apparentPower, 3));
mqtt.publish(baseTopic + "/router/current", String(routerMeasurements.current, 3));
mqtt.publish(baseTopic + "/router/energy", String(routerMeasurements.energy, 3));
mqtt.publish(baseTopic + "/router/lights", lights.toString());
mqtt.publish(baseTopic + "/router/lights", lights.toString().c_str());
mqtt.publish(baseTopic + "/router/power_factor", String(routerMeasurements.powerFactor, 3));
mqtt.publish(baseTopic + "/router/power", String(routerMeasurements.power, 3));
mqtt.publish(baseTopic + "/router/relay1", YASOLR_STATE(relay1.isOn()));
Expand Down

0 comments on commit 9322fbb

Please sign in to comment.