Vaillant eBUS hardware adapter (ebusd software) Thread

did you resolve this as, i am having the same issues

here is my config in Ebus addon

scanconfig: true
loglevel_all: notice
mqtttopic: ebusd
mqttint: /etc/ebusd/mqtt-hassio.cfg
mqttjson: true
network_device: enh:192.168.8.56:9999
accesslevel: “*”
http: true
configpath: /config/ebusd/en
latency: 10
pollinterval: 5

edit
just changed
mqttint: /etc/ebusd/mqtt-hassio.cfg to mqttint: /config/ebusd/mqtt-hassio.cfg

after a pwd in terminal
/root/config/ebusd
ill see if that populate tonight
yep school boi error

Hi all
I understand this

emoncms_history:
  api_key: hiddenapikey
  url: http://http://homeassistant.local:9541
  inputnode: 10
  whitelist:
  - sensor.wp_temps_temperature_6
  - sensor.wp_temps_temperature_1

Then pushing some of these sensors to a local emoncms instance:

but how do you add these in the Emoncms app

Here is were i am at prescent
Installed on a pi4 Emoncms
conf below

#######################################################################
#######################      emonhub.conf     #########################
#######################################################################
### emonHub configuration file, for info see documentation:
### https://github.com/openenergymonitor/emonhub/blob/emon-pi/configuration.md
#######################################################################
#######################    emonHub  settings    #######################
#######################################################################

[hub]
    ### loglevel must be one of DEBUG, INFO, WARNING, ERROR, and CRITICAL
    loglevel = DEBUG
    autoconf = 1
### Uncomment this to also send to syslog
# use_syslog = yes
#######################################################################
#######################       Interfacers       #######################
#######################################################################

[interfacers]
    ### This interfacer manages the RFM12Pi/RFM69Pi/emonPi module
    [[EmonPi2]]
        Type = EmonHubOEMInterfacer
        [[[init_settings]]]
            com_port = /dev/ttyAMA0
            com_baud = 115200
        [[[runtimesettings]]]
            pubchannels = ToEmonCMS,
            subchannels = ToRFM12,
    
    [[USB0]]
        Type = EmonHubOEMInterfacer
        [[[init_settings]]]
            com_port = /dev/ttyUSB0
            com_baud = 115200
        [[[runtimesettings]]]
            pubchannels = ToEmonCMS,
            subchannels = ToRFM12,
            nodename = emonTx4
    
    [[SPI]]
        Type = EmonHubRFM69LPLInterfacer
        [[[init_settings]]]
            nodeid = 5
            networkID = 210
            resetPin = 24
            selPin = 16
        [[[runtimesettings]]]
            pubchannels = ToEmonCMS,
    
    
    [[MQTT]]
        Type = EmonHubMqttInterfacer
        [[[init_settings]]]
            mqtt_host = 192.168.8.10
            mqtt_port = 1883
            mqtt_user = emonpi
            mqtt_passwd = emonpimqtt2016
        
        [[[runtimesettings]]]
            pubchannels = ToRFM12,
            subchannels = ToEmonCMS,
            
            # emonhub/rx/10/values format
            # Use with emoncms Nodes module
            node_format_enable = 0
            node_format_basetopic = emonhub/
            
            # emon/emontx/power1 format - use with Emoncms MQTT input
            # http://github.com/emoncms/emoncms/blob/master/docs/RaspberryPi/MQTT.md
            nodevar_format_enable = 1
            nodevar_format_basetopic = emon/
            
            # Single JSON payload published  - use with Emoncms MQTT
            node_JSON_enable = 0
            node_JSON_basetopic = emon/
    
    [[emoncmsorg]]
        Type = EmonHubEmoncmsHTTPInterfacer
        [[[init_settings]]]
        [[[runtimesettings]]]
            pubchannels = ToRFM12,
            subchannels = ToEmonCMS,
            url = https://emoncms.org
            apikey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            senddata = 1    # Enable sending data to Emoncms.org
            sendnames = 1    # Send full input names (compression will be automatically enabled)
            interval = 30    # Bulk send interval to Emoncms.org in seconds

    [[DS18B20]]
        Type = EmonHubDS18B20Interfacer
        [[[init_settings]]]
        [[[runtimesettings]]]
            pubchannels = ToEmonCMS,
            read_interval = 10
            nodename = sensors
            # ids = 28-000008e2db06, 28-000009770529, 28-0000096a49b4
            # names = ambient, cyl_bot, cyl_top

#######################################################################
#######################          Nodes          #######################
#######################################################################

## See config user guide: https://github.com/openenergymonitor/emonhub
## If autoconf is enabled above, node configuration will automatically
## populate based on templates listed in available.conf

[nodes]

