Struggling to sync to emoncms.org from emonpi after adding HA Inputs

Not incredibly ‘techie’, so please bear with me.

I have an emonpi SD Version 11.4.5 connected to a heat-meter via an MBUS interface which syncs fine to emoncms.org and also I get the data displayed on Home Assistant using Emoncms integration.

What I’m trying to do is get the correct data into the ‘My Boiler’ App on emoncms.org.

With the aid of YouTube, I’ve added 9 sensors from Home Assistant as Inputs (Node 19) into the local emoncms and everything updates there as it should, (MBUS every 10s and Node 19 sensors 30 s).

The issue is that the sync updates the MBUS information to emoncms.org every 30s perfectly, but the Node 19 sensor data doesn’t:

This is my Home Assistant configuration.yaml, does this look right or should I have whitelisted all the heat meter sensors I need instead of two sets of upload information:

# local based Emoncms
sensor:
  - platform: emoncms
    api_key: my key
    url: http://10.10.10.246/emoncms
    scan_interval: 10
    id: 1
    
# Emoncms additional sensors for My Boiler
emoncms_history:
  api_key: my key
  url: http://10.10.10.246/emoncms
  inputnode: 19
  whitelist:
    - sensor.meteobridge_air_temperature
    - sensor.mains_water_pressure_temperature
    - sensor.boiler_consumption_power
    - sensor.boiler_consumption_energy
    - sensor.8266_test_module_boiler_consumption_total
    - sensor.hall_thermostat_current_temperature
    - sensor.hall_thermostat_target_temperature
    - binary_sensor.hall_thermostat_state
    - binary_sensor.hotwater_state

Any help gratefully received.

You could just send it at the same time to your emoncms.org account in the same manner.

Alternatively, look at the revised Sync Module (pinned post).

Hi borpin

I tried the change from what I had to the suggested in configuration.yaml:

# local based Emoncms
sensor:
  - platform: emoncms
    api_key: my key
    url: http://10.10.10.246/emoncms
    scan_interval: 10
    id: 1
    
# Emoncms additional sensors for My Boiler
emoncms_history:
  api_key: my key
  url: http://10.10.10.246/emoncms

but it generated an error for the missing elements:

Have I understood your suggestion correctly

Regarding the Sync Module, is it a simple matter of pressing ‘full update’ to download and install the latest module.

Sorry for the dumb question, but I don’t want to break anything.

Yes that is correct and removing any crontab entry that you may have added previously?

This sounds like you have setup a crontab entry to automatically update?

You should add the include_only_feed_id in your home assistant yaml conf, for the emoncms integration, to choose only the feeds you want to be sync with home-assistant. It is a bit like the whitelist parameter in emoncms_history. It will not solve your problem but both conf will be similar…

whitelist and inputnode are mandatory so emoncms_history cannot work without

Dont know if I’ve understood your pb, but I think you cannot send to more than one node through emoncms_history so you should add the other home assistant entities to your whitelist

The feeds from the heat meter were set to ‘Logs to feed’ and it was only these 5 which I could see in Home Assistant, I’ll look into include_only_feed_id when the sync problem has been sorted.

I spoke to the guys at Open Energy and they are going to remote in and have look for me, I’ll post back once I know more.

Thanks all for helping and Glyn for remoting in, I’m embarrassed to admit that it was user error in that I didn’t check the boxes on the sync module.

Not sure how I missed it but I make no excuses, apologies to all.

1 Like