See I know there are guides, but none are step by step for the setup I’m using. I’m not a computer programmer, I’m a gas/f-gas engineer, so its like a foreign language.
I can format and SD card with a clone of RPi OS or Homeassistant, I thing I could get ebus d dowloaded but I’d need a walk through of exactly what to do and what to set
Yes it’s all a bit tricky. I think having a script you can run that gets you 99% of the way would be best. This we we could also help all newcomers better sice we know all prerequisite steps are done the same way. I’ll look into putting something together.
Yes, to change the WC curve on my hydrid system when the Gaz boiler kicks in when TRIVAI decide Gaz is costing less, I have to do this becaus emy gaz boiler is an ecotec Pro and can’t modulate so low, 0.5 is a good compromise, only starts when under -5° or so , it helps to reduce the cycling of that boiler.
Heatpump : set to 0.25
Gaz Boiler : set to 0.5
Also have set automation to switch the Thermostat State from Inactive to Active when we have lot of sun, based on solar production , we have huge windows full south and inside temperature raise fast. and even to expanded when average inside temp is +2° desired temp.
Back to Active when dropping to +1° and/or inactive when solar is not producing , with timeout
Ok folks, getting somewhere, the adaptor is finally detecting eBUS. How do I get it to list what sensors it can see and querey them? I’ll be looking to monitor as much of the refrigerant temperature sensors, compressor speed etc that I can. Ideally indoor and outdoor temps as well.
I’ve pasted below what i can see so far.
john@HA1:~ $ ebusctl scan
done
john@HA1:~ $ ebusctl monitor
ERR: command not found
john@HA1:~ $ ebusctl scan result
08;Vaillant;HMU00;0902;5103
15;Vaillant;72000;0122;7703
76;Vaillant;VWZIO;0202;0103
f6;Vaillant;NETX3;0124;0404
john@HA1:~ $ ebusctl info
version: ebusd 24.1.24.1
update check: OK
device: /dev/ttyAMA0, serial high speed, enhanced
signal: acquired
symbol rate: 123
max symbol rate: 250
min arbitration micros: 1
max arbitration micros: 13
min symbol latency: 4
max symbol latency: 6
scan: finished
reconnects: 0
masters: 5
messages: 4
conditional: 0
poll: 0
update: 0
address 03: master #11
address 08: slave #11, scanned “MF=Vaillant;ID=HMU00;SW=0902;HW=5103”
address 10: master #2
address 15: slave #2, scanned “MF=Vaillant;ID=72000;SW=0122;HW=7703”
address 31: master #8, ebusd
address 36: slave #8, ebusd, scanning
address 71: master #9
address 76: slave #9, scanned “MF=Vaillant;ID=VWZIO;SW=0202;HW=0103”
address f1: master #10
address f6: slave #10, scanned “MF=Vaillant;ID=NETX3;SW=0124;HW=0404”
Shows all known values within the config files you are using (note: this is important to remember) as the default config files don’t always shows all the items we are interested in.
This is why many of us run the Jones config files, you will need to download them to a directory on your ebus machine.
Modify the main ebusd config file (/etc/default/ebusd) to point to jones files and enable home assistant (if required) and directing about to your MQTT server.
Hey Mick, Thanks very much, I’m so close to getting it going.
I can use the commands you gave to see the likes of compressor inlet temp etc, Its broadcasting via MQTT to my PI with HA on it, but its not broadcasting half the good info.
When I search the mqtt-hassio.cfg file I can see 3 instances of Filter-seen and set it to 1, it already had filter-name= all the things you said.
I’ve no idea what to do in the file though to get that to work?? I copied and pasted your exact stuff and inserted it into the end of the file as well but made no difference but I don’t know if thats where its meant to be!
Looks like I’ll need to keep listening for a while so that I can find out the state topic and value template lines to keep adding to the yaml. But looks like its starting to work!!!
[Edited for presentation - Moderator (RW)
When posting code or output, please put 3 ‘backticks’ (normally found at the top left of the keyboard) on a line of their own before the code, and 3 more backticks also on a line of their own after the code:
```
code
```
If it is something like php you can add a language identifier after the first 3 backticks: ```php or even ```text if you don’t want any language markup applied.
Is there anyway to make ebusd force poll more regularly?
I’ve added r1 in front on the values I want on 08.HMU.CSV, considering adding # infront of the ones I don’t want essentially removing that line from the CSV file to make sure its not regularly polling for data I’m not interested in.
However some things seem to come through to my HA for logging at different rates, i.e outdoor temperature seems to be every minute, but current subcooling value is 3-5 minutes.
ideally I want to get maybe 10 things at 30s intervals and the rest once a minute, right now I’d take everything once a min!
The only reliable way I know is to post a /get to the topic via MQTT regularly. So if you want ebusd/hmu/EnergyIntegral, post to /ebusd/hmu/EnergyIntegral/get and the value will be refreshed
Is that something i could set up a script to do? I don’t know programing but could use chatGPT to write something that automatically posts something like:
You could have an automation within home assistant that does this. ChatGPT will give you a good start on that. If it doesn’t work just post your attempts here so we can have a look. But generally ChatGPT has been excellent in writing simple automations for me.
Easiest way if you don’t wanna delve into MQTT is to create a simple script and call that via cron ( the unix scheduler)
create a new shell script file using
nano pull_ebus_values.sh
Put the following into the script (or whatever values you want to pull)
#!/bin/bash
ebusctl r -f -c hmu EnergyIntegral
ebusctl r -f -c hmu CompressorSpeed
#ebusctl r -f -c hmu CompressorUtilization
ebusctl r -f -c basv z1roomtemp
ebusctl r -f -c basv z1ActualRoomTempDesired
ebusctl r -f -c hmu waterthroughput
ebusctl r -f -c hmu currentconsumedpower
ebusctl r -f -c hmu currentyieldpower
#ebusctl r -f -c hmu BuildingCircuitPumpPower
ebusctl r -f -c basv Hc1ActualFlowTempDesired
ebusctl r -f -c hmu FlowTemp
ebusctl r -f -c hmu ReturnTemp
Save that file (ctrl-X, then Y to save)
chmod +x pull_ebus_values.sh
to make it executable
Run the following to edit the system cron file for your user
crontab -e
Put the following line at the bottom of the file, then save the file (ctrl-x, y again, assuming you’re using nano editor)
* * * * * /home/mick/pull_ebus_values.sh
You can do crontab -l to ensure its saved
Obviously ensure you have the full unix path to your file (recommend putting the shell script in your home directory) - so change the filepath from /home/mick to wherever your file lives.
Once saved, cron will call that file and issue the ebusctl calls every minute
The stars can be used to specify various time frames (by using numbers), but all stars is every minute