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

ebusd TEM chaffauteaux #426

Closed
tikismoke opened this issue Apr 30, 2021 · 16 comments
Closed

ebusd TEM chaffauteaux #426

tikismoke opened this issue Apr 30, 2021 · 16 comments
Labels
help wanted hw:foreign:usb non-eBUSd USB interface

Comments

@tikismoke
Copy link
Contributor

tikismoke commented Apr 30, 2021

Hi i'm back from old working installation with my raspiB and this serelia green.

All was working from 2016 before my coupler take water in 12/2019.

I've just receive the green one from esera and it seems i get latency issue :(

I test and get always AA message.

this what i have now:

2021-04-30 19:24:43.092 [update info] received BC cmd: 10fe0700090000ffffffffffffff
2021-04-30 19:24:43.095 [update notice] received unknown BC cmd: 10fe0700090000ffffffffffffff
2021-04-30 19:24:48.016 [bus info] poll cmd: 331506210402d70040
2021-04-30 19:24:48.019 [bus debug] start request 33
2021-04-30 19:24:48.019 [bus debug] arbitration start with 33
2021-04-30 19:24:48.071 [bus debug] arbitration won
2021-04-30 19:24:48.071 [bus debug] arbitration delay 566 micros
2021-04-30 19:24:48.072 [bus debug] switching from ready to send command
2021-04-30 19:24:48.080 [bus debug] send/receive symbol latency 6 ms
2021-04-30 19:24:48.087 [bus debug] send/receive symbol latency 5 ms
2021-04-30 19:24:48.094 [bus debug] send/receive symbol latency 5 ms
2021-04-30 19:24:48.101 [bus debug] send/receive symbol latency 5 ms
2021-04-30 19:24:48.108 [bus debug] send/receive symbol latency 5 ms
2021-04-30 19:24:48.116 [bus debug] notify request: ERR: SYN received
2021-04-30 19:24:48.116 [bus error] poll usage boiler_hot_water_time failed: ERR: SYN received
2021-04-30 19:24:48.116 [bus debug] ERR: SYN received during send command, switching to ready

Remember all was working long time ago and my csv is still valid (checkconfig OK)

I read about latency but can't find where is the pb (pi serial console and port are off) and i use an usb adaptor.

@john30 if you could help me again on this?

Ps:
Old discuss with the same boiler and same pi was here:
#23

PSbis:
The pi kernel as evolved and i use the last ebusd version (also try 2.2 as before)

@john30
Copy link
Owner

john30 commented Jun 6, 2021

just try with a higher latency for a start

@tikismoke
Copy link
Contributor Author

Hi @john30 i try to upgrade latency with this command:
ebusd -f --device=/dev/ttyUSB0 --loglevel=debug --enablehex --address=33 -c /home/pi/ebusd-TEM/ --scanconfig --lograwdata --latency=100000 --receivetimeout 10000
but still the same thing.
I do nt understand how to find my mistake...

https://pastebin.com/ftAzzKUk

@john30
Copy link
Owner

john30 commented Oct 6, 2021

did you adjiust the poti well enough?

@john30 john30 added the hw:foreign:usb non-eBUSd USB interface label Oct 6, 2021
@tikismoke
Copy link
Contributor Author

did you adjiust the poti well enough?

Pretty ~99% sure.
I really got only AA and correct data but seems not fast enough

@john30
Copy link
Owner

john30 commented Oct 7, 2021

lets have a look at some raw logging.
whats the environment exactly? i.e. adapter, USB-serial bridge, host, ebus devices

@tikismoke
Copy link
Contributor Author

tikismoke commented Feb 16, 2022

Ok i start again with the remote controller to try find the error.
So when the remote display a value, like boiler pressure it works. I mean the value is update in ebus and available in right mqtt topics. but when i force to read from ebus i got error:

 ebusctl r -f circuit_pressure
ERR: wrong symbol received

got this when using remote controller:

ebusctl find
boiler circuit_pressure = 1.1

So i start to think that maybe ebusd didn't send read command correctly

pi@raspberrybplus:~ $ ebusctl r -f circuit_pressure
ERR: wrong symbol received

pi@raspberrybplus:~ $ ebusctl f circuit_pressure
boiler circuit_pressure = 1.1

@tikismoke
Copy link
Contributor Author

tikismoke commented Feb 16, 2022

Options to pass to ebusd (run "ebusd -?" for more info):
EBUSD_OPTS="--scanconfig -d /dev/ttyUSB0 --loglevel=info --latency=10000 --enablehex --address 33 --receivetimeout 10000 -c /home/pi/ebusd-TEM/ --mqtthost=mosquito --mqttport=1883"

@tikismoke
Copy link
Contributor Author

I think it looks like #515. Using the same esera device.

