Skip to content

Commit

Permalink
missing energymeter publishing for emoncms
Browse files Browse the repository at this point in the history
  • Loading branch information
KipK committed Mar 28, 2023
1 parent 3a08b60 commit 6314abf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/energy_meter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "debug.h"
#include "app_config.h"
#include "event.h"
#include "emoncms.h"


EnergyMeterData::EnergyMeterData()
Expand Down Expand Up @@ -325,6 +326,7 @@ bool EnergyMeter::publish()
DynamicJsonDocument doc(capacity);
createEnergyMeterJsonDoc(doc);
event_send(doc);
emoncms_publish(doc);
return true;
};

Expand Down

0 comments on commit 6314abf

Please sign in to comment.