Closed twischi closed 2 years ago
simply activate the raw log, issue an arbitrary send command and check if at least the sent master address (e.g. ">31") is read back from the bus (i.e. "<31").
Dear John, thanks for you hint.
Done a lot without success :-(
First checked if only one instance is running
ps aux|grep ebusd
what is the case.
Than modified the ebusd start parameters:
ebusd --scanconfig=full -c /etc/ebusd/ebusd-configuration --enablehex --lograwdata --logareas=all --logfile=/var/log/ebusd.log --loglevel debug -f
At "scan full" I can see a lot ">31" message and no "<31":
2019-03-26 22:44:37.576 [main notice] ebusd 3.3.v3.3 started with full scan
2019-03-26 22:44:37.576 [main info] loading configuration files from /etc/ebusd/ebusd-configuration
2019-03-26 22:44:37.576 [main info] read config files
2019-03-26 22:44:37.590 [bus notice] bus started with own address 31/36
2019-03-26 22:44:37.590 [main info] registering data handlers
2019-03-26 22:44:37.590 [main info] registered data handlers
2019-03-26 22:44:37.637 [bus debug] ERR: SYN received during no signal, switching to ready
2019-03-26 22:44:37.637 [bus notice] signal acquired
2019-03-26 22:44:38.525 [bus notice] new master 10, master count 2
2019-03-26 22:44:38.594 [bus notice] new master 03, master count 3
2019-03-26 22:44:38.594 [update info] received MS cmd: 1008b5110101 / 093838a008464e0000ff
2019-03-26 22:44:38.594 [update notice] received unknown MS cmd: 1008b5110101 / 093838a008464e0000ff
2019-03-26 22:44:38.599 [bus notice] <1008b51101018900093838a008464e0000ff0c00
2019-03-26 22:44:40.535 [update info] received MS cmd: 1008b5100305ff01 / 00
2019-03-26 22:44:40.535 [update notice] received unknown MS cmd: 1008b5100305ff01 / 00
2019-03-26 22:44:40.540 [bus notice] <1008b5100305ff019800000000
2019-03-26 22:44:44.612 [update info] received MS cmd: 1008b510090000006effff05ff00 / 0101
2019-03-26 22:44:44.613 [update notice] received unknown MS cmd: 1008b510090000006effff05ff00 / 0101
2019-03-26 22:44:44.618 [bus notice] <1008b510090000006effff05ff00760001019a00
2019-03-26 22:44:47.591 [main debug] performing regular tasks
2019-03-26 22:44:47.592 [main notice] starting initial full scan
2019-03-26 22:44:47.592 [bus info] scan 02 cmd: 3102070400
2019-03-26 22:44:47.641 [bus debug] notify request: ERR: read timeout
2019-03-26 22:44:47.641 [bus info] scan 04 cmd: 3104070400
2019-03-26 22:44:47.673 [bus notice] >31
2019-03-26 22:44:47.688 [bus debug] notify request: ERR: read timeout
2019-03-26 22:44:47.688 [bus info] scan 05 cmd: 3105070400
2019-03-26 22:44:47.718 [bus notice] >31
2019-03-26 22:44:47.733 [bus debug] notify request: ERR: read timeout
2019-03-26 22:44:47.733 [bus info] scan 06 cmd: 3106070400
2019-03-26 22:44:47.761 [bus notice] >31
2019-03-26 22:44:47.776 [bus debug] notify request: ERR: read timeout
2019-03-26 22:44:47.776 [bus info] scan 08 cmd: 3108070400
2019-03-26 22:44:47.810 [bus notice] >31
In the second terminal windows i try to send "hex"- commands for example like this:
ebusctl write -h 08b5090101
but always get this info:
ebusctl write -h 08b5090101
usage: write [-s QQ] [-d ZZ] -c CIRCUIT NAME [VALUE[;VALUE]*]
or: write [-s QQ] [-d ZZ] -def DEFINITION [VALUE[;VALUE]*]
or: write [-s QQ] [-c CIRCUIT] -h ZZPBSBNN[DD]*
Write value(s) or hex message.
-s QQ override source address QQ
-d ZZ override destination address ZZ
-c CIRCUIT CIRCUIT of the message to send
NAME NAME of the message to send
VALUE a single field VALUE
-def write with explicit message definition:
DEFINITION message definition to use instead of known definition
-h send hex write message:
ZZ destination address
PB SB primary/secondary command byte
NN number of following data bytes
DD data byte(s) to send
I played around with this options --latency=0 --acquiretimeout=30000 --answer
than point manually to config-file -c /etc/ebusd/ebusd-configuration
, but nothing changes problem that I get not identified scan results.
Do you think "sending" commands works? Any idea what i can do, or what could be the problem?
Regards Thomas
it is described in detail here, so you should follow that one first. and scanning or reading without the poti being adjusted well won't work/help here. the whole problem with the poti was the reason for us initiating the new adapter.
Dear John this morning I done the Poti-adjustment again, like you suggested. Remark: Done this before. (And in addition a looks with my oscilloscope to the Rx-Signal)
I startet from the "most left" Poti-adjustment that works with stable "<aa"
then go further to "the right (clockwise)" in small steps. Always checks step by step if now eBus participants answers. But no success.
What is strange to me, is that i reached the most right-position of the Poti and still get messages. Could this be an indication that something is wrong with my hardware eBUS Platine v1.6?
Regards Thomas
it is described in detail here, so you should follow that one first. and scanning or reading without the poti being adjusted well won't work/help here. the whole problem with the poti was the reason for us initiating the new adapter.
Hi @john30, Is there anywhere a PCB Schema for v2 or how can I get one? Thanks, Sebastian
if you never see a sent byte received again, this most probably indicates a damages send path on the adapter
@create1st for the time being you'd have to wait for the next mass order that will start sometime in autum this year
Dear All, yesterday I made a deep dive to how do the eBus Platine V1.6 works and now fully understand the electrical circuit. The Potentiometer for adjustments only impacts the "reading part", was a key learning. With my oscilloscope i could see that NO send command reaches the eBus. So what John mentioned is most properly truth. I now try to get a used V1.6 know as working in former times. I will give update here as soon as I can test it. Regards Thomas
Hi @create1st , since I have a working v2.2 I could send You my old v2 device. Just let me know how to contact You for details in case You're interested.
Cheers Kalle
Hi @create1st , since I have a working v2.2 I could send You my old v2 device. Just let me know how to contact You for details in case You're interested.
Cheers Kalle Hi @kalledausb catch me at sebastian.gil@gmail.com I’m from Poland BTW.
Today I received "the other" eBus Platine V1.6 and it immediately works like charm :-) This means the "sending-part" of my own V1.6-Platine has an defect.
What could be the indications, if "you" ever have a similar problem:
While running "scan full" you get [bus debug] notify request: ERR: read timeout
You never receives <31
With the "working reference" I hopefully can find the defect.
Greets Thomas
I have the same issue with mine :( Do you got it fixed?
Dear Samm-git, in my case it simply was a hardware problem. I replaced the e-bus platine and it worked fine. Regards Thomas
@twischi JFYI and for other members. I was able to fix mine! Describing for history, may be someone else will need that:
--latency 5000 --acquiretimeout=15000
- so far it works good, but in rare cases i am getting ACK error. Anyway, works good enough for me :)P.S. I been able to get rid of high latency settings using UART low latency flag.
closed due to inactivity
Dear All, today I again tried to get the ebusd running with my heating system.
My Vaillant Heating System is
I used a oscilloscope to adjust the potentiometer on eBUS Platine v1.6 and in addition followed the instructions
When I start ebusd
sudo ebusd --scanconfig --logfile=/var/log/ebusd.log --loglevel=debug -f
it looks fine in general
but is looks like that no equipmentment can be identified automatically
In a second terminal-window i call
sudo ebusctl scan full
and get many timeouts
In the "info" no identified equipmentment is shown:
I asked my self may there a problem in "sending" commands to the eBUS with the adapter? How can I test if sending to the bus works?
Regards Thomas