@tikismoke
Copy link
Contributor Author

2022-02-16 16:19:42.261 [bus notice] <aa
2022-02-16 16:19:42.321 [bus notice] <aa
2022-02-16 16:19:42.381 [bus notice] <aa
2022-02-16 16:19:42.441 [bus notice] <aa
2022-02-16 16:19:42.501 [bus notice] <aa
2022-02-16 16:19:42.561 [bus notice] <aa
2022-02-16 16:19:42.620 [bus notice] <aa
2022-02-16 16:19:42.680 [bus notice] <aa
2022-02-16 16:19:42.739 [bus notice] <aa
2022-02-16 16:19:42.799 [bus notice] <aa
2022-02-16 16:19:42.860 [bus notice] <aa
2022-02-16 16:19:42.920 [bus notice] <aa
2022-02-16 16:19:42.980 [bus notice] <aa
2022-02-16 16:19:43.040 [bus notice] <aa
2022-02-16 16:19:43.100 [bus notice] <aa
2022-02-16 16:19:43.159 [bus notice] <aa
2022-02-16 16:19:43.220 [bus notice] <aa
2022-02-16 16:19:43.279 [bus notice] <aa
2022-02-16 16:19:43.339 [bus notice] <aa
2022-02-16 16:19:43.399 [bus notice] <aa
2022-02-16 16:19:43.459 [bus notice] <aa
2022-02-16 16:19:43.519 [bus notice] <aa
2022-02-16 16:19:43.578 [bus notice] <aa
2022-02-16 16:19:43.638 [bus notice] <aa
2022-02-16 16:19:43.698 [bus notice] <aa
2022-02-16 16:19:43.758 [bus notice] <aa
2022-02-16 16:19:43.818 [bus notice] <aa
2022-02-16 16:19:43.878 [bus notice] <aa
2022-02-16 16:19:43.938 [bus notice] <aa
2022-02-16 16:19:43.998 [bus notice] <aa
2022-02-16 16:19:44.052 [bus info] poll cmd: 311506210400810040
2022-02-16 16:19:44.058 [bus notice] <aa
2022-02-16 16:19:44.058 [bus notice] >31
2022-02-16 16:19:44.064 [bus notice] <31
2022-02-16 16:19:44.064 [bus info] arbitration delay 640 - 1620 micros
2022-02-16 16:19:44.065 [bus notice] >15
2022-02-16 16:19:44.071 [bus notice] <15
2022-02-16 16:19:44.072 [bus notice] >06
2022-02-16 16:19:44.078 [bus notice] <06
2022-02-16 16:19:44.079 [bus notice] >21
2022-02-16 16:19:44.085 [bus notice] <21
2022-02-16 16:19:44.087 [bus notice] >04
2022-02-16 16:19:44.093 [bus notice] <04
2022-02-16 16:19:44.094 [bus notice] >00
2022-02-16 16:19:44.101 [bus notice] <00
2022-02-16 16:19:44.102 [bus notice] >81
2022-02-16 16:19:44.108 [bus notice] <81
2022-02-16 16:19:44.109 [bus notice] >00
2022-02-16 16:19:44.115 [bus notice] <00
2022-02-16 16:19:44.116 [bus notice] >40
2022-02-16 16:19:44.120 [bus notice] <1d
2022-02-16 16:19:44.120 [bus error] poll boiler Z1_amb_temp failed: ERR: wrong symbol received
2022-02-16 16:19:44.124 [bus notice] <e8
2022-02-16 16:19:44.178 [bus notice] <aa
2022-02-16 16:19:44.237 [bus notice] <aa
2022-02-16 16:19:44.298 [bus notice] <aa
2022-02-16 16:19:44.357 [bus notice] <aa
2022-02-16 16:19:44.417 [bus notice] <aa
2022-02-16 16:19:44.477 [bus notice] <aa
2022-02-16 16:19:44.537 [bus notice] <aa
2022-02-16 16:19:44.597 [bus notice] <aa
2022-02-16 16:19:44.657 [bus notice] <aa
2022-02-16 16:19:44.717 [bus notice] <aa
2022-02-16 16:19:44.777 [bus notice] <aa
2022-02-16 16:19:44.836 [bus notice] <aa
2022-02-16 16:19:44.896 [bus notice] <aa
2022-02-16 16:19:44.956 [bus notice] <aa
2022-02-16 16:19:45.016 [bus notice] <aa
2022-02-16 16:19:45.076 [bus notice] <aa
2022-02-16 16:19:45.136 [bus notice] <aa
2022-02-16 16:19:45.196 [bus notice] <aa
2022-02-16 16:19:45.256 [bus notice] <aa

2022-02-16 16:21:55.047 [bus info] poll cmd: 311506210401870040
2022-02-16 16:21:55.114 [bus notice] <ea
2022-02-16 16:21:55.173 [bus error] poll order heating_temp_selected failed: ERR: wrong symbol received
2022-02-16 16:21:55.233 [bus notice] >311506210401870040<2ad0
2022-02-16 16:22:00.865 [bus notice] <ea
2022-02-16 16:22:01.038 [bus info] poll cmd: 311506210402d00040
2022-02-16 16:22:01.104 [bus error] poll usage boiler_cycle failed: ERR: wrong symbol received
2022-02-16 16:22:01.164 [bus notice] >311506210402d00040<0ae8
2022-02-16 16:22:02.770 [bus notice] <0115101105e71dd4000139000906038d0800001500012500
2022-02-16 16:22:07.019 [bus info] poll cmd: 311506210402d60040
2022-02-16 16:22:07.086 [bus error] poll usage boiler_heating_time failed: ERR: wrong symbol received
2022-02-16 16:22:07.146 [bus notice] >311506210402d60040<0af4
2022-02-16 16:22:10.981 [bus notice] <ba
2022-02-16 16:22:12.226 [bus notice] <0115101105e71dd4000139000906038d0800001500012500
2022-02-16 16:22:13.002 [bus info] poll cmd: 311506210402d70040
2022-02-16 16:22:13.069 [bus error] poll usage boiler_hot_water_time failed: ERR: wrong symbol received
2022-02-16 16:22:13.128 [bus notice] >311506210402d70040<1de8
2022-02-16 16:22:16.303 [bus notice] <d5
2022-02-16 16:22:17.142 [bus notice] <be
2022-02-16 16:22:18.648 [bus notice] <01fe070009008049470101010107eb
2022-02-16 16:22:19.003 [bus info] poll cmd: 311506210402d90040
2022-02-16 16:22:19.070 [bus error] poll usage boiler_time failed: ERR: wrong symbol received
2022-02-16 16:22:19.130 [bus notice] >311506210402d90040<2ae8
2022-02-16 16:22:21.692 [bus notice] <0115101105e71dd4000139000906038d0800001500012500
2022-02-16 16:22:25.044 [bus info] poll cmd: 31150621060487004000ef
2022-02-16 16:22:25.164 [bus error] poll boiler mode failed: ERR: read timeout
2022-02-16 16:22:25.171 [bus notice] >31150621060487004000ef9b
2022-02-16 16:22:27.088 [bus notice] <af
2022-02-16 16:22:27.267 [bus notice] <ea
2022-02-16 16:22:27.447 [bus notice] <dddd
2022-02-16 16:22:30.684 [bus notice] <ab
2022-02-16 16:22:31.036 [bus info] poll cmd: 311506210409de0040
2022-02-16 16:22:31.102 [bus error] poll heating_part month_next_maintenance failed: ERR: wrong symbol received
2022-02-16 16:22:31.196 [bus notice] >311506210409de0040<2a0015101105e71dd4000139000906038d080000150001...
2022-02-16 16:22:31.210 [bus notice] ...<2500
2022-02-16 16:22:32.470 [bus notice] <ea
2022-02-16 16:22:33.548 [bus notice] <ea

@john30
Copy link
Owner

john30 commented Feb 18, 2022

as you can see in the log, when ebusd sends 0x40, it receives 0x1d instead, so the protocol is broken:

2022-02-16 16:19:44.116 [bus notice] >40
2022-02-16 16:19:44.120 [bus notice] <1d

this is logged as "wrong symbol received" and is at 99% due to the potentiometer not being adjusted fine enough

@tikismoke
Copy link
Contributor Author

I try to play with the potentiometer, nothing better.
I always add the error on last symbol.
I'm going to try the old v2.2 that was working in 2016 to see if it's better, and the ebus-connector as mentionned by @baggerfahrer441

@john30
Copy link
Owner

john30 commented Feb 19, 2022

if your interface can't receive the expected symbols, then using another interpreter on the messages won't be able to do any better

@tikismoke
Copy link
Contributor Author

tikismoke commented Mar 1, 2022

@john30 Silly things I can't understand why it still not work.

Did you know if esera change something in their ebusd/USB coupler since few years( excepttm the old package was grey and the new one is green🤣)

@john30
Copy link
Owner

john30 commented Mar 8, 2022

no idea about that

@tikismoke
Copy link
Contributor Author

My boiled died this year. So I won't be able to make more test/debug with this one.

The only good news is that a Vaillant one is on the way so I would be able to validate if the problems comes form the e-bus adapter.
I let you know when it will be in service.

@john30
Copy link
Owner

john30 commented Apr 27, 2024

closed due to inactivity

@john30 john30 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted hw:foreign:usb non-eBUSd USB interface
Projects
None yet
Development

No branches or pull requests

2 participants