Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

writing to ebus issue #867

Closed
klaus77777777 opened this issue Mar 30, 2023 · 1 comment
Closed

writing to ebus issue #867

klaus77777777 opened this issue Mar 30, 2023 · 1 comment

Comments

@klaus77777777
Copy link

Description

Hello,

I also have issues writing to the ebus

here my config

EBUSD_OPTS="--scanconfig=full --port=8888 --accesslevel=* --latency=0 --configpath=http://ebusd.eu/config/"

update: 10
address 00: master #1
address 03: master #11
address 05: slave #1, scanned "MF=Vaillant;ID=VR921;SW=2801;HW=5703"
address 08: slave #11, scanned "MF=Vaillant;ID=HMU00;SW=0607;HW=5103", loaded "vaillant/08.hmu.csv"
address 0a: slave, scanned "MF=Vaillant;ID=PMW01;SW=0206;HW=8302", loaded "vaillant/0a.pmw.hwc.csv"
address 10: master #2
address 12: slave, scanned "MF=Vaillant;ID=PMW01;SW=0206;HW=8302"
address 15: slave #2, scanned "MF=Vaillant;ID=CTLV2;SW=0514;HW=1104"
address 26: slave, scanned "MF=Vaillant;ID=VR_71;SW=0203;HW=5904", loaded "vaillant/26.vr_71.csv"
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=0607;HW=5103"
address ec: slave, scanned "MF=Vaillant;ID=SOL00;SW=0514;HW=1104", loaded "vaillant/ec.sol.sc.csv"
address f7: master #20
address fc: slave #20, scanned "MF=Vaillant;ID=PMW01;SW=0206;HW=8302"

Here my command
pi@raspberrypi:~/ $ ebusctl w -s 10 -c vr_71 Mc1FlowTempDesired 'on;45.0;on;25'
done

But it isn't taken

2023-03-30 15:53:20.043 [update notice] received write vr_71 Mc1FlowTempDesired QQ=10: on;44.0;on;0
2023-03-30 15:53:23.481 [update notice] sent write vr_71 Mc1FlowTempDesired QQ=10: on;45.0;on;0
2023-03-30 15:53:23.481 [main notice] write vr_71 Mc1FlowTempDesired: done
2023-03-30 15:53:30.049 [update notice] received write vr_71 Mc1FlowTempDesired QQ=10: on;44.0;on;5

Can you please please help me?

My goal is
to set the Mc1FlowTempDesired up an down.

many thx

regards

Klaus

Actual behavior

I thought to change with this command
pi@raspberrypi:~/ $ ebusctl w -s 10 -c vr_71 Mc1FlowTempDesired 'on;45.0;on;25'
done

the desired FlowTemp in my heatingcircle 1 from 44.0 to 45.0

but this wasn't taken by the system

Expected behavior

I thought to change with this command
pi@raspberrypi:~/ $ ebusctl w -s 10 -c vr_71 Mc1FlowTempDesired 'on;45.0;on;25'
done

the desired FlowTemp in my heatingcircle 1 from 44.0 to 45.0

but this wasn't taken by the system

ebusd version

23.1

ebusd arguments

EBUSD_OPTS="--scanconfig=full --port=8888 --accesslevel=* --latency=0 --configpath=http://ebusd.eu/config/"

Operating system

Debian 11 (Bullseye) / Ubuntu 20-21 / Raspbian 11 / Raspberry Pi OS 11 (including lite)

CPU architecture

x64

Dockerized

None

Hardware interface

Esera USB

Related integration

TCP (cmdline client like ebusctl or netcat)

Logs

2023-03-30 15:53:20.043 [update notice] received write vr_71 Mc1FlowTempDesired QQ=10: on;**44.0;**on;0
2023-03-30 15:53:23.481 [update notice] sent write vr_71 Mc1FlowTempDesired QQ=10: on;**45.0;**on;0
2023-03-30 15:53:23.481 [main notice] write vr_71 Mc1FlowTempDesired: done
2023-03-30 15:53:30.049 [update notice] received write vr_71 Mc1FlowTempDesired QQ=10: on;**44.0;**on;5

