Browse Source

add power value to get from restapi

pull/1647/head
DanielR92 8 months ago
committed by GitHub
parent
commit
b159a773f4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/plugins/zeroExport/powermeter.h

2
src/plugins/zeroExport/powermeter.h

@ -119,6 +119,7 @@ class powermeter {
if (result) {
bufferWrite(power, group);
mCfg->groups[group].power = power;
// MQTT - Powermeter
if (mMqtt->isConnected()) {
@ -236,6 +237,7 @@ class powermeter {
// }
bufferWrite(power, group);
mCfg->groups[group].power = power; // TODO: join two sites together (PM & MQTT)
// MQTT - Powermeter
if (mCfg->debug) {

Loading…
Cancel
Save