Page 1 of 1

Get Energy info FORM EmonCMS

Posted: Tuesday 25 October 2022 12:30
by leonardo
Hello
a friend gave to me an old EmonPI (it's a case with a shield with come stuff, like connector for energy meter, display, trasnceiver 433MHz, and whatever can be found on openergymonitor.org). I put a RPI and installed the EmonPI image of EmonSD that provide a very complete CMS).
I'm using it a very little, just for reading Volts and Watt usage in real time.
I can get info with the simple command mosquitto_sub:

mosquitto_sub -C 1 -h EMONIP -u USER -P PASS -t emon/emonpi/power1
and
mosquitto_sub -C 1 -h EMONIP -u USER -P PASS -t emon/emonpi/vrms

and I update a dummy sensor on domoticz with a curl/json

it works in crontab... I imagine there's a better way to do this... does anyone have any suggestion?

thanks :)

Re: Get Energy info FORM EmonCMS

Posted: Tuesday 25 October 2022 12:37
by FireWizard
HI,

You might want to do it with Node-RED.
See: https://nodered.org/

You can send your data to Domoticz with MQTT.

Regards