@klaus77777777 klaus77777777 changed the title writing to bus issue writing to ebus issue Mar 30, 2023
@klaus77777777
Copy link
Author

Hello,

I was able to solve my issue after reading many other issues, question and hints.

My main issue was that ebusd wasn't able to load a config file for CTLV2 this is the Vaillant sensoCOMFORT VRC 720.

ebusctl info #before
...
address 15: slave #2, scanned "MF=Vaillant;ID=CTLV2;SW=0514;HW=1104"

after doing the things I will describe later ebusd was able to load the config file for

ebusctl info #after
...
address 15: slave #2, scanned "MF=Vaillant;ID=CTLV2;SW=0514;HW=1104", loaded "vaillant/15.ctlv2.csv"

To do's:
I downloaded the ebusd config files from https://github.com/john30/ebusd-configuration and saved them localy on my raspi machine, I'm using the eBus Koppler USB mounted to my raspi.

Here my ebusd configuration
EBUSD_OPTS="--scanconfig=full --port=8888 --accesslevel=* --latency=0 --configpath=/ebus_config_data/"

And than I created the file 15.ctlv2.csv in the folder /ebus_config_data/vaillant, I took the content of the downloaded file 15.700.csv and put it to the created file 15.ctlv2.csv.

After this I restarted the ebusd with the result, that the file was picked up by ebusd.

ebusctl info #after
...
address 15: slave #2, scanned "MF=Vaillant;ID=CTLV2;SW=0514;HW=1104", loaded "vaillant/15.ctlv2.csv"

ebusctl info
...
poll: 1
update: 10
address 00: master #1
address 03: master #11
address 05: slave #1, scanned "MF=Vaillant;ID=VR921;SW=2801;HW=5703"
address 08: slave #11, scanned "MF=Vaillant;ID=HMU00;SW=0607;HW=5103", loaded "vaillant/08.hmu.csv"
address 0a: slave, scanned "MF=Vaillant;ID=PMW01;SW=0206;HW=8302", loaded "vaillant/0a.pmw.hwc.csv"
address 10: master #2
address 12: slave, scanned "MF=Vaillant;ID=PMW01;SW=0206;HW=8302"
address 15: slave #2, scanned "MF=Vaillant;ID=CTLV2;SW=0514;HW=1104", loaded "vaillant/15.ctlv2.csv"
address 26: slave, scanned "MF=Vaillant;ID=VR_71;SW=0203;HW=5904", loaded "vaillant/26.vr_71.csv"
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=0607;HW=5103"
address ec: slave, scanned "MF=Vaillant;ID=SOL00;SW=0514;HW=1104", loaded "vaillant/ec.sol.sc.csv"
address f7: master #20
address fc: slave #20, scanned "MF=Vaillant;ID=PMW01;SW=0206;HW=8302"

And now I'm able to use most of the configured values in the original file 15.700.csv or my name 15.ctlv2.csv. I was searching for a way to change the values of

Hc1MaxFlowTempDesired
Hc1HeatCurve
z1OpMode

and this is now working, have a look

#ebusctl w -c ctlv2 Hc1MaxFlowTempDesired 44
done
ebusctl r Hc1MaxFlowTempDesired
44
ebusctl r -c ctlv2 Hc1MaxFlowTempDesired
44

#ebusctl w -c ctlv2 Hc1HeatCurve 2.1
done
ebusctl r Hc1HeatCurve
2.1
ebusctl r -c ctlv2 Hc1HeatCurve
2.1

#ebusctl w -c ctlv2 z1OpMode auto
ebusctl r -c ctlv2 z1OpMode
auto
ebusctl r z1OpMode
auto

#ebusctl w -c ctlv2 z1OpMode off
done
ebusctl r -c ctlv2 z1OpMode
off
ebusctl r z1OpMode
off

regards

Klaus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant