I had it working in resinOS and after switching to hassOS it isn’t working any more:
2018/10/17 00:26:57.834 <Info> BidCoS-Service started
2018/10/17 00:26:57.836 <Info> XmlRpc Server is listening on TCP port 2001
2018/10/17 00:26:57.838 <Debug> CCU2CommController::init() - Legacy initialization.
2018/10/17 00:27:02.840 <Debug> () CCU2CommController::startCoprocessorApp(): Trying to start coprocessor application
2018/10/17 00:27:03.340 CCU2CommController::startCoprocessorAppThreadFunction(): Send start command
2018/10/17 00:27:03.340 CCU2CommController::SendSystemCommdand()
2018/10/17 00:27:03.340 CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 00 03 18 0a
2018/10/17 00:27:04.341 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.
2018/10/17 00:27:06.342 CCU2CommController::startCoprocessorAppThreadFunction(): Retrying to send start command
2018/10/17 00:27:06.343 CCU2CommController::startCoprocessorAppThreadFunction(): Send start command
2018/10/17 00:27:06.344 CCU2CommController::SendSystemCommdand()
2018/10/17 00:27:06.345 CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 01 03 9e 09
2018/10/17 00:27:07.347 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.
2018/10/17 00:27:07.841 <Fatal error> CCU2CommController::init(): Init failed. Cannot start coprocessor application.
2018/10/17 00:27:07.842 CCU2CommController::SendSystemCommdand()
2018/10/17 00:27:07.843 CCU2CommController::SendSystemCommdand() sending: fd 00 04 00 02 0a 00 3d 10
2018/10/17 00:27:08.846 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.
2018/10/17 00:27:08.847 <Error> () CCU2CommController::setCSMACAEnabled(): Error disabling CSMA/CA.
2018/10/17 00:27:08.849 <Error> No BidCoS-Interface available
2018/10/17 00:27:08.849 <Warning> Error initializing interfaces
Luckily I have a backup SD-Card running with the resinOS version (same hardware) and there it is working with the following output:
2018/10/17 00:37:23.927 (OEQ0302381) CCU2CommController::handleIncomingSerialFrame(): Got an bidcos msg. Response waiting --> Handling as response...
2018/10/17 00:37:48.203 RX SERIAL: fd 00 04 01 83 04 04 87
2018/10/17 00:37:48.204 RX SERIAL: 1f
2018/10/17 00:37:48.204 RX FRAME: 01 83 04 04
2018/10/17 00:37:48.204 <Debug> (OEQ0302381) Response status: Send failed.
2018/10/17 00:37:48.204 (OEQ0302381) CCU2CommController::handleIncomingSerialFrame(): Got an bidcos msg. Response waiting --> Handling as response...
2018/10/17 00:37:48.204 (OEQ0302381) CCU2CommController::handleIncomingSerialFrame(): Response not ok
2018/10/17 00:37:48.204 <Debug> Event: LTK0123894:0.UNREACH=true
2018/10/17 00:37:48.205 <Debug> Event: LTK0123894:0.STICKY_UNREACH=true
2018/10/17 00:37:48.205 <Debug> HSSXmlRpcEventDispatcher::Handle send 1 events
2018/10/17 00:37:48.206 <Debug> SendFrame failed 1 times: @2131175045 0x777777 -> 0x323577 CONFIG_STATUS_REQ [OEQ0302381]:
CNT=9,RPTEN=1,RPTED=0,BIDI=1,BURST=0,WAKEUP=0,WAKEMEUP=0,BCAST=0,TYPE=0x01
CONFIG_CHANNEL = 2
2018/10/17 00:37:48.206 <Error> RFPhysicalDataInterfaceCommand::GetData SendFrame failed for LEVEL_GET
2018/10/17 00:37:48.206 <Error> HSSParameter::GetValue() id=ENERGY_COUNTER failed getting physical value.
2018/10/17 00:37:48.218 <Debug> FREQUENCY age=2111 timestamp=2131174139
2018/10/17 00:37:48.218 <Debug> TX: @2131176251 0x777777 -> 0x323AD5 CONFIG_STATUS_REQ [OEQ0302381]:
CNT=109,RPTEN=1,RPTED=0,BIDI=1,BURST=0,WAKEUP=0,WAKEMEUP=0,BCAST=0,TYPE=0x01
CONFIG_CHANNEL = 2
2018/10/17 00:37:48.218 CCU2CommController::sendBidcosMessage(): Using burstMode=0
2018/10/17 00:37:48.244 <Debug> HSSXmlRpcEventDispatcher::Handle send completed
2018/10/17 00:37:48.244 <Debug> HSSXmlRpcEventDispatcher::Handle send 1 events
2018/10/17 00:37:48.256 <Debug> HSSXmlRpcEventDispatcher::Handle send completed
2018/10/17 00:37:48.378 RX SERIAL: fd 00 04 01 84 04 02 07
2018/10/17 00:37:48.379 RX SERIAL: 64
2018/10/17 00:37:48.379 RX FRAME: 01 84 04 02
2018/10/17 00:37:48.379 <Debug> (OEQ0302381) Response status: Telegram sent successfully.
2018/10/17 00:37:48.379 (OEQ0302381) CCU2CommController::handleIncomingSerialFrame(): Got an bidcos msg. Response waiting --> Handling as response...
2018/10/17 00:37:48.379 (OEQ0302381) CCU2CommController::handleIncomingSerialFrame(): Response ok
2018/10/17 00:37:48.384 RX SERIAL: fd 00 1a 01 2b 05 01 00
2018/10/17 00:37:48.385 RX SERIAL: 43 6d a4 5f 32 3a d5 77
2018/10/17 00:37:48.385 RX SERIAL: 77 77 80 a0 ba 00 03 f0
2018/10/17 00:37:48.386 RX SERIAL: 00 51 08 fa ff b0 a4
2018/10/17 00:37:48.386 RX FRAME: 01 2b 05 01 00 43 6d a4 5f 32 3a d5 77 77 77 80 a0 ba 00 03 f0 00 51 08 fa ff
2018/10/17 00:37:48.386 (OEQ0302381) CCU2CommController::handleIncomingSerialFrame(): Handling event telegram as event.
2018/10/17 00:37:48.386 <Debug> Response accepted: @2131176419 RSSI=-67dB 0x323AD5 -> 0x777777 Generic [OEQ0302381]:
CNT=109,RPTEN=1,RPTED=0,BIDI=1,BURST=0,WAKEUP=0,WAKEMEUP=0,BCAST=1,TYPE=0x5F
DATA = 80 A0 BA 00 03 F0 00 51 08 FA FF
2018/10/17 00:37:48.387 <Debug> Event: LTK0123327:2.BOOT=true
2018/10/17 00:37:48.387 <Debug> Event: LTK0123327:2.ENERGY_COUNTER=4114.600000
2018/10/17 00:37:48.387 <Debug> Event: LTK0123327:2.POWER=10.080000
2018/10/17 00:37:48.387 <Debug> HSSXmlRpcEventDispatcher::Handle send 1 events
2018/10/17 00:37:48.387 <Debug> Event: LTK0123327:2.CURRENT=81.000000
2018/10/17 00:37:48.388 <Debug> Event: LTK0123327:2.VOLTAGE=229.800000
2018/10/17 00:37:48.388 <Debug> Event: LTK0123327:2.FREQUENCY=49.990000
2018/10/17 00:37:48.395 <Debug> ENERGY_COUNTER age=9 timestamp=2131176419
2018/10/17 00:37:48.429 <Debug> HSSXmlRpcEventDispatcher::Handle send completed
2018/10/17 00:37:48.429 <Debug> HSSXmlRpcEventDispatcher::Handle send 5 events
2018/10/17 00:37:48.579 <Debug> HSSXmlRpcEventDispatcher::Handle send completed
2018/10/17 00:38:53.883 RX SERIAL: fd 00 15 01 2c 05 00 00
2018/10/17 00:38:53.884 RX SERIAL: 32 f4 86 10 56 84 56 00
2018/10/17 00:38:53.885 RX SERIAL: 00 00 0a 88 e1 0d 00 00
2018/10/17 00:38:53.885 RX SERIAL: 90 2d
2018/10/17 00:38:53.886 RX FRAME: 01 2c 05 00 00 32 f4 86 10 56 84 56 00 00 00 0a 88 e1 0d 00 00
2018/10/17 00:38:53.887 (OEQ0302381) CCU2CommController::handleIncomingSerialFrame(): Handling event telegram as event.
2018/10/17 00:38:53.888 <Debug> RX for OEQ0240004: @2131241920 RSSI=-50dB 0x568456 -> 0x000000 Generic [OEQ0302381]:
CNT=116,RPTEN=1,RPTED=0,BIDI=0,BURST=0,WAKEUP=0,WAKEMEUP=1,BCAST=1,TYPE=0x10
DATA = 0A 88 E1 0D 00 00
But I have no idea why it isn’t working any more!