-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
ebusd scanning only loads all needed csv files when loglevel=debug #923
Comments
thats weird indeed. can you post a raw log (without debug level) from the start of ebusd until the first scan message that should succeed (slave 08 I suppose)? then cancel and also post the easi> log |
Hi John, Thanks for taking the time, very appreciated! :-) Her the log files, normal and raw, for BOTH cases (ok and nok): ...01_ok_... when scan and fileloads works (logareas=all) and ...02_nok... when scan takes very long and only one file is loaded finally. ebusd_01_ok_raw.log As well as the easy log: Build: 20230501 |
very strange. it looks as if the SYN generator completely ignores any traffic, even valid one. which is particular strange as other participants answer to requested data. please post the log with raw bytes into the same file by using these args: |
Will do. As I am currently in holidays, I will perform it at the next weekend! |
Hi John,
Btw. with those parameters it works pretty nice:
Thanks for your support! :-) |
Hi John, I now moved to a ebusd docker container on my NAS and all seems to be fine. Thanks, |
so you're using 23.2 now, right? |
Hello, I get the following outputs, so equipment recognized but no data, very similar to Dika67 in #923 : Ebusctl info: No clue where the CSV Vaillant / 08.hmu.csv resides, but it was NOT on my computer, I checked. A small part of the log file (/var/log/ebsud.log : 2023-08-26 23:39:50.795 [update notice] received update-write hmu SetMode QQ=10: auto;0.0;-;-;1;1;1;0;0;0 Configuration check shows: ebusd --checkconfig --scanconfig --dumpconfig. To me it looks like there is nothing wrong with the basic communication. Ebusctl info : Then the most interesting experiment: EBUSD_OPTS="--scanconfig" The results below show that it finds the new configpath (ctlv2 output), but ignores the 08.hmu.csv, moreover there is no sign in the info file about the csv file 15.CTLV2.csv, used by ebusd. ebusctl find : ebusctl info: Part of /var/log/ ebusd.log: (only error messages) 2023-08-27 18:17:09.101 [main debug] performing regular tasks Some of the ctlv2 data however can be found via the read command ebusctl read Date 27.08.2023 Lost in the Jungle!! |
Hi avanmourik, |
Still on 23.1 on docker. Works perfectly since 1,5 months now. :-) |
Hi,
Yes running 23.2
When it last ran, I used the ttyACM USB connection, and apart from getting almost no data it seemed to work.
Until it crashed completely and could not even start anymore (systemctl start ebusd terminated with code 64 error)
I thought to get rid of all the hassle I am in right now, by using the docker option as you suggested.
It actually seems a lot more elegant than the “traditional” procedure
So installed it, on the basis of a web tutorial and that was OK.
Pulled the files from John Baier from : https://hub.docker.com/r/john30/ebusd/
All ok and then the trouble starts :
I flashed the device, set it up for PI serial, re-installed the bullseye-ebusd software for arm71 (but necessary with the image?)
I changed the device to ttyACM0, since I had been using this device in the previous setup.
It would not run , because the docker was looking for ttyUSB0 , I do not know why.
The command on the website was docker run --rm -it --device=/dev/ttyUSB1:/dev/ttyUSB0 -p 8888 john30/ebus.
But I changed it (maybe wrongly) to docker run --rm -it --device=/dev/ttyACM0:/dev/ttyACM1 -p 8888 john30/ebus
Don’t actually know what the 2 devices in 1 command mean
But the overruling question is what files are still used from the setup document for non-container setup.
Is /etc/default still used as configuration file (including a path to local csv files)?
I guess since you went through all this , so might know the answers.
Were there any other details you wanted to know (your first email)?
Kind regards,
From: DiKa67 ***@***.***>
Sent: zaterdag 2 september 2023 20:21
To: john30/ebusd ***@***.***>
Cc: avanmourik ***@***.***>; Manual ***@***.***>
Subject: Re: [john30/ebusd] ebusd scanning only loads all needed csv files when loglevel=debug (Issue #923)
so you're using 23.2 now, right?
Still on 23.1 on docker. Works perfectly since 1,5 months now. :-)
—
Reply to this email directly, view it on GitHub <#923 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALTZEN6CL3YAQIF4CNN23XDXYN2HTANCNFSM6AAAAAAYZJ2YMY> .
You are receiving this because you are subscribed to this thread. <https://github.com/notifications/beacon/ALTZEN5BT42RWIPTNUG5OS3XYN2HTA5CNFSM6AAAAAAYZJ2YM2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTFR6EWO.gif> Message ID: ***@***.*** ***@***.***> >
|
if you move to docker, I suggest that you read the docs for that as it is all quite different (no /etc/defaults/ebusd e.g.): https://github.com/john30/ebusd/blob/master/contrib/docker/README.md |
besides: having an output of "no data stored" does not mean that there is none. you'd have to actively query these messages to see if the device provides that data. if you don't, then ebusd will answer from cache only. this is specifically true for the "find" command |
I used both the read command and the shell script , with same result. No values
From: John ***@***.***>
Sent: zondag 3 september 2023 18:09
To: john30/ebusd ***@***.***>
Cc: avanmourik ***@***.***>; Manual ***@***.***>
Subject: Re: [john30/ebusd] ebusd scanning only loads all needed csv files when loglevel=debug (Issue #923)
besides: having an output of "no data stored" does not mean that there is none. you'd have to actively query these messages to see if the device provides that data. if you don't, then ebusd will answer from cache only. this is specifically true for the "find" command
—
Reply to this email directly, view it on GitHub <#923 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALTZENZEWKA2PUTEYLIMSXDXYSTSFANCNFSM6AAAAAAYZJ2YMY> .
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
OK,
Understand.
Explains a lot.
I read the readme , but it does not suggest , that the downloadable version is a tailored one (docker pull john30/ebusd)
Will dive into it
From: John ***@***.***>
Sent: zondag 3 september 2023 18:08
To: john30/ebusd ***@***.***>
Cc: avanmourik ***@***.***>; Manual ***@***.***>
Subject: Re: [john30/ebusd] ebusd scanning only loads all needed csv files when loglevel=debug (Issue #923)
if you move to docker, I suggest that you read the docs for that as it is all quite different (no /etc/defaults/ebusd e.g.): <https://github.com/john30/ebusd/blob/master/contrib/docker/README.md> https://github.com/john30/ebusd/blob/master/contrib/docker/README.md
the compose file shows all settings available, all of which then have to be passed by environment variables or as arguments to the docker run command: <https://github.com/john30/ebusd/blob/master/contrib/docker/docker-compose.example.yaml> https://github.com/john30/ebusd/blob/master/contrib/docker/docker-compose.example.yaml
—
Reply to this email directly, <#923 (comment)> view it on GitHub, or <https://github.com/notifications/unsubscribe-auth/ALTZEN3XPYZ72A5SG7RPVWTXYSTNFANCNFSM6AAAAAAYZJ2YMY> unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Description
ebusd does scanning but finds only one device (out of six) and therefore loads only ONE out of six csv files.
When I restart my heating device (Vailant) by powering off/on, then all 6 are scanned, but still only ONE CSV file is loaded.
And now the funny part: :-)
As soon as loglevel=debug, then everything is fine, all scans are completed within seconds and all six csv files are loaded accordingly, even without restarting the Vaillant system.
Note: I am using the new v5 adapter, attached with USB to Raspberry 4
ebusctl info
version: ebusd 23.1.23.1
device: /dev/ttyACM0, enhanced
signal: acquired
symbol rate: 42
max symbol rate: 119
min arbitration micros: 2
max arbitration micros: 53
min symbol latency: 4
max symbol latency: 4
reconnects: 0
masters: 3
messages: 143
conditional: 49
poll: 0
update: 8
address 03: master #11
address 08: slave #11, scanning
address 10: master #2
address 23: slave, scanning
address 25: slave, scanning
address 31: master #8, ebusd
address 36: slave #8, ebusd, scanning
address 50: slave, scanning
address e0: slave, scanned "MF=Vaillant;ID=OMU00;SW=0118;HW=5202", loaded "vaillant/e0.omu.csv"
After several (10 minutes) the scan will find also other devices, but does not load further the CSV files.
version: ebusd 23.1.23.1
device: /dev/ttyACM0, enhanced
signal: acquired
symbol rate: 33
max symbol rate: 121
min arbitration micros: 2
max arbitration micros: 53
min symbol latency: 4
max symbol latency: 4
reconnects: 0
masters: 3
messages: 143
conditional: 49
poll: 0
update: 8
address 03: master #11
address 08: slave #11, scanning
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=UIH00;SW=0374;HW=6901"
address 23: slave, scanning
address 25: slave, scanning
address 31: master #8, ebusd
address 36: slave #8, ebusd, scanning
address 50: slave, scanning
address e0: slave, scanned "MF=Vaillant;ID=OMU00;SW=0118;HW=5202", loaded "vaillant/e0.omu.csv"_
Also remarkable: ebusctl info does not show the firmware version in the line "device" in the buggy case!
Actual behavior
ebusd does scanning but finds only one device (out of six) and therefore loads only ONE out of six csv files.
When I restart my heating device (Vailant) by powering off/on, then all 6 are scanned, but still only ONE CSV file is loaded.
ebusd_error.log
Expected behavior
ebusd scans all 6 devices and loads the CSV files accordingly.
ebusctl info
version: ebusd 23.1.23.1
device: /dev/ttyACM0, enhanced, firmware 1.1[3501].1[3501]
signal: acquired
symbol rate: 36
max symbol rate: 131
min arbitration micros: 2
max arbitration micros: 109
min symbol latency: 3
max symbol latency: 5
reconnects: 0
masters: 3
messages: 741
conditional: 262
poll: 3
update: 60
address 03: master #11
address 08: slave #11, scanned "MF=Vaillant;ID=EHP00;SW=0419;HW=7201", loaded "vaillant/08.ehp.csv"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=UIH00;SW=0374;HW=6901", loaded "vaillant/15.uih.csv"
address 23: slave, scanned "MF=Vaillant;ID=EHP00;SW=0419;HW=7201", loaded "vaillant/23.ehp.cc.csv"
address 25: slave, scanned "MF=Vaillant;ID=EHP00;SW=0419;HW=7201", loaded "vaillant/25.ehp.hwc.csv"
address 31: master #8, ebusd
address 36: slave #8, ebusd, scanning
address 50: slave, scanned "MF=Vaillant;ID=EHP00;SW=0419;HW=7201", loaded "vaillant/50.ehp.mc.csv"
address e0: slave, scanned "MF=Vaillant;ID=OMU00;SW=0118;HW=5202", loaded "vaillant/e0.omu.csv"
ebus.log
ebusd version
current source from git
ebusd arguments
EBUSD_OPTS="--configpath=http://cfg.ebusd.eu/ --scanconfig=full -d ens:/dev/ttyACM0 -p 8888 --latency=50 --receivetimeout=100000 -l /var/log/ebusd.log --logareas=all --loglevel=info --lograwdatasize=100 --httpport=8889 --htmlpath=/var/ebusd/html"
Operating system
Debian 10 (Buster)
CPU architecture
arm71
Dockerized
None
Hardware interface
adapter 5.0 USB
Related integration
ebusctl
Logs
ebusd_error.log
ebus_ok.log
The text was updated successfully, but these errors were encountered: