Open Energy Monitor

I’m surprised to see there’s no integration for Open Energy Monitor:
https://openenergymonitor.org/

Has no one looked at this or can it be done through a generic sensor component like MQTT?

1 Like

I thought there would have been some work done on it.
I found this component which I’m assuming allows for emonPi or emonTX to generate graphs

But this has to interact with the cloud service which doesn’t seem ideal.

Yes I found this one too, just temp sensor though, not gas and electric info.

Maybe you can talk with the component developer.

Since there is already a component, It shouldn’t be too dificult to add another device.

Yes, that sends data from Home Assistant to EmonCMS. Check out Emoncms - Home Assistant to pull data from EmonCMS into Home Assistant.

Cloud is optional. To use a local instance, just add the appropriate URL in the component config.

Done some more digging. EmonCMS can be run locally, so no cloud access need, can all be run internally!
Brilliant.

Aha @NotoriousBDG’s reply came in just before I figured it all out.

Great job guys thanks!

1 Like

every get this working,
specifying everything as per the component page, but not finding any new sensors showing up as expected.
G

Just to be clear, Emon_History is to send data FROM HomeAssisant INTO EmonCMS.
If you are looking to pull sensor data FROM EmonCMS you use this sensor:

I am interacting with emoncms sensor. and not history…
and ye i followed instructions as per that link.

G

Are you getting any errors in your homeassistant.log file?

Pull data from emoncms

  • platform: emoncms
    api_key: “57723ba16b3c51f099bf62881892”
    url: http://192.168.0.101
    id: 9
    sensor_names:
    9: “Total Grid Feed”
    11: “Oven”

both 9 and 11 are feed id’s from my local emoncms
other than this entry in configuration.yaml, am I missing anything?

have this error:
Log Details (ERROR)
Wed Jun 12 2019 19:20:06 GMT+0200 (SAST)

Please verify if the specified config value ‘url’ is correct! (HTTP Status_code = 404)

although I know my above url for emoncms is correct.

G

So when you hit the link http://192.168.0.101 it takes you to your local emoncms?
There’s no directory ie: /emoncms appended to the end?

ok, double check, I enter that IP, but the login page is 192.168.0.101/emoncms/
figured as it is using the read API key it won’t use the login page.

Lets try, nothing to loose.

G

hehehe well thats interesting, it worked, by adding /emoncms/ to the url…
although I only expected 2 feeds, 9 and 11, I seem to have gotten them all as:
sensor.emoncms9_* with * being one for one every feed defined

G

This is what worked for me:

  • platform: emoncms
    api_key: xxxxapiwritestingherexxxxx
    url: http://192.168.1.xxx/emoncms/
    id: 101
    unit_of_measurement: “W”
    include_only_feed_id:
    • 3
    • 33
    • 34
      sensor_names:
      3: “solar”
      33: “Home 2K power 1”
      34: “Home 2K power 2”

No quotes around the API string is what did it for me!
Hope this can be helpful to someone.
Thanks