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

Read timeouts on most of the variables/parameters [SOLVED] #101

Closed
cjoe-51 opened this issue Jan 15, 2025 · 10 comments
Closed

Read timeouts on most of the variables/parameters [SOLVED] #101

cjoe-51 opened this issue Jan 15, 2025 · 10 comments

Comments

@cjoe-51
Copy link

cjoe-51 commented Jan 15, 2025

I have the ebus adapter v.6.1. Its connected through router to the Pi running ebusd SW (v.24.1., before 23.2).

In fact there still don't exist good configuration files for my regulator VCR 720/3. However the initial procedures after starting ebusd seem to run well, without any errors and (using symlink to 15.ctlv2.csv) it looks like there is available plenty of parameters for read and write.
My problem is that I'm able to read only few of those (+ there are available few which are broadcasted by itself). This way I'm able to get the external temperature, actual internal temperature, waterpressure and few others. For most of the items I however don't get any value but "read timeout", "invalid position" or some other negative answer :( This does not differ much for different versions of the config files.
For my present needs Id be happy to have access to the requested day temperature, to be able to read and write.
Unfortunately such parameters like z1DayTemp or z1HeatingRoomTempDesiredManualControlled or other (depending on configuration version used) belong to the (larger) part of parameters which do give Read timeout :(

When discussing this in the John30/ebusd-configuration forum i received among other a recommendation 1/ not to use WiFi connection nor Ethernet but only USB or UART. 2/ not to use ebus HW adapters other than the official from John30.
What can you say to this? Is it true that with the HW from Daniel Kucera its not possible to successfully read/write all the parameters available for a specific heater and regulator? Why some of the parameters are read systematically without any problem and others systematically not? Whats different on the data that Wifi connection could prevent reading those? I expect that reading is done fully and only by the ebus adapter and that WiFi connection is then used only for sharing the already received values with the ebusd SW . Or is it like the second recommendation that the Daniel Kucera,s adapter is not capable of communication properly (or fast enough) ?

@cjoe-51 cjoe-51 changed the title Read timeouts on some of the variables/parameters Read timeouts on most of the variables/parameters Jan 15, 2025
@danielkucera
Copy link
Owner

Hi @cjoe-51 , can you provide the log as described in README troubleshooting?
Did you try to fine tune PWM value?
If you wish, and you are from EU, I can borrow you adapter from john to verify it's not in the adapter.

@cjoe-51
Copy link
Author

cjoe-51 commented Jan 15, 2025

Hi @cjoe-51 , can you provide the log as described in README troubleshooting? Did you try to fine tune PWM value? If you wish, and you are from EU, I can borrow you adapter from john to verify it's not in the adapter.

I will add the log in a moment. The heating is remote from my location so some steps are necessary.
In the meantime - I personaly dont thing that the arguments in the reccommendations are valid (nor the wifi nor the unoficial adapter in your case).
With regards to the PWM I havent changed it as the LED looked good and the connection and log seemed to be ok for me. (My original premise was that when I'm able to read some data, then the communication is set well). I will give it a try when I will go there.
My personal suspicion is now however more targeted to the power source. Im feeding the adapter from the ebus bus. Which is great. But when thinking about where could be difference between some parameters read perfectly and some not then I can imagine that some the data packages can be short for some parameters but long for others. When the power would be so so, then may be reading longer packages may exhausts the power too much ... Do you have experience that the power feeding from ebus can cause systematic Read timeouts?

@danielkucera
Copy link
Owner

Yes, that makes total sense. I hope we see something in logs. Errors, reconnects, etc.

@cjoe-51
Copy link
Author

cjoe-51 commented Jan 15, 2025

Yes, that makes total sense. I hope we see something in logs. Errors, reconnects, etc.

Im enclosing the log (only the part after changing ebusd config and restarting ebusd).
ebusd__150125_debug.log

And in addition here is the ebusd info:

pi@pi4Iob:~ $ sudo ebusctl i
version: ebusd 24.1.24.1
update check: OK, broadcast.csv: different version available, vaillant/broadcast.csv: different version available, vaillant/hcmode.inc: different version available
device: esp-ebus.local:3335, TCP, enhanced
signal: acquired
symbol rate: 45
max symbol rate: 101
min arbitration micros: 1
max arbitration micros: 17
min symbol latency: 7
max symbol latency: 17
scan: finished
reconnects: 0
masters: 3
messages: 957
conditional: 3
poll: 0
update: 15
address 03: master #11
address 08: slave #11, scanned "MF=Vaillant;ID=BAI00;SW=1103;HW=7603", loaded "vaillant/bai.308523.inc", "vaillant/08.bai.csv"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=CTLV3;SW=0709;HW=3704", loaded "vaillant/15.ctlv3.csv"
address 31: master #8, ebusd
address 36: slave #8, ebusd

@danielkucera
Copy link
Owner

I see quite a lot of errors there. Athough there are 0 reconnects, I would try to power the device via USB-C. If you want to try something remotely first, you can try adjusting the PWM value config.

@cjoe-51
Copy link
Author

cjoe-51 commented Jan 15, 2025

OK, I will try the PWM.
Thank you

@cjoe-51
Copy link
Author

cjoe-51 commented Jan 15, 2025

How sensitive is the PWM setting? If there should be some safe boundary like let say 6 or 10 points then its not working. Below 90 and above 220 there is no signal. Between those it works for basic info but the difficult parameters give Read timeout. Btw the implicit value 130 is exact in middle. Around that from 125 to 140 I tested each point. The other area by 5.

@cjoe-51
Copy link
Author

cjoe-51 commented Jan 18, 2025

@danielkucera
Well in the end the source of readout errors was in powering the adapter from the ebus.
After powering it through the USB connector (and taking out the respective jumper!) it seems to operate fine finally!
My recommendation - do start all setting up with the adapter powered from external powersource. Only after everything works perfectly you may try whether your ebus will be able to provide enough power. My does not.

Comment - I was lulled into a false sense of security by the fact that the adapter seemed to cooperate well with the ebusd sw in such way that it was possible to get basic parameters (external temperature, internal temperature, and some other system temperatures ... even system waterpressure). I thought, that when for some parameters the ebus communication works that it should work for the others. And therefore I left the adapter to be powered from the ebus and continued unsuccessfully searching the problem in configuration files etc. The adapter is located just next to the regulator, so it was nice to let it power from the ebus as there is no powersocket near the regulator ... Well, it was a trap for me :)

@cjoe-51 cjoe-51 changed the title Read timeouts on most of the variables/parameters Read timeouts on most of the variables/parameters [SOLVED] Jan 18, 2025
@cjoe-51 cjoe-51 closed this as completed Jan 20, 2025
@danielkucera
Copy link
Owner

Hi @cjoe-51 , sorry for late response.
I am sorry you had to spent so much effort making it work but it is a valuable experience.
I am thankful to you for sharing it, I'll be able to better help other users.
If it's something you would be interested in, I can offer you another adapter for free.

@cjoe-51
Copy link
Author

cjoe-51 commented Jan 21, 2025

@danielkucera
Not at all. You vere responding quickly and Im happy that this was solved.
I can now remotely monitor basic parameters of the heating system an I can remotely change the requested temperature. Thats what I needed.as most important.
And I can confirm that your HW works great.

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

No branches or pull requests

2 participants