You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that with v1.1.9 AA and A9 data bytes in the master telegram are not escaped anymore. The change log entry for this is:
Remove escaping (0xAA and 0xA) master data bytes and master CRC on function EBusCommandUtils.buildPartMasterTelegram
Unfortunately this seems not to work with the Wolf BWS-06 I have. For the telegram (get number of burner starts):
FF -> 08: 5022 03 AA 26 02
I see in the dump of the eBus communication something like this:
ff 08 50 22 03 aa 26 02 6d
The aa is not escaped and this terminates the telegram early. There is no response from the BWS-06 device.
Sending a telegram in the openHab shell with AA does also not work:
openhab:ebus send "FF 08 50 22 03 AA 26 02"
The send telegram is invalid! Received SYN byte while receiving telegram! [ERROR: INVALID_SYN, DATA: FF 08 50 22 03 AA]
But sending the telegram with the escaped AA works:
openhab:ebus send "FF 08 50 22 03 A9 01 26 02"
I get this
openhab> openhab:ebus send "FF 08 50 22 03 A9 01 26 02"
Send telegram with id 1949926280, waiting for response ...
openhab> Status : Successful send 1949926280
Command ID: cgb2.boiler.starts:GET
Telegram : FF 08 50 22 03 AA 26 02 A5 00 02 3B 90 C5 00
Received values:
starts: 36923
For a test I changed the code in buildPartMasterTelegram() to escape AA/A9 again and then the telegram for getting the number of boiler starts work again.
I do not know if there are eBus devices which really expect plain AA as data bytes. This would IMHO violate the eBus protocol specification, because AA is the synchronization byte which mark the state "bus is free". If a AA is send as a data byte any eBus controller may acquire the bus and start to send another telegram.
May it be possible to add a configuration switch for either enabling escaping of the data bytes in the master telegram or do not escaping? Then the end user may configure that as needed for his system.
Thank you for your great work on this eBus driver!
The text was updated successfully, but these errors were encountered:
I noticed that with v1.1.9 AA and A9 data bytes in the master telegram are not escaped anymore. The change log entry for this is:
Remove escaping (0xAA and 0xA) master data bytes and master CRC on function EBusCommandUtils.buildPartMasterTelegram
Unfortunately this seems not to work with the Wolf BWS-06 I have. For the telegram (get number of burner starts):
FF -> 08: 5022 03 AA 26 02
I see in the dump of the eBus communication something like this:
ff 08 50 22 03 aa 26 02 6d
The aa is not escaped and this terminates the telegram early. There is no response from the BWS-06 device.
Sending a telegram in the openHab shell with AA does also not work:
But sending the telegram with the escaped AA works:
openhab:ebus send "FF 08 50 22 03 A9 01 26 02"
I get this
The dump of the eBus communication for this is:
For a test I changed the code in buildPartMasterTelegram() to escape AA/A9 again and then the telegram for getting the number of boiler starts work again.
I do not know if there are eBus devices which really expect plain AA as data bytes. This would IMHO violate the eBus protocol specification, because AA is the synchronization byte which mark the state "bus is free". If a AA is send as a data byte any eBus controller may acquire the bus and start to send another telegram.
May it be possible to add a configuration switch for either enabling escaping of the data bytes in the master telegram or do not escaping? Then the end user may configure that as needed for his system.
Thank you for your great work on this eBus driver!
The text was updated successfully, but these errors were encountered: