Can´t get Homematic Addon working

Hello.

I can´t get the Homematic Addon to work.

When i start the addon it gives me some Errors and Fatal Errors.

Please have a look at the Addon Log:

172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "GET /webui/js/lang/de/translate.lang.js?_=1612186590109 HTTP/1.1" 200 68838 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "GET /webui/js/lang/de/translate.lang.extension.js?_=1612186590110 HTTP/1.1" 200 105906 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "GET /webui/webui.js?_version_=2.0pre1 HTTP/1.1" 200 1639737 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "GET /webui/js/lang/de/translate.lang.stringtable.js?_=1612186590111 HTTP/1.1" 200 81808 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "GET /webui/js/lang/de/translate.lang.deviceDescription.js?_=1612186590112 HTTP/1.1" 200 19594 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "GET /webui/js/lang/de/translate.lang.diagram.js?_=1612186590113 HTTP/1.1" 200 9987 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "GET /webui/js/lang/de/translate.lang.group.js?_=1612186590114 HTTP/1.1" 200 2525 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "GET /webui/js/lang/de/translate.lang.system.js?_=1612186590115 HTTP/1.1" 200 1924 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "GET /webui/js/lang/de/translate.lang.channelDescription.js?_=1612186590116 HTTP/1.1" 200 9204 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "GET /webui/js/lang/de/translate.lang.help.js?_=1612186590117 HTTP/1.1" 200 81 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "GET /webui/js/lang/de/translate.lang.notTranslated.js?_=1612186590118 HTTP/1.1" 200 6439 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "GET /webui/js/mainmenu/admin.js?_version_=3.55.5 HTTP/1.1" 200 3557 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:32 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 63 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 1193 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 61 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 85 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 90 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 55 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 55 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 63 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "GET /ise/htm/header.htm?_=1612186590119 HTTP/1.1" 200 1237 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 63 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /pages/tabs/startpage.htm?sid=@epj3coj3r8@ HTTP/1.1" 200 1730 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 175 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 63 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 745 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 63 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 64 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 88 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:33 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 63 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:34 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 63 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:34 +0100] "GET /ise/img/homematic_logo_small.png HTTP/1.1" 200 22405 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:34 +0100] "GET /ise/img/ajaxload.gif HTTP/1.1" 200 2955 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:34 +0100] "GET /ise/img/dot/grey.png HTTP/1.1" 200 1434 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:34 +0100] "GET /ise/img/loading.gif HTTP/1.1" 200 15355 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
172.30.32.2 - - [01/Feb/2021:14:36:34 +0100] "POST /api/homematic.cgi HTTP/1.1" 200 61 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
2021/02/01 14:36:36.431 <Debug> () CCU2CommController::startCoprocessorApp(): Trying to start coprocessor application
2021/02/01 14:36:36.932  CCU2CommController::startCoprocessorAppThreadFunction(): Send start command
2021/02/01 14:36:36.932  CCU2CommController::SendSystemCommdand()
2021/02/01 14:36:36.932  CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 00 03 18 0a 
2021/02/01 14:36:37.933 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.
2021/02/01 14:36:39.933  CCU2CommController::startCoprocessorAppThreadFunction(): Retrying to send start command
2021/02/01 14:36:39.933  CCU2CommController::startCoprocessorAppThreadFunction(): Send start command
2021/02/01 14:36:39.933  CCU2CommController::SendSystemCommdand()
2021/02/01 14:36:39.933  CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 01 03 9e 09 
2021/02/01 14:36:40 [info] 531#531: *13 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while sending request to upstream, client: 172.30.32.2, server: _, request: "POST /api/homematic.cgi HTTP/1.1", upstream: "http://127.0.0.1:80/api/homematic.cgi", host: "192.168.35.95:8123"
172.30.32.2 - - [01/Feb/2021:14:36:40 +0100] "POST /api/homematic.cgi HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
2021/02/01 14:36:40 [info] 531#531: *11 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while sending request to upstream, client: 172.30.32.2, server: _, request: "POST /api/homematic.cgi HTTP/1.1", upstream: "http://127.0.0.1:80/api/homematic.cgi", host: "192.168.35.95:8123"
172.30.32.2 - - [01/Feb/2021:14:36:40 +0100] "POST /api/homematic.cgi HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
2021/02/01 14:36:40 [info] 531#531: *1 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while sending request to upstream, client: 172.30.32.2, server: _, request: "POST /api/homematic.cgi HTTP/1.1", upstream: "http://127.0.0.1:80/api/homematic.cgi", host: "192.168.35.95:8123"
172.30.32.2 - - [01/Feb/2021:14:36:40 +0100] "POST /api/homematic.cgi HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
2021/02/01 14:36:40 [info] 531#531: *17 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while sending request to upstream, client: 172.30.32.2, server: _, request: "POST /api/homematic.cgi HTTP/1.1", upstream: "http://127.0.0.1:80/api/homematic.cgi", host: "192.168.35.95:8123"
172.30.32.2 - - [01/Feb/2021:14:36:40 +0100] "POST /api/homematic.cgi HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
2021/02/01 14:36:40 [info] 531#531: *9 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while sending request to upstream, client: 172.30.32.2, server: _, request: "POST /api/homematic.cgi HTTP/1.1", upstream: "http://127.0.0.1:80/api/homematic.cgi", host: "192.168.35.95:8123"
172.30.32.2 - - [01/Feb/2021:14:36:40 +0100] "POST /api/homematic.cgi HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
2021/02/01 14:36:40 [info] 531#531: *6 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while sending request to upstream, client: 172.30.32.2, server: _, request: "POST /api/homematic.cgi HTTP/1.1", upstream: "http://127.0.0.1:80/api/homematic.cgi", host: "192.168.35.95:8123"
172.30.32.2 - - [01/Feb/2021:14:36:40 +0100] "POST /api/homematic.cgi HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
2021/02/01 14:36:40.934 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.
2021/02/01 14:36:41.433 <Fatal error> CCU2CommController::init(): Init failed. Cannot start coprocessor application.
2021/02/01 14:36:41.433  CCU2CommController::SendSystemCommdand()
2021/02/01 14:36:41.433  CCU2CommController::SendSystemCommdand() sending: fd 00 04 00 02 0a 00 3d 10 
2021/02/01 14:36:42.434 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.
2021/02/01 14:36:42.434 <Error> () CCU2CommController::setCSMACAEnabled(): Error disabling CSMA/CA.
2021/02/01 14:36:42.436 <Error> No BidCoS-Interface available
2021/02/01 14:36:42.436 <Warning> Error initializing interfaces
2021-02-01 14:36:42,446 [ERROR] BidCosRpcDispatcher - Could not register BidCos-RF_java
2021-02-01 14:36:42,454 [ERROR] BidCosRpcDispatcher - Could not register BidCos-RF_java
[14:36:42] INFO: Starting rfd...
2021/02/01 14:36:42.803 <Info> BidCoS-Service started
2021/02/01 14:36:42.803 <Info> XmlRpc Server is listening on TCP port 2001
2021/02/01 14:36:42.805 <Debug> CCU2CommController::init() - Legacy initialization.
2021/02/01 14:36:47.807 <Debug> () CCU2CommController::startCoprocessorApp(): Trying to start coprocessor application
2021/02/01 14:36:48.308  CCU2CommController::startCoprocessorAppThreadFunction(): Send start command
2021/02/01 14:36:48.308  CCU2CommController::SendSystemCommdand()
2021/02/01 14:36:48.308  CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 00 03 18 0a 
2021/02/01 14:36:49.309 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.
2021/02/01 14:36:51.309  CCU2CommController::startCoprocessorAppThreadFunction(): Retrying to send start command
2021/02/01 14:36:51.309  CCU2CommController::startCoprocessorAppThreadFunction(): Send start command
2021/02/01 14:36:51.309  CCU2CommController::SendSystemCommdand()
2021/02/01 14:36:51.309  CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 01 03 9e 09 
2021/02/01 14:36:52.310 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.
2021/02/01 14:36:52.809 <Fatal error> CCU2CommController::init(): Init failed. Cannot start coprocessor application.
2021/02/01 14:36:52.809  CCU2CommController::SendSystemCommdand()
2021/02/01 14:36:52.809  CCU2CommController::SendSystemCommdand() sending: fd 00 04 00 02 0a 00 3d 10 
2021/02/01 14:36:53.810 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.
2021/02/01 14:36:53.810 <Error> () CCU2CommController::setCSMACAEnabled(): Error disabling CSMA/CA.
2021/02/01 14:36:53.814 <Error> No BidCoS-Interface available
2021/02/01 14:36:53.814 <Warning> Error initializing interfaces
2021-02-01 14:36:53,816 [ERROR] BidCosRpcDispatcher - Could not register BidCos-RF_java
2021-02-01 14:36:53,823 [ERROR] BidCosRpcDispatcher - Could not register BidCos-RF_java
[14:36:54] INFO: Starting rfd...
2021/02/01 14:36:54.175 <Info> BidCoS-Service started
2021/02/01 14:36:54.176 <Info> XmlRpc Server is listening on TCP port 2001
2021/02/01 14:36:54.178 <Debug> CCU2CommController::init() - Legacy initialization.

Hardware:
Raspberry Pi 3B+ with the original power supply
Homematic HM-MOD-RPI-PCB (newest Firmware)

It would be very nice if someone can give me an hint whats wrong here :slight_smile:

1 Like

Perhaps we should move the discussion to the community forum.

Some links also talking about getting the module up and running


This is where I started with the GIST of FloThinksPi


and this is the last post I did in the GIST, before I made the call to move over to the discussion on the community forum.

I got a little further, after digging into some documentation.

This is what I added to config.txt

enable_uart=1
dtoverlay=pi3-miniuart-bt
dtoverlay=uart1
dtoverlay=disable-bt

Now the bluetooth interface seems to be disabled and the module can be addressed using /dev/ttyAMA0 the previous was with only this lines

enable_uart=1
dtoverlay=pi3-miniuart-bt

The problem is, even though the log now says

2021/02/08 19:29:07.826  RX SERIAL: fd 00 0c 00 00 00 43 6f 
2021/02/08 19:29:07.827  RX SERIAL: 5f 43 50 55 5f 42 4c 72 
2021/02/08 19:29:07.827  RX SERIAL: 51 
2021/02/08 19:29:07.827  RX FRAME: 00 00 00 43 6f 5f 43 50 55 5f 42 4c 
2021/02/08 19:29:07.827 <Debug> () CCU2CommController::handleIdentifyEvent(): Handling incoming identify event.
2021/02/08 19:29:07.827 <Debug> () CCU2CommController::handleIdentifyEvent(): Coprocessor entered bootloader. Starting application.
2021/02/08 19:29:07.828 <Debug> () CCU2CommController::startCoprocessorApp(): Trying to start coprocessor application
2021/02/08 19:29:07 [notice] 453#453: using the "epoll" event method
2021/02/08 19:29:07 [notice] 453#453: nginx/1.18.0
2021/02/08 19:29:07 [notice] 453#453: OS: Linux 5.4.79-v7
2021/02/08 19:29:07 [notice] 453#453: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2021/02/08 19:29:07 [notice] 453#453: start worker processes
2021/02/08 19:29:07 [notice] 453#453: start worker process 533
2021/02/08 19:29:08.329  CCU2CommController::startCoprocessorAppThreadFunction(): Send start command
2021/02/08 19:29:08.331  CCU2CommController::SendSystemCommdand()
2021/02/08 19:29:08.333  CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 00 03 18 0a 
2021/02/08 19:29:08.763  RX SERIAL: fd 00 04 00 00 04 01 99 
2021/02/08 19:29:08.763  RX SERIAL: 3d 
2021/02/08 19:29:08.764  RX FRAME: 00 00 04 01 
2021/02/08 19:29:08.776  RX SERIAL: fd 00 0d 00 00 00 43 6f 
2021/02/08 19:29:08.776  RX SERIAL: 5f 43 50 55 5f 41 70 70 
2021/02/08 19:29:08.777  RX SERIAL: d8 31 
2021/02/08 19:29:08.777  RX FRAME: 00 00 00 43 6f 5f 43 50 55 5f 41 70 70 
2021/02/08 19:29:08.777 <Debug> () CCU2CommController::handleIdentifyEvent(): Handling incoming identify event.
2021/02/08 19:29:08.778 <Debug> () CCU2CommController::handleIdentifyEvent(): Coprocessor entered application. Life is good.
2021/02/08 19:29:08.791  CCU2CommController::SendSystemCommdand()
2021/02/08 19:29:08.791  CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 01 02 1e 0c 
2021/02/08 19:29:08.793  RX SERIAL: fd 00 0a 00 01 04 02 01 
2021/02/08 19:29:08.794  RX SERIAL: 00 03 01 04 01 be 8a 
2021/02/08 19:29:08.795  RX FRAME: 00 01 04 02 01 00 03 01 04 01 
2021/02/08 19:29:08.795 <Info> CCU2CommController::init(): Coprocessor Bootloader Version is: 1.0.3
2021/02/08 19:29:08.795 <Info> CCU2CommController::init(): Coprocessor Firmware Version is: 1.4.1
2021/02/08 19:29:08.795  CCU2CommController::SendSystemCommdand()
2021/02/08 19:29:08.795  CCU2CommController::SendSystemCommdand() sending: fd 00 04 00 02 0a 00 3d 10 
2021/02/08 19:29:08.797  RX SERIAL: fd 00 04 00 02 04 01 19 
2021/02/08 19:29:08.797  RX SERIAL: 16 
2021/02/08 19:29:08.798  RX FRAME: 00 02 04 01 
2021/02/08 19:29:08.798 <Info> () CCU2CommController::setCSMACAEnabled(): CSMA/CA disabled.
2021/02/08 19:29:08.798  CCU2CommController::SendSystemCommdand()
2021/02/08 19:29:08.798  CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 03 0b 92 39 
2021/02/08 19:29:08.800  RX SERIAL: fd 00 0e 00 03 04 02 50 
2021/02/08 19:29:08.801  RX SERIAL: 45 51 30 35 33 32 30 36 
2021/02/08 19:29:08.802  RX SERIAL: 33 b6 92 
2021/02/08 19:29:08.802  RX FRAME: 00 03 04 02 50 45 51 30 35 33 32 30 36 33 
2021/02/08 19:29:08.802  CCU2CommController::SendSystemCommdand()
2021/02/08 19:29:08.802  CCU2CommController::SendSystemCommdand() sending: fd 00 08 00 04 0e 60 21 82 f4 02 5e 88 
2021/02/08 19:29:08.805  RX SERIAL: fd 00 04 00 04 04 01 19 
2021/02/08 19:29:08.805  RX SERIAL: 6e 
2021/02/08 19:29:08.805  RX FRAME: 00 04 04 01 
2021/02/08 19:29:08.805 <Debug> Default interface is now PEQ0532063
2021/02/08 19:29:08.806 <Info> Current AES key=0, previous AES key=0
2021/02/08 19:29:08.806  CCU2BidcosRemoteInterface::SetAesKeyUser(): Trying to change user keys...
2021/02/08 19:29:08.808  RX SERIAL: fd 00 04 01 05 04 0b 0d 
2021/02/08 19:29:08.809  RX SERIAL: 46 
2021/02/08 19:29:08.809  RX FRAME: 01 05 04 0b 
2021/02/08 19:29:08.809 <Debug> (PEQ0532063) Response status: Input wrong.
2021/02/08 19:29:08.809  (PEQ0532063) CCU2CommController::handleIncomingSerialFrame(): Got an bidcos msg. Response waiting --> Handling as response...
2021/02/08 19:29:08.809  (PEQ0532063) CCU2CommController::handleIncomingSerialFrame(): Response not ok
2021/02/08 19:29:08.809  CCU2BidcosRemoteInterface::SetAesKeyUser(): Previous key empty. Skip setting previous key.
2021/02/08 19:29:08.809 <Debug> CCU2BidcosRemoteInterface::StartInterface(): addr=6a 5d 61 
2021/02/08 19:29:08.812  RX SERIAL: fd 00 04 01 06 04 01 0d 
2021/02/08 19:29:08.812  RX SERIAL: 46 
2021/02/08 19:29:08.812  RX FRAME: 01 06 04 01 
2021/02/08 19:29:08.812 <Debug> (PEQ0532063) Response status: OK.
2021/02/08 19:29:08.812  (PEQ0532063) CCU2CommController::handleIncomingSerialFrame(): Got an bidcos msg. Response waiting --> Handling as response...
2021/02/08 19:29:08.812  (PEQ0532063) CCU2CommController::handleIncomingSerialFrame(): Response ok
2021/02/08 19:29:08.841 <Debug> Device description rf_cfm.xml loaded (1)
2021/02/08 19:29:08.868 <Debug> Device description rf_dim_1t_644_le_v2_4.xml loaded (2)
2021/02/08 19:29:08.882 <Debug> Device description rf_sec_sfa.xml loaded (3)
2021/02/08 19:29:08.887 <Debug> Device description rf_tis_le_v1_0.xml loaded (4)
2021/02/08 19:29:08.904 <Debug> Device description rf_bl_644.xml loaded (5)
2021/02/08 19:29:08.929 <Debug> Device description rf_dim_1pwm_644.xml loaded (6)
2021/02/08 19:29:08.936 <Debug> Device description rf_sec_sco.xml loaded (7)

and life seems good :wink: the WebUI is stuck at the loading screen forever.

image

This is the information I see in the log while opening the webui

172.30.32.2 - - [08/Feb/2021:19:39:21 +0100] "GET /webui/js/lang/de/translate.lang.system.js?_=1612809560379 HTTP/1.1" 200 1924 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"
172.30.32.2 - - [08/Feb/2021:19:39:21 +0100] "GET /webui/js/lang/de/translate.lang.channelDescription.js?_=1612809560380 HTTP/1.1" 200 9204 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"
172.30.32.2 - - [08/Feb/2021:19:39:21 +0100] "GET /webui/js/lang/de/translate.lang.help.js?_=1612809560381 HTTP/1.1" 200 81 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"
172.30.32.2 - - [08/Feb/2021:19:39:22 +0100] "GET /webui/js/lang/de/translate.lang.notTranslated.js?_=1612809560382 HTTP/1.1" 200 6439 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"
2021/02/08 19:39:27.371  RX SERIAL: fd 00 12 01 23 05 00 00 
2021/02/08 19:39:27.371  RX SERIAL: 4a 41 84 70 64 65 4d 00 
2021/02/08 19:39:27.372  RX SERIAL: 00 00 00 e8 28 e3 be 
2021/02/08 19:39:27.373  RX FRAME: 01 23 05 00 00 4a 41 84 70 64 65 4d 00 00 00 00 e8 28 
2021/02/08 19:39:27.373  (PEQ0532063) CCU2CommController::handleIncomingSerialFrame(): Handling event telegram as event.

There was an update for Home Assistant OS and the Homematic Addon.

So now its Home Assistant OS 5.11 and Homematic Addon 11.1.0 for me.

Now i can´t even save the default configuration for the Homematic Addon, what the heck?

I´ve added dtoverlay=uart1 and dtoverlay=disable-bt to my config.txt from above.

Heeeelp :joy:

Thats the Configuration from the Documentation and i can´t save it. Why?

rf_enable: true
wired_enable: false
hmip_enable: false
rf:
  - type: CCU2
    device: /dev/ttyAMA0
wired:
  - serial: xy
    key: abc
    ip: 192.168.0.0
hmip:
  - type: HMIP_CCU2
    device: /dev/ttyAMA0
regahss_reset: false

works for me, but you need to be very specific about the spaces used and increments and I figured out, because there is no ttyUSB0 interface it throws an error. I tried to use ttyS0and ttyAMA0 and both setting allowed me to save the configuration.

Thanks for posting your config!
The “base settings” seem to work now. Great! :smiley:

The Addon Log also looks good so far

I just need to test if “all” settings from every device works well, but i guess it will.

Already added some devices.

But there are still some “little” issues:

  • When i try to open up the “general settings” tab, the UI turns gray and it throws me some errors in the Addon Log

  • When i click on the “new firmware available” Hyperlink on the UI, the screen also turns gray and nothing happens.

How did you fix your WebUI not staying at the loading page forever, because this is my main issue right now.

Well thats a good question. The WebUI loaded up in some seconds for me.

Do you tried another browser maybe? I´m using Google Chrome (newest version of course) and i´m having no loading issues so far.

I tested three browsers

  • Firefox
  • Chrome
  • Edge

On 2 different machines and struggling :frowning: always having the same issue butt …

Update 10.02.2012
I disabled the ingress support for the plugin and configured a port. This works now, so ingress seems to be broken :wink: but with a port directly accessing the add-on it works :slight_smile:

Sorry was quite busy for some time :slight_smile:
I also have this issue now, however it looks like the Javascript that runs in the browser when opening homematic page is just super slow. After a minute the occu web interface loads fine with ingress and one can use it normally. Kind of strange :confused:

To get to the original thing wih the Coprocessor firmware jens-maus commented on my docu PR stating that the firmware is not a speacial one, it is a newer one witch supports HM-IP (dualcopro_si1002_update_blhm.eq3)

So yea i may try out this occu firmware for the uart module, i suspoect our plugin does not really work with that version and thats why wen i plug in the module on a raspberry matic it wont work anymore one the homematic plugin until i flash the coprocessor_update.eq3

So maybe we find out why the newer one does not work and get it to work, that would be cool :slight_smile:

Honestly, this is too much tinkering for something which should be stable.
I put my energy (and hope) into the RaspberryMatic Addon which Jens is working on

This is going be the only stable and future proof implementation.