here is mqtt running off pi4 with a web browser pointing at the web interface
How do i populate the feeds or input, as the docs state an auto automatically populate
and yes i’m at the point of binning this project and just use HomeAssistant.
it would be nice to get this working and my installer to show his customers.

The latest update from jonesPD has fixed most of my problems. I was literally getting no data anymore after a very promising start. Phew

I’ve a simple setup, with a 5kW Arotherm Plus, with the indoor controller and the sensoComfort

1 Like

yes, it also solved all mine as well.

My only problem is the frequency of entity updates which is not fast enough for my taste, it is not precise enough, even with desired entities set on r1 in the CSVs

Are you manually polling cia MQTT as well? That was the only way that worked for me, regularly posting to e.g. ebusd/hmu/FlowTemp/get to force an update. This way I get 10s update intervals and always fresh data (somewhere it was said that you would get stale data this way, but I’m getting definitely fresh data on each poll)

I’m doing nothing, I let the ebusd integration do his job :confused:

What I discover is that when I edit mqtt-hassio.cfg and set Filter-seen on 1, it works fine BUT entities desapears if I have to reboot HA :cry:

# include only messages having data sent at least once (only checked for passive or read messages, not for active write)
# when set to 1. If set to >1, then all messages passing the other filter criteria (including active read messages) will
# automatically be set to have a poll priority of at most this value, so these are automatically being polled.
# HA integration: filtering only seen messages to avoid unnecessary “pollution” and auto-poll all matched messages
filter-seen = 1

You could just use Node-RED to regularly poll for the required values. Or even in home assistant you could set up an automation to post the /get to the appropriate MQTT topics.

1 Like

I’ll try with a script and automation

looks like it’s ok now ! Thanks a million again !

1 Like

That’s how it should be. Glad I could help!

1 Like

has anyone had these issue’s
How do you set up Emoncms if home assistant is doing the MQTT, Emoncms and Ebusd

I know this is an old problem that other people have reported and come up with solution for, but I have struggled to understand from all the many posts what the definitive reason/solution is. I have the problem where the ebus adapter and some issue with maybe too much polling(?) is causing the heatpump and controller to get confused and start misbehaving.

In my case I think I can see the secondary reason for it in that the inside and outside temperature feeds get disrupted, so the heatpump responds (see gaps in feeds in plot below measure independently from the ebusd feed, using the myVaillant connect HA add-on). I am using Andre’s mqtt config and the latest Jones csv files. I also poll for about 8 values using mqtt via an automation. I had this set to poll once per minute, but tried every 10 seconds for a short time. Anecdotally, the increased polling period did seem to make it worse, but I am not certain that this is actually the cause and I have seen people posting that polling every 10 seconds is no problem and that there is maybe some other underlying cause of the problem.

I have unplugged the adapter at the moment and plan to strip back the CSVs and remove polling and re-introduce slowly. However, if anyone has a link to the definitive cause of the problem, that would be great :slight_smile:

Which values are you manually polling for? I think the issue for these disruptions was polling of specific values in Home Assistant due to a faulty config, but this got fixed. The issue was potentially also within a config of the ebus install and not even in the csv. Can you do a clean-slate install of ebusd, removing the old configs beforehand (make a backup) and tehn reinstall ebusd, pull the latest jonesPD and start from there?

2 Likes

So you have a server running Home Assistant and have ebusd, Emoncms and MQTT as addons?

Thanks for the advice, I will try what you suggest. I am polling for the following:
topic: ebusd/hmu/WaterThroughput/get
topic: ebusd/hmu/ReturnTemp/get
topic: ebusd/hmu/FlowTemp/get
topic: ebusd/vwzio/ThreeWayValve/get
topic: ebusd/hmu/BuildingCircuitWaterPressure/get
topic: ebusd/basv/HwcStorageTemp/get
topic: ebusd/hmu/RunDataStatuscode/get
topic: ebusd/hmu/CompressorSpeed/get

I’m polling all those as well (except CompressorSpeed I think), so that should not be the issue.

1 Like

it’s running on proxmox with the official HA install
ebud, and mqtt are working, Emoncms starts,
population of the feeds is my issue.
when i click 'open web ui ’ a link http://homeassistant.local:9541/feed/list

The documentation says you should use an url of the form http://x.x.x.x/emoncms - for self-hosted systems - so did you try with the IP address and /emoncms at the end, e.g. http://192.168.1.123:9541/emoncms

Right now you have /input/view.

I used the integration a while bck and it worked, but I never had to specify a custom port. That could also be an issue.

I tried that one and many others, such as:

However, none of them populated emoncms. I have also installed it on a Pi4 with the emoncms image, but it did not populate.

What tab does the populate
Input Tab
Feed Tab