Get Energy info FORM EmonCMS

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
leonardo
Posts: 14
Joined: Sunday 21 July 2013 22:04
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Italy
Contact:

Get Energy info FORM EmonCMS

Post 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 :)
User avatar
FireWizard
Posts: 1905
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Get Energy info FORM EmonCMS

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest