Closed JPHsProjects closed 5 years ago
Hi @JPHsProjects : I also get the same warning but the wireless connection to Homematic devices still works. Are you able to also discover your wireless devices or are you only using wired homematic devices?
The error comes because the wired controler is not getting initialised. The virtual devices do not work because they depend on the new dual stack for Homematic IP which depends on a kernel module on the host (so not really good handling with docker).
I think it should be able to disable the wired stack controller in rega so the warning does not show up - I tried some months ago but I quickly gave up since the error was only a cosmetic problem for me.
I am planning to add support for the Homematic IP USB controller during the vacations so I can run one container for Homematic and another for Homematic IP (and avoid depending on kernel modules). I will keep an eye on finding a way to disable the error pop-up.
Hello @angelnu, thank you very much for your quick response! Cosmetics are irrelevant for me, as I would like to use the CCU2 only as interface between OpenHab and the wireless HomeMatic roller shutters. But, unfortunately the discovery mode seems not to work ...
The screenshot shows the view with CCU2 in the Docker container:
Followed by this message:
The PIVCCU based installation looks more complete - using the same RF module on the same raspberry Pi:
I could compare a little between the two (not fully, as PIVCCU is based on an Lxc container, but I can reach at least both consoles to check something out...), but I need some hints what to check out.
Is there some command to inspect the messages or debug information from the CCU2 console?
I just learned that the SSH console of the CCU2 does not expose the same file system as if logged into the root of the container.
To get to the SSH shell, I moved the port for the Raspberry shell to elsewhere, added -p 22:22
to the ./deploy.sh
script and activated SSH in the CCU webinterface.
So from the SSH shell of the CCU, I found some hints:
cat /var/log/messages
revealed:
Dec 21 21:34:03 ccu2 user.err update-coprocessor: CCU2CommControllerMod::performIdentify(): Unable to determine coprocessor state.
Dec 21 21:34:03 ccu2 user.err update-coprocessor: CCU2CommControllerMod::performIdentify(): Unable to determine coprocessor state.
Dec 21 21:34:03 ccu2 user.err update-coprocessor: CCU2CommControllerMod::performIdentify(): Unable to determine coprocessor state.
Dec 21 21:34:24 ccu2 user.crit rfd: CCU2CommController::init(): Init failed. Cannot start coprocessor application.
Dec 21 21:34:25 ccu2 user.err rfd: () CCU2CommController::setCSMACAEnabled(): Error disabling CSMA/CA.
Dec 21 21:34:25 ccu2 user.err rfd: No BidCoS-Interface available
Dec 21 21:34:31 ccu2 user.info : hss_lcd: Programm initialisiert.
Dec 21 21:34:31 ccu2 user.err : /sys/class/leds/power/trigger kann nicht zugegriffen werden
Dec 21 21:34:37 ccu2 user.debug setclock: Try to get time from ntp.homematic.com
cat /var/log/hmserver.log
revealed:
Dec 21 21:34:40 de.eq3.cbcs.server.local.base.internal.LocalServerAdapterInitialization ERROR [vert.x-eventloop-thread-1] Error 'LOCAL_ADAPTER_NO_SUCH_PORT' while trying to open port '/dev/ttyS0':
de.eq3.cbcs.lib.commdevice.CommDeviceException: Exception while trying to open serial port. Check configured port '/dev/ttyS0'
at de.eq3.cbcs.lib.nrjavaserialdevice.SerialCommDevice.open(SerialCommDevice.java:109)
at de.eq3.cbcs.lib.hmiptrxcommadapter.HomeMaticIPTRXCommAdapter.open(HomeMaticIPTRXCommAdapter.java:737)
at de.eq3.cbcs.lib.hmiptrxcommadapter.HomeMaticIPTRXCommAdapter.<init>(HomeMaticIPTRXCommAdapter.java:102)
at de.eq3.cbcs.server.local.base.internal.ShareableHomeMaticIPTRXCommAdapter.<init>(ShareableHomeMaticIPTRXCommAdapter.java:25)
at de.eq3.cbcs.server.local.base.internal.LocalServerAdapterInitialization.start(LocalServerAdapterInitialization.java:182)
at io.vertx.core.AbstractVerticle.start(AbstractVerticle.java:111)
at io.vertx.core.impl.DeploymentManager.lambda$doDeploy$8(DeploymentManager.java:434)
at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:337)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:445)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at java.lang.Thread.run(Thread.java:745)
Caused by: gnu.io.NoSuchPortException
at gnu.io.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:294)
at de.eq3.cbcs.lib.nrjavaserialdevice.SerialCommDevice.open(SerialCommDevice.java:100)
... 12 more
the log in your first post shows the problem starting the rfd daemon: it fails to connect to the antenna module. From your boot settings I do not see that you disabled the Bluetoth device so I expect it is using the same UART as the Homematic adapter. Please check this link from the readme.
Btw: I just got the USB adapter for Homematic IP to work so it will be possible to use both with my docker container. Unfortunately not with only one antenna....
@angelnu Thank you for your quick response!
The container is running on a Raspberry Pi 2, which has no Bluetooth module, so there is nothing to disable. That the eq3configcmd update-coprocessor
commands work fine, leads me to the assumption that the serial communication is OK. But for some reason the rfd does not use it properly.
If I issue rfd -l 0 -c
right at the start of the container I see sometimes this output:
# rfd -l 0 -c
Config file is /etc/config/rfd.conf
2018/12/21 22:37:35.120 <Info> BidCoS-Service started
2018/12/21 22:37:35.121 <Info> XmlRpc Server is listening on TCP port 2001
2018/12/21 22:37:35.126 <Debug> CCU2CommController::init() - Legacy initialization.
2018/12/21 22:37:35.161 RX SERIAL: fd 00 0c 00 00 00 43 6f
2018/12/21 22:37:35.162 RX SERIAL: 5f 43 50 55 5f 42 4c 72
2018/12/21 22:37:35.163 RX SERIAL: 51
2018/12/21 22:37:35.163 RX FRAME: 00 00 00 43 6f 5f 43 50 55 5f 42 4c
2018/12/21 22:37:35.163 <Debug> () CCU2CommController::handleIdentifyEvent(): Handling incoming identify event.
2018/12/21 22:37:35.163 <Debug> () CCU2CommController::handleIdentifyEvent(): Coprocessor entered bootloader. Starting application.
2018/12/21 22:37:35.163 <Debug> () CCU2CommController::startCoprocessorApp(): Trying to start coprocessor application
2018/12/21 22:37:35.664 CCU2CommController::startCoprocessorAppThreadFunction(): Send start command
2018/12/21 22:37:35.664 CCU2CommController::SendSystemCommdand()
2018/12/21 22:37:35.664 CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 00 03 18 0a
2018/12/21 22:37:36.194 RX SERIAL: fd 00 04 00 00 04 01 99
2018/12/21 22:37:36.194 RX SERIAL: 3d
2018/12/21 22:37:36.195 RX FRAME: 00 00 04 01
2018/12/21 22:37:36.227 RX SERIAL: fd 00 10 fe 01 00 44 75
2018/12/21 22:37:36.229 RX SERIAL: 61 6c 43 6f 50 72 6f 5f
2018/12/21 22:37:36.230 RX SERIAL: 41 70 70 b7 36
2018/12/21 22:37:36.230 RX FRAME: fe 01 00 44 75 61 6c 43 6f 50 72 6f 5f 41 70 70
2018/12/21 22:37:36.230 CCU2CoprocessorCommand::CCU2CoprocessorCommand(): Unknown command type: fe (hex).
2018/12/21 22:37:36.230 <Debug> () CCU2CommController::handleIncomingSerialFrame(): Command not parseable.
2018/12/21 22:37:40.127 <Debug> () CCU2CommController::startCoprocessorApp(): Trying to start coprocessor application
2018/12/21 22:37:40.628 CCU2CommController::startCoprocessorAppThreadFunction(): Send start command
2018/12/21 22:37:40.628 CCU2CommController::SendSystemCommdand()
2018/12/21 22:37:40.628 CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 01 03 9e 09
2018/12/21 22:37:40.630 RX SERIAL: fd 00 02 ff 01 82 05
2018/12/21 22:37:40.631 RX FRAME: ff 01
2018/12/21 22:37:40.631 CCU2CoprocessorCommand::CCU2CoprocessorCommand(): Message too small: 2 bytes.
2018/12/21 22:37:40.631 <Debug> () CCU2CommController::handleIncomingSerialFrame(): Command not parseable.
2018/12/21 22:37:41.629 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.
2018/12/21 22:37:43.629 CCU2CommController::startCoprocessorAppThreadFunction(): Retrying to send start command
2018/12/21 22:37:43.629 CCU2CommController::startCoprocessorAppThreadFunction(): Send start command
2018/12/21 22:37:43.629 CCU2CommController::SendSystemCommdand()
2018/12/21 22:37:43.629 CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 02 03 94 09
2018/12/21 22:37:43.632 RX SERIAL: fd 00 02 ff 02 82 0f
2018/12/21 22:37:43.632 RX FRAME: ff 02
2018/12/21 22:37:43.632 CCU2CoprocessorCommand::CCU2CoprocessorCommand(): Message too small: 2 bytes.
2018/12/21 22:37:43.632 <Debug> () CCU2CommController::handleIncomingSerialFrame(): Command not parseable.
2018/12/21 22:37:44.630 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.
2018/12/21 22:37:45.128 <Fatal error> CCU2CommController::init(): Init failed. Cannot start coprocessor application.
2018/12/21 22:37:45.129 CCU2CommController::SendSystemCommdand()
2018/12/21 22:37:45.129 CCU2CommController::SendSystemCommdand() sending: fd 00 04 00 03 0a 00 bd 07
2018/12/21 22:37:45.131 RX SERIAL: fd 00 02 ff 03 02 0a
2018/12/21 22:37:45.132 RX FRAME: ff 03
2018/12/21 22:37:45.132 CCU2CoprocessorCommand::CCU2CoprocessorCommand(): Message too small: 2 bytes.
2018/12/21 22:37:45.132 <Debug> () CCU2CommController::handleIncomingSerialFrame(): Command not parseable.
2018/12/21 22:37:46.129 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.
2018/12/21 22:37:46.129 <Error> () CCU2CommController::setCSMACAEnabled(): Error disabling CSMA/CA.
2018/12/21 22:37:46.130 <Error> No BidCoS-Interface available
2018/12/21 22:37:46.130 <Warning> Error initializing interfaces
Just in case this tells something...
Ok, I had not see that you were in Raspberry 2 - no Bluetoth there :-) but the rfd is still getting traffic that it should not: Unknown command type: fe (hex).
When you tried to manually start rfd, did you check before that there was not other instance of rfd running? /etc/init.d/S61rfd stop
That's a very valid point. But as the rfd service does not start properly it was off when i tested the commands above.
@JPHsProjects - could you please test with the mayor upgrade I just released? The log now contains way more information and I have tested again with all my ARM boards at home.
I installed the latest build on a fresh Rasbbian Stretch. Unfortunately, the issue stays: I can open the Homematic GUI, but the device discovery dialog is still empty. Now, for unknown reasons, I cannot enter the SSH console anymore (Permission denied). The port is exposed and reacts normal - just my password given tin the Homematic GUI is not accepted. So it's hard to provide useful debug information.
@JPHsProjects - I did not test ssh since I usually do docker exec -ti ccu sh
to log into the docker container. I will test it. Can you show the output from docker log ccu
?
Did you extend the deploy.sh script to add port 22? If you manually start the docker container please notice that the command has changed in order to have access to the GPIO and the eq3 loop device for HomematicIP.
Yes, I added -p 2222:22
to map the ssh port to something else than 22 on the host. My previous impression was that the environment between the CCU-SSH and the docker exec -ti ccu sh
looks different. So I was trying to look via ssh.
My current log looks like this, but I was fiddling around with pivccu3 modules, so I might have broken something else...
opying from /mnt to /usr/local/
sending incremental file list
addons/
addons/mediola/
addons/mediola/Disabled
addons/mediola/README.md
addons/mediola/VERSION
addons/mediola/mediola_addon.cfg
addons/mediola/update_addon
addons/mediola/bin/
addons/mediola/bin/watchdog
addons/mediola/neo_server/
addons/mediola/neo_server/automation.js
addons/mediola/neo_server/package-lock.json
addons/mediola/neo_server/package.json
addons/mediola/neo_server/licenses/
addons/mediola/neo_server/licenses/files/
addons/mediola/neo_server/licenses/files/adm-zip.txt
addons/mediola/neo_server/licenses/files/brace-expansion.txt
addons/mediola/neo_server/licenses/files/cookie-signature.txt
addons/mediola/neo_server/licenses/files/cron.txt
addons/mediola/neo_server/licenses/files/debug.txt
addons/mediola/neo_server/licenses/files/isarray.txt
addons/mediola/neo_server/licenses/files/nwjs.txt
addons/mediola/neo_server/licenses/files/options.txt
addons/mediola/neo_server/licenses/files/winreg.txt
addons/mediola/neo_server/licenses/files/ws.txt
addons/mediola/neo_server/node_modules/
addons/mediola/neo_server/node_modules/m.aio.activationcodemgmt.js
addons/mediola/neo_server/node_modules/m.aio.automation.js
addons/mediola/neo_server/node_modules/m.aio.backupmanager.js
addons/mediola/neo_server/node_modules/m.aio.commandhandler.js
addons/mediola/neo_server/node_modules/m.aio.configmanager.js
addons/mediola/neo_server/node_modules/m.aio.devicemanager.js
addons/mediola/neo_server/node_modules/m.aio.filemanager.js
addons/mediola/neo_server/node_modules/m.aio.importmanager.js
addons/mediola/neo_server/node_modules/m.aio.infomanager.js
addons/mediola/neo_server/node_modules/m.aio.macromanager.js
addons/mediola/neo_server/node_modules/m.aio.modulemanager.js
addons/mediola/neo_server/node_modules/m.aio.skinmanager.js
addons/mediola/neo_server/node_modules/m.aio.syncmanager.js
addons/mediola/neo_server/node_modules/m.aio.templatemanager.js
addons/mediola/neo_server/node_modules/m.aio.voicemanager.js
addons/mediola/neo_server/node_modules/runner.js
addons/mediola/neo_server/node_modules/runner2.js
addons/mediola/neo_server/node_modules/script_executor.js
addons/mediola/neo_server/node_modules/websocket.js
addons/mediola/neo_server/node_modules/x.aws.js
addons/mediola/neo_server/node_modules/x.core.js
addons/mediola/neo_server/node_modules/x.crypt.js
addons/mediola/neo_server/node_modules/x.events.js
addons/mediola/neo_server/node_modules/x.hub.camman.js
addons/mediola/neo_server/node_modules/x.hub.commandman.js
addons/mediola/neo_server/node_modules/x.hub.datastore.js
addons/mediola/neo_server/node_modules/x.hub.deviceman.js
addons/mediola/neo_server/node_modules/x.hub.eventbus.js
addons/mediola/neo_server/node_modules/x.hub.fileman.js
addons/mediola/neo_server/node_modules/x.hub.hubsyncman.js
addons/mediola/neo_server/node_modules/x.hub.js
addons/mediola/neo_server/node_modules/x.hub.logman.js
addons/mediola/neo_server/node_modules/x.hub.m.cams.js
addons/mediola/neo_server/node_modules/x.hub.m.enocean.js
addons/mediola/neo_server/node_modules/x.hub.m.gateway.js
addons/mediola/neo_server/node_modules/x.hub.m.harmony.js
addons/mediola/neo_server/node_modules/x.hub.m.hm.js
addons/mediola/neo_server/node_modules/x.hub.m.hue.js
addons/mediola/neo_server/node_modules/x.hub.m.knx.js
addons/mediola/neo_server/node_modules/x.hub.m.netatmo.js
addons/mediola/neo_server/node_modules/x.hub.m.proxy.js
addons/mediola/neo_server/node_modules/x.hub.m.siegenia.js
addons/mediola/neo_server/node_modules/x.hub.m.template.js
addons/mediola/neo_server/node_modules/x.hub.m.zigbee.js
addons/mediola/neo_server/node_modules/x.hub.m.zwave.js
addons/mediola/neo_server/node_modules/x.hub.m.zway.js
addons/mediola/neo_server/node_modules/x.hub.macroman.js
addons/mediola/neo_server/node_modules/x.hub.moduleman.js
addons/mediola/neo_server/node_modules/x.hub.peripheralman.js
addons/mediola/neo_server/node_modules/x.hub.recordman.js
addons/mediola/neo_server/node_modules/x.hub.scriptman.js
addons/mediola/neo_server/node_modules/x.hub.sysvarman.js
addons/mediola/neo_server/node_modules/x.hub.taskman.js
addons/mediola/neo_server/node_modules/x.hub.v5.js
addons/mediola/neo_server/node_modules/x.logger.js
addons/mediola/neo_server/node_modules/x.mdns.js
addons/mediola/neo_server/node_modules/x.mjpeg.js
addons/mediola/neo_server/node_modules/x.nodeext.js
addons/mediola/neo_server/node_modules/x.upnp.js
addons/mediola/neo_server/node_modules/x.xmlrpc.js
addons/mediola/neo_server/node_modules/xnm.aio.artnet.js
addons/mediola/neo_server/node_modules/xnm.aio.bose.js
addons/mediola/neo_server/node_modules/xnm.aio.brennenstuhl.js
addons/mediola/neo_server/node_modules/xnm.aio.cams.js
addons/mediola/neo_server/node_modules/xnm.aio.cloud.js
addons/mediola/neo_server/node_modules/xnm.aio.commandhandler.js
addons/mediola/neo_server/node_modules/xnm.aio.contronics.js
addons/mediola/neo_server/node_modules/xnm.aio.denon.js
addons/mediola/neo_server/node_modules/xnm.aio.devicegroup.js
addons/mediola/neo_server/node_modules/xnm.aio.digitalstrom.js
addons/mediola/neo_server/node_modules/xnm.aio.dlink.js
addons/mediola/neo_server/node_modules/xnm.aio.edimax.js
addons/mediola/neo_server/node_modules/xnm.aio.ez.js
addons/mediola/neo_server/node_modules/xnm.aio.feller.js
addons/mediola/neo_server/node_modules/xnm.aio.fibaro.js
addons/mediola/neo_server/node_modules/xnm.aio.fritz.js
addons/mediola/neo_server/node_modules/xnm.aio.gateway.js
addons/mediola/neo_server/node_modules/xnm.aio.harmony.js
addons/mediola/neo_server/node_modules/xnm.aio.hautau.js
addons/mediola/neo_server/node_modules/xnm.aio.hcgw.js
addons/mediola/neo_server/node_modules/xnm.aio.heos.js
addons/mediola/neo_server/node_modules/xnm.aio.hm.js
addons/mediola/neo_server/node_modules/xnm.aio.homewizard.js
addons/mediola/neo_server/node_modules/xnm.aio.hue.js
addons/mediola/neo_server/node_modules/xnm.aio.icomfort.js
addons/mediola/neo_server/node_modules/xnm.aio.iobroker.js
addons/mediola/neo_server/node_modules/xnm.aio.ip.js
addons/mediola/neo_server/node_modules/xnm.aio.ir.js
addons/mediola/neo_server/node_modules/xnm.aio.jointspace.js
addons/mediola/neo_server/node_modules/xnm.aio.knx.js
addons/mediola/neo_server/node_modules/xnm.aio.kt.js
addons/mediola/neo_server/node_modules/xnm.aio.lg.js
addons/mediola/neo_server/node_modules/xnm.aio.m10T.js
addons/mediola/neo_server/node_modules/xnm.aio.max.js
addons/mediola/neo_server/node_modules/xnm.aio.mcontrol.js
addons/mediola/neo_server/node_modules/xnm.aio.moehlenhoff.js
addons/mediola/neo_server/node_modules/xnm.aio.mystrom.js
addons/mediola/neo_server/node_modules/xnm.aio.neoserver.js
addons/mediola/neo_server/node_modules/xnm.aio.netatmo.js
addons/mediola/neo_server/node_modules/xnm.aio.nuki.js
addons/mediola/neo_server/node_modules/xnm.aio.onkyo.js
addons/mediola/neo_server/node_modules/xnm.aio.orvibo.js
addons/mediola/neo_server/node_modules/xnm.aio.osram.js
addons/mediola/neo_server/node_modules/xnm.aio.panasonic.js
addons/mediola/neo_server/node_modules/xnm.aio.philips.js
addons/mediola/neo_server/node_modules/xnm.aio.pioneer.js
addons/mediola/neo_server/node_modules/xnm.aio.push.js
addons/mediola/neo_server/node_modules/xnm.aio.qivicon.js
addons/mediola/neo_server/node_modules/xnm.aio.rademacher.js
addons/mediola/neo_server/node_modules/xnm.aio.raumfeld.js
addons/mediola/neo_server/node_modules/xnm.aio.rehau.js
addons/mediola/neo_server/node_modules/xnm.aio.rgb.js
addons/mediola/neo_server/node_modules/xnm.aio.rwe.js
addons/mediola/neo_server/node_modules/xnm.aio.samsung.js
addons/mediola/neo_server/node_modules/xnm.aio.siegenia.js
addons/mediola/neo_server/node_modules/xnm.aio.slim.js
addons/mediola/neo_server/node_modules/xnm.aio.sonos.js
addons/mediola/neo_server/node_modules/xnm.aio.sony.js
addons/mediola/neo_server/node_modules/xnm.aio.symcon.js
addons/mediola/neo_server/node_modules/xnm.aio.synology.js
addons/mediola/neo_server/node_modules/xnm.aio.systemdata.js
addons/mediola/neo_server/node_modules/xnm.aio.tado.js
addons/mediola/neo_server/node_modules/xnm.aio.tahoma.js
addons/mediola/neo_server/node_modules/xnm.aio.tplink.js
addons/mediola/neo_server/node_modules/xnm.aio.upnp.js
addons/mediola/neo_server/node_modules/xnm.aio.warema.js
addons/mediola/neo_server/node_modules/xnm.aio.webhook.js
addons/mediola/neo_server/node_modules/xnm.aio.webpage.js
addons/mediola/neo_server/node_modules/xnm.aio.wemo.js
addons/mediola/neo_server/node_modules/xnm.aio.yamaha.js
addons/mediola/neo_server/node_modules/xnm.aio.yellowstone.js
addons/mediola/neo_server/node_modules/.bin/
addons/mediola/neo_server/node_modules/.bin/mime
addons/mediola/neo_server/node_modules/.bin/uuid
addons/mediola/neo_server/node_modules/async-limiter/
addons/mediola/neo_server/node_modules/async-limiter/.travis.yml
addons/mediola/neo_server/node_modules/async-limiter/LICENSE
addons/mediola/neo_server/node_modules/async-limiter/index.js
addons/mediola/neo_server/node_modules/async-limiter/package.json
addons/mediola/neo_server/node_modules/async-limiter/readme.md
addons/mediola/neo_server/node_modules/async-limiter/coverage/
addons/mediola/neo_server/node_modules/async-limiter/coverage/coverage.json
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov.info
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/base.css
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/prettify.css
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/prettify.js
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/sort-arrow-sprite.png
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/sorter.js
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/async-throttle/
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/async-throttle/index.js.html
addons/mediola/neo_server/node_modules/buffer-alloc-unsafe/
addons/mediola/neo_server/node_modules/buffer-alloc-unsafe/index.js
addons/mediola/neo_server/node_modules/buffer-alloc-unsafe/package.json
addons/mediola/neo_server/node_modules/buffer-alloc-unsafe/readme.md
addons/mediola/neo_server/node_modules/buffer-alloc/
addons/mediola/neo_server/node_modules/buffer-alloc/index.js
addons/mediola/neo_server/node_modules/buffer-alloc/package.json
addons/mediola/neo_server/node_modules/buffer-alloc/readme.md
addons/mediola/neo_server/node_modules/buffer-fill/
addons/mediola/neo_server/node_modules/buffer-fill/index.js
addons/mediola/neo_server/node_modules/buffer-fill/package.json
addons/mediola/neo_server/node_modules/buffer-fill/readme.md
addons/mediola/neo_server/node_modules/events/
addons/mediola/neo_server/node_modules/events/.npmignore
addons/mediola/neo_server/node_modules/events/.travis.yml
addons/mediola/neo_server/node_modules/events/.zuul.yml
addons/mediola/neo_server/node_modules/events/History.md
addons/mediola/neo_server/node_modules/events/LICENSE
addons/mediola/neo_server/node_modules/events/Readme.md
addons/mediola/neo_server/node_modules/events/events.js
addons/mediola/neo_server/node_modules/events/package.json
addons/mediola/neo_server/node_modules/events/tests/
addons/mediola/neo_server/node_modules/events/tests/add-listeners.js
addons/mediola/neo_server/node_modules/events/tests/check-listener-leaks.js
addons/mediola/neo_server/node_modules/events/tests/common.js
addons/mediola/neo_server/node_modules/events/tests/index.js
addons/mediola/neo_server/node_modules/events/tests/legacy-compat.js
addons/mediola/neo_server/node_modules/events/tests/listener-count.js
addons/mediola/neo_server/node_modules/events/tests/listeners-side-effects.js
addons/mediola/neo_server/node_modules/events/tests/listeners.js
addons/mediola/neo_server/node_modules/events/tests/max-listeners.js
addons/mediola/neo_server/node_modules/events/tests/modify-in-emit.js
addons/mediola/neo_server/node_modules/events/tests/num-args.js
addons/mediola/neo_server/node_modules/events/tests/once.js
addons/mediola/neo_server/node_modules/events/tests/remove-all-listeners.js
addons/mediola/neo_server/node_modules/events/tests/remove-listeners.js
addons/mediola/neo_server/node_modules/events/tests/set-max-listeners-side-effects.js
addons/mediola/neo_server/node_modules/events/tests/subclass.js
addons/mediola/neo_server/node_modules/fs-constants/
addons/mediola/neo_server/node_modules/fs-constants/LICENSE
addons/mediola/neo_server/node_modules/fs-constants/README.md
addons/mediola/neo_server/node_modules/fs-constants/browser.js
addons/mediola/neo_server/node_modules/fs-constants/index.js
addons/mediola/neo_server/node_modules/fs-constants/package.json
addons/mediola/neo_server/node_modules/loop-protect/
addons/mediola/neo_server/node_modules/loop-protect/.editorconfig
addons/mediola/neo_server/node_modules/loop-protect/.npmignore
addons/mediola/neo_server/node_modules/loop-protect/LICENSE.md
addons/mediola/neo_server/node_modules/loop-protect/README.md
addons/mediola/neo_server/node_modules/loop-protect/loop-protect.js
addons/mediola/neo_server/node_modules/loop-protect/loop-protect.test.js
addons/mediola/neo_server/node_modules/loop-protect/package.json
addons/mediola/rc.d/
addons/mediola/rc.d/97NeoServer
boot_par/
boot_par/.gitkeep
crontabs/
crontabs/root
etc/
etc/ssh_host_dsa_key
etc/ssh_host_dsa_key.pub
etc/ssh_host_ecdsa_key
etc/ssh_host_ecdsa_key.pub
etc/ssh_host_ed25519_key
etc/ssh_host_ed25519_key.pub
etc/ssh_host_rsa_key
etc/ssh_host_rsa_key.pub
etc/config/
etc/config/InterfacesList.xml
etc/config/TZ
etc/config/crypttool.cfg
etc/config/firewall.conf
etc/config/firewallConfigured
etc/config/hm_addons.cfg
etc/config/hmip_address.conf
etc/config/homematic.regadom
etc/config/homematic.regadom.bak
etc/config/ids
etc/config/localtime -> /usr/share/zoneinfo/Europe/Berlin
etc/config/log4j.xml
etc/config/netconfig
etc/config/ntpclient
etc/config/rfd.conf
etc/config/securitySettingsMigrated
etc/config/server.pem
etc/config/shadow
etc/config/sshEnabled
etc/config/syslog
etc/config/timezone
etc/config/userAckSecurityHint
etc/config/addons/
etc/config/addons/mediola/
etc/config/addons/mh/
etc/config/addons/mh/addcron.sh
etc/config/addons/mh/autoupdate
etc/config/addons/mh/autoupdatean
etc/config/addons/mh/autoupdatean.sh
etc/config/addons/mh/autoupdateaus
etc/config/addons/mh/autoupdateaus.sh
etc/config/addons/mh/baddns
etc/config/addons/mh/badip
etc/config/addons/mh/ca.crt
etc/config/addons/mh/checkcon.sh
etc/config/addons/mh/checkdns
etc/config/addons/mh/checkip
etc/config/addons/mh/cleanup.sh
etc/config/addons/mh/client.conf
etc/config/addons/mh/cloudmaticcheck.sh
etc/config/addons/mh/csmsg.sh
etc/config/addons/mh/dienst
etc/config/addons/mh/dienstan
etc/config/addons/mh/dienstan.sh
etc/config/addons/mh/dienstanngx.sh
etc/config/addons/mh/dienstanzbx.sh
etc/config/addons/mh/dienstaus
etc/config/addons/mh/dienstaus.sh
etc/config/addons/mh/dienstausngx.sh
etc/config/addons/mh/dienstauszbx.sh
etc/config/addons/mh/dienstngx
etc/config/addons/mh/dienstzbx
etc/config/addons/mh/dotest.sh
etc/config/addons/mh/dotest2.sh
etc/config/addons/mh/doupdatecm.sh
etc/config/addons/mh/doupdatemh.sh
etc/config/addons/mh/encodesms
etc/config/addons/mh/fastcgi.conf
etc/config/addons/mh/fastcgi.conf.default
etc/config/addons/mh/fastcgi_params
etc/config/addons/mh/fastcgi_params.default
etc/config/addons/mh/ids
etc/config/addons/mh/keytransfer
etc/config/addons/mh/keytransferan
etc/config/addons/mh/keytransferaus
etc/config/addons/mh/koi-utf
etc/config/addons/mh/koi-win
etc/config/addons/mh/loop.sh
etc/config/addons/mh/loophammer.sh
etc/config/addons/mh/loopupd.sh
etc/config/addons/mh/mhca.crt
etc/config/addons/mh/mhcfg
etc/config/addons/mh/mhmkey
etc/config/addons/mh/mime.types
etc/config/addons/mh/mime.types.default
etc/config/addons/mh/newver
etc/config/addons/mh/nginx
etc/config/addons/mh/nginx.conf
etc/config/addons/mh/nginx.conf.default
etc/config/addons/mh/oldver
etc/config/addons/mh/result.txt
etc/config/addons/mh/result2.txt
etc/config/addons/mh/scgi_params
etc/config/addons/mh/scgi_params.default
etc/config/addons/mh/smsguthaben
etc/config/addons/mh/startopenvpn
etc/config/addons/mh/trans.sh
etc/config/addons/mh/upd1503
etc/config/addons/mh/update.sh
etc/config/addons/mh/uwsgi_params
etc/config/addons/mh/uwsgi_params.default
etc/config/addons/mh/win-utf
etc/config/addons/mh/zabbix.conf
etc/config/addons/mh/zabbix_agentd
etc/config/addons/mh/html/
etc/config/addons/mh/html/50x.html
etc/config/addons/mh/html/cmsmarthome.png
etc/config/addons/mh/html/index.html
etc/config/addons/mh/scripts/
etc/config/addons/mh/scripts/getdpintbyid.tcl
etc/config/addons/mh/scripts/getdpvalue.tcl
etc/config/addons/mh/scripts/getdpvaluebyid.tcl
etc/config/addons/www/
etc/config/addons/www/mediola -> /opt/mediola/www
etc/config/addons/www/mh -> /opt/mh/www
etc/config/crRFD/
etc/config/crRFD/data/
etc/config/hs485d/
etc/config/rc.d/
etc/config/rc.d/97NeoServer
etc/config/rfd/
etc/config/snmp/
etc/config/snmp/snmpd.conf
etc/config/snmp/snmptrapd.conf
etc/config/userprofiles/
etc/config/userprofiles/userAckInstallWizard_Admin
etc/ssh/
tmp/
sent 5,589,968 bytes received 6,320 bytes 11,192,576.00 bytes/sec
total size is 5,567,028 speedup is 0.99
Starting CCU services
Starting /etc/init.d/S00InstallAddon
Starting /etc/init.d/S00watchdog
S00watchdog - skipping
Starting /etc/init.d/S01InitHost
S01InitHost - defaults
Checking device
Detected Raspberry PI
Starting /etc/init.d/S02InitRTC
S02InitRTC - skipping
Starting /etc/init.d/S03InitURandom
S03InitURandom - skipping
Starting /etc/init.d/S04CheckFactoryReset
Checking for Factory Reset: not required
Starting /etc/init.d/S04CheckResizeLocalFS
S04CheckResizeLocal - skipping
Starting /etc/init.d/S05CheckBackupRestore
Checking for Backup Restore: not required
Starting /etc/init.d/S06InitSystem
mkdir: can't create directory '/var/lib/dbus': No such file or directory
chmod: /var/lib/dbus: No such file or directory
Initializing System: OK
Starting /etc/init.d/S07logging
Starting logging: OK
Starting /etc/init.d/S10udev
S10udev - skipping
Starting /etc/init.d/S11InitRFHardware
Identifying Homematic RF-Hardware: BidCos-RF: HM-MOD-RPI-PCB, HmIP: HM-MOD-RPI-PCB, OK
Starting /etc/init.d/S12UpdateRFHardware
Updating Homematic RF-Hardware: HM-MOD-RPI-PCB: 2.8.6, OK
Starting /etc/init.d/S13irqbalance
S13irqbalance - skipping
Starting /etc/init.d/S21rngd
S21rngd - skipping
Starting /etc/init.d/S30dbus
Starting system message bus: done
Starting /etc/init.d/S31bluetooth
S31bluetooth - skipping
Starting /etc/init.d/S40network
S40network - skipping
Starting /etc/init.d/S45ifplugd
S45ifplugd - skipping
Starting /etc/init.d/S48MigrateSecuritySettings
Starting : OK
Starting /etc/init.d/S48ntp
Starting ntpd: OK
Starting /etc/init.d/S49hs485d
Preparing start of hs485d: OK
Starting /etc/init.d/S49xinetd
Starting xinetd: OK
Starting /etc/init.d/S50eq3configd
Starting eq3configd: OK
Starting /etc/init.d/S50lighttpd
Starting lighttpd: OK
Starting /etc/init.d/S50ssdpd
Starting ssdpd: OK
Starting /etc/init.d/S50sshd
Starting sshd: OK
Starting /etc/init.d/S55InitAddons
Initializing Third-Party Addons: OK
Starting /etc/init.d/S58LGWFirmwareUpdate
Starting LGWFirmwareUpdate: ...OK
Starting /etc/init.d/S59SetLGWKey
Setting LAN Gateway keys: OK
Starting /etc/init.d/S59snmpd
Starting SNMP daemon: FAIL
Starting /etc/init.d/S60hs485d
sed: /etc/config/hs485d.conf: No such file or directory
Starting hs485d: OK
Starting /etc/init.d/S60multimacd
Starting multimacd: Skipping
Starting /etc/init.d/S60openvpn
Starting /etc/init.d/S61rfd
Starting rfd:
sh: 213: unknown operand
sh: 213: unknown operand
Waiting for rfd to get ready...rfd is ready now.
Starting /etc/init.d/S62HMServer
Starting HMIPServer: (/dev/raw-uart) .......................................................................................................................................................ERROR
Starting /etc/init.d/S70ReGaHss
Starting ReGaHss: .OK
Starting /etc/init.d/S71crond
Starting crond: OK
Starting /etc/init.d/S97CloudMatic
Starting CloudMatic: OK
Starting /etc/init.d/S97NeoServer
Version is up to date / or Bigger
Starting /etc/init.d/S98StartAddons
Starting Third-Party Addons: OK
Starting /etc/init.d/S99SetupLEDs
Setup onboard LEDs: booted, OK
Done starting CCU services
Register trap for SIGTERM
sending incremental file list
etc/config/
etc/config/InterfacesList.xml
etc/config/rfd.conf
etc/config/timezone
etc/config/addons/mh/ids
sent 9,385 bytes received 139 bytes 19,048.00 bytes/sec
total size is 5,567,242 speedup is 584.55
I should mention that one thing did not run through the deploy.sh:
Line 54: apt install -y linux-headers-$(uname -r)
I replaced it with apt install -y raspberrypi-kernel-headers
, hoping that it does the same thing...
I think I now understand the problems:
docker volume rm ccu_data
OR manually delete the shadow file in it.The broken shadow file looks like this:
dbus:*:::::::
sshd:*:::::::
while the right one from /etc/config_templates looks like this:
root::10933:0:99999:7:::
daemon:*:10933:0:99999:7:::
bin:*:10933:0:99999:7:::
sys:*:10933:0:99999:7:::
sync:*:10933:0:99999:7:::
mail:*:10933:0:99999:7:::
www-data:*:10933:0:99999:7:::
halt:*:10933:0:99999:7:::
uucp:*:10933:0:99999:7:::
operator:*:10933:0:99999:7:::
ftp:*:10933:0:99999:7:::
nobody:*:10933:0:99999:7:::
_ntp:*:::::::
sshd:*:::::::
Please use the updated deploy.sh:
After a fresh install I build and deployed the latest version. It works now! This is the output of docker logs -f ccu
for information only:
pi@raspi4home:~/docker-ccu2 $ sudo ./deploy.sh
Starting container as plain docker
docker run --privileged --restart=always --mount type=bind,src=/sys,dst=/sys --mount type=bind,src=/dev,dst=/dev --mount type=volume,src=ccu_data,dst=/mnt --detach=true --name ccu -p 80:80 -p 2001:2001 -p 2222:22 -p 8181:8181 -e PERSISTENT_DIR=/mnt --hostname ccu angelnu/ccu:3
36901c08d7f250311c04884aff90530ea90636e2a4722fcff513c036749034f1
Docker container started!
Docker data volume used: ccu_data
You can find its location with the command 'docker volume inspect ccu_data'
[
{
"CreatedAt": "2018-12-28T10:26:09Z",
"Driver": "local",
"Labels": null,
"Mountpoint": "/var/lib/docker/volumes/ccu_data/_data",
"Name": "ccu_data",
"Options": null,
"Scope": "local"
}
]
pi@raspi4home:~/docker-ccu2 $ docker logs -f ccu
Copying from /mnt to /usr/local/
sending incremental file list
addons/
addons/mediola/
addons/mediola/Disabled
addons/mediola/README.md
addons/mediola/VERSION
addons/mediola/mediola_addon.cfg
addons/mediola/update_addon
addons/mediola/bin/
addons/mediola/bin/watchdog
addons/mediola/neo_server/
addons/mediola/neo_server/automation.js
addons/mediola/neo_server/package-lock.json
addons/mediola/neo_server/package.json
addons/mediola/neo_server/licenses/
addons/mediola/neo_server/licenses/files/
addons/mediola/neo_server/licenses/files/adm-zip.txt
addons/mediola/neo_server/licenses/files/brace-expansion.txt
addons/mediola/neo_server/licenses/files/cookie-signature.txt
addons/mediola/neo_server/licenses/files/cron.txt
addons/mediola/neo_server/licenses/files/debug.txt
addons/mediola/neo_server/licenses/files/isarray.txt
addons/mediola/neo_server/licenses/files/nwjs.txt
addons/mediola/neo_server/licenses/files/options.txt
addons/mediola/neo_server/licenses/files/winreg.txt
addons/mediola/neo_server/licenses/files/ws.txt
addons/mediola/neo_server/node_modules/
addons/mediola/neo_server/node_modules/m.aio.activationcodemgmt.js
addons/mediola/neo_server/node_modules/m.aio.automation.js
addons/mediola/neo_server/node_modules/m.aio.backupmanager.js
addons/mediola/neo_server/node_modules/m.aio.commandhandler.js
addons/mediola/neo_server/node_modules/m.aio.configmanager.js
addons/mediola/neo_server/node_modules/m.aio.devicemanager.js
addons/mediola/neo_server/node_modules/m.aio.filemanager.js
addons/mediola/neo_server/node_modules/m.aio.importmanager.js
addons/mediola/neo_server/node_modules/m.aio.infomanager.js
addons/mediola/neo_server/node_modules/m.aio.macromanager.js
addons/mediola/neo_server/node_modules/m.aio.modulemanager.js
addons/mediola/neo_server/node_modules/m.aio.skinmanager.js
addons/mediola/neo_server/node_modules/m.aio.syncmanager.js
addons/mediola/neo_server/node_modules/m.aio.templatemanager.js
addons/mediola/neo_server/node_modules/m.aio.voicemanager.js
addons/mediola/neo_server/node_modules/runner.js
addons/mediola/neo_server/node_modules/runner2.js
addons/mediola/neo_server/node_modules/script_executor.js
addons/mediola/neo_server/node_modules/websocket.js
addons/mediola/neo_server/node_modules/x.aws.js
addons/mediola/neo_server/node_modules/x.core.js
addons/mediola/neo_server/node_modules/x.crypt.js
addons/mediola/neo_server/node_modules/x.events.js
addons/mediola/neo_server/node_modules/x.hub.camman.js
addons/mediola/neo_server/node_modules/x.hub.commandman.js
addons/mediola/neo_server/node_modules/x.hub.datastore.js
addons/mediola/neo_server/node_modules/x.hub.deviceman.js
addons/mediola/neo_server/node_modules/x.hub.eventbus.js
addons/mediola/neo_server/node_modules/x.hub.fileman.js
addons/mediola/neo_server/node_modules/x.hub.hubsyncman.js
addons/mediola/neo_server/node_modules/x.hub.js
addons/mediola/neo_server/node_modules/x.hub.logman.js
addons/mediola/neo_server/node_modules/x.hub.m.cams.js
addons/mediola/neo_server/node_modules/x.hub.m.enocean.js
addons/mediola/neo_server/node_modules/x.hub.m.gateway.js
addons/mediola/neo_server/node_modules/x.hub.m.harmony.js
addons/mediola/neo_server/node_modules/x.hub.m.hm.js
addons/mediola/neo_server/node_modules/x.hub.m.hue.js
addons/mediola/neo_server/node_modules/x.hub.m.knx.js
addons/mediola/neo_server/node_modules/x.hub.m.netatmo.js
addons/mediola/neo_server/node_modules/x.hub.m.proxy.js
addons/mediola/neo_server/node_modules/x.hub.m.siegenia.js
addons/mediola/neo_server/node_modules/x.hub.m.template.js
addons/mediola/neo_server/node_modules/x.hub.m.zigbee.js
addons/mediola/neo_server/node_modules/x.hub.m.zwave.js
addons/mediola/neo_server/node_modules/x.hub.m.zway.js
addons/mediola/neo_server/node_modules/x.hub.macroman.js
addons/mediola/neo_server/node_modules/x.hub.moduleman.js
addons/mediola/neo_server/node_modules/x.hub.peripheralman.js
addons/mediola/neo_server/node_modules/x.hub.recordman.js
addons/mediola/neo_server/node_modules/x.hub.scriptman.js
addons/mediola/neo_server/node_modules/x.hub.sysvarman.js
addons/mediola/neo_server/node_modules/x.hub.taskman.js
addons/mediola/neo_server/node_modules/x.hub.v5.js
addons/mediola/neo_server/node_modules/x.logger.js
addons/mediola/neo_server/node_modules/x.mdns.js
addons/mediola/neo_server/node_modules/x.mjpeg.js
addons/mediola/neo_server/node_modules/x.nodeext.js
addons/mediola/neo_server/node_modules/x.upnp.js
addons/mediola/neo_server/node_modules/x.xmlrpc.js
addons/mediola/neo_server/node_modules/xnm.aio.artnet.js
addons/mediola/neo_server/node_modules/xnm.aio.bose.js
addons/mediola/neo_server/node_modules/xnm.aio.brennenstuhl.js
addons/mediola/neo_server/node_modules/xnm.aio.cams.js
addons/mediola/neo_server/node_modules/xnm.aio.cloud.js
addons/mediola/neo_server/node_modules/xnm.aio.commandhandler.js
addons/mediola/neo_server/node_modules/xnm.aio.contronics.js
addons/mediola/neo_server/node_modules/xnm.aio.denon.js
addons/mediola/neo_server/node_modules/xnm.aio.devicegroup.js
addons/mediola/neo_server/node_modules/xnm.aio.digitalstrom.js
addons/mediola/neo_server/node_modules/xnm.aio.dlink.js
addons/mediola/neo_server/node_modules/xnm.aio.edimax.js
addons/mediola/neo_server/node_modules/xnm.aio.ez.js
addons/mediola/neo_server/node_modules/xnm.aio.feller.js
addons/mediola/neo_server/node_modules/xnm.aio.fibaro.js
addons/mediola/neo_server/node_modules/xnm.aio.fritz.js
addons/mediola/neo_server/node_modules/xnm.aio.gateway.js
addons/mediola/neo_server/node_modules/xnm.aio.harmony.js
addons/mediola/neo_server/node_modules/xnm.aio.hautau.js
addons/mediola/neo_server/node_modules/xnm.aio.hcgw.js
addons/mediola/neo_server/node_modules/xnm.aio.heos.js
addons/mediola/neo_server/node_modules/xnm.aio.hm.js
addons/mediola/neo_server/node_modules/xnm.aio.homewizard.js
addons/mediola/neo_server/node_modules/xnm.aio.hue.js
addons/mediola/neo_server/node_modules/xnm.aio.icomfort.js
addons/mediola/neo_server/node_modules/xnm.aio.iobroker.js
addons/mediola/neo_server/node_modules/xnm.aio.ip.js
addons/mediola/neo_server/node_modules/xnm.aio.ir.js
addons/mediola/neo_server/node_modules/xnm.aio.jointspace.js
addons/mediola/neo_server/node_modules/xnm.aio.knx.js
addons/mediola/neo_server/node_modules/xnm.aio.kt.js
addons/mediola/neo_server/node_modules/xnm.aio.lg.js
addons/mediola/neo_server/node_modules/xnm.aio.m10T.js
addons/mediola/neo_server/node_modules/xnm.aio.max.js
addons/mediola/neo_server/node_modules/xnm.aio.mcontrol.js
addons/mediola/neo_server/node_modules/xnm.aio.moehlenhoff.js
addons/mediola/neo_server/node_modules/xnm.aio.mystrom.js
addons/mediola/neo_server/node_modules/xnm.aio.neoserver.js
addons/mediola/neo_server/node_modules/xnm.aio.netatmo.js
addons/mediola/neo_server/node_modules/xnm.aio.nuki.js
addons/mediola/neo_server/node_modules/xnm.aio.onkyo.js
addons/mediola/neo_server/node_modules/xnm.aio.orvibo.js
addons/mediola/neo_server/node_modules/xnm.aio.osram.js
addons/mediola/neo_server/node_modules/xnm.aio.panasonic.js
addons/mediola/neo_server/node_modules/xnm.aio.philips.js
addons/mediola/neo_server/node_modules/xnm.aio.pioneer.js
addons/mediola/neo_server/node_modules/xnm.aio.push.js
addons/mediola/neo_server/node_modules/xnm.aio.qivicon.js
addons/mediola/neo_server/node_modules/xnm.aio.rademacher.js
addons/mediola/neo_server/node_modules/xnm.aio.raumfeld.js
addons/mediola/neo_server/node_modules/xnm.aio.rehau.js
addons/mediola/neo_server/node_modules/xnm.aio.rgb.js
addons/mediola/neo_server/node_modules/xnm.aio.rwe.js
addons/mediola/neo_server/node_modules/xnm.aio.samsung.js
addons/mediola/neo_server/node_modules/xnm.aio.siegenia.js
addons/mediola/neo_server/node_modules/xnm.aio.slim.js
addons/mediola/neo_server/node_modules/xnm.aio.sonos.js
addons/mediola/neo_server/node_modules/xnm.aio.sony.js
addons/mediola/neo_server/node_modules/xnm.aio.symcon.js
addons/mediola/neo_server/node_modules/xnm.aio.synology.js
addons/mediola/neo_server/node_modules/xnm.aio.systemdata.js
addons/mediola/neo_server/node_modules/xnm.aio.tado.js
addons/mediola/neo_server/node_modules/xnm.aio.tahoma.js
addons/mediola/neo_server/node_modules/xnm.aio.tplink.js
addons/mediola/neo_server/node_modules/xnm.aio.upnp.js
addons/mediola/neo_server/node_modules/xnm.aio.warema.js
addons/mediola/neo_server/node_modules/xnm.aio.webhook.js
addons/mediola/neo_server/node_modules/xnm.aio.webpage.js
addons/mediola/neo_server/node_modules/xnm.aio.wemo.js
addons/mediola/neo_server/node_modules/xnm.aio.yamaha.js
addons/mediola/neo_server/node_modules/xnm.aio.yellowstone.js
addons/mediola/neo_server/node_modules/.bin/
addons/mediola/neo_server/node_modules/.bin/mime
addons/mediola/neo_server/node_modules/.bin/uuid
addons/mediola/neo_server/node_modules/async-limiter/
addons/mediola/neo_server/node_modules/async-limiter/.travis.yml
addons/mediola/neo_server/node_modules/async-limiter/LICENSE
addons/mediola/neo_server/node_modules/async-limiter/index.js
addons/mediola/neo_server/node_modules/async-limiter/package.json
addons/mediola/neo_server/node_modules/async-limiter/readme.md
addons/mediola/neo_server/node_modules/async-limiter/coverage/
addons/mediola/neo_server/node_modules/async-limiter/coverage/coverage.json
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov.info
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/base.css
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/prettify.css
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/prettify.js
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/sort-arrow-sprite.png
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/sorter.js
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/async-throttle/
addons/mediola/neo_server/node_modules/async-limiter/coverage/lcov-report/async-throttle/index.js.html
addons/mediola/neo_server/node_modules/buffer-alloc-unsafe/
addons/mediola/neo_server/node_modules/buffer-alloc-unsafe/index.js
addons/mediola/neo_server/node_modules/buffer-alloc-unsafe/package.json
addons/mediola/neo_server/node_modules/buffer-alloc-unsafe/readme.md
addons/mediola/neo_server/node_modules/buffer-alloc/
addons/mediola/neo_server/node_modules/buffer-alloc/index.js
addons/mediola/neo_server/node_modules/buffer-alloc/package.json
addons/mediola/neo_server/node_modules/buffer-alloc/readme.md
addons/mediola/neo_server/node_modules/buffer-fill/
addons/mediola/neo_server/node_modules/buffer-fill/index.js
addons/mediola/neo_server/node_modules/buffer-fill/package.json
addons/mediola/neo_server/node_modules/buffer-fill/readme.md
addons/mediola/neo_server/node_modules/events/
addons/mediola/neo_server/node_modules/events/.npmignore
addons/mediola/neo_server/node_modules/events/.travis.yml
addons/mediola/neo_server/node_modules/events/.zuul.yml
addons/mediola/neo_server/node_modules/events/History.md
addons/mediola/neo_server/node_modules/events/LICENSE
addons/mediola/neo_server/node_modules/events/Readme.md
addons/mediola/neo_server/node_modules/events/events.js
addons/mediola/neo_server/node_modules/events/package.json
addons/mediola/neo_server/node_modules/events/tests/
addons/mediola/neo_server/node_modules/events/tests/add-listeners.js
addons/mediola/neo_server/node_modules/events/tests/check-listener-leaks.js
addons/mediola/neo_server/node_modules/events/tests/common.js
addons/mediola/neo_server/node_modules/events/tests/index.js
addons/mediola/neo_server/node_modules/events/tests/legacy-compat.js
addons/mediola/neo_server/node_modules/events/tests/listener-count.js
addons/mediola/neo_server/node_modules/events/tests/listeners-side-effects.js
addons/mediola/neo_server/node_modules/events/tests/listeners.js
addons/mediola/neo_server/node_modules/events/tests/max-listeners.js
addons/mediola/neo_server/node_modules/events/tests/modify-in-emit.js
addons/mediola/neo_server/node_modules/events/tests/num-args.js
addons/mediola/neo_server/node_modules/events/tests/once.js
addons/mediola/neo_server/node_modules/events/tests/remove-all-listeners.js
addons/mediola/neo_server/node_modules/events/tests/remove-listeners.js
addons/mediola/neo_server/node_modules/events/tests/set-max-listeners-side-effects.js
addons/mediola/neo_server/node_modules/events/tests/subclass.js
addons/mediola/neo_server/node_modules/fs-constants/
addons/mediola/neo_server/node_modules/fs-constants/LICENSE
addons/mediola/neo_server/node_modules/fs-constants/README.md
addons/mediola/neo_server/node_modules/fs-constants/browser.js
addons/mediola/neo_server/node_modules/fs-constants/index.js
addons/mediola/neo_server/node_modules/fs-constants/package.json
addons/mediola/neo_server/node_modules/loop-protect/
addons/mediola/neo_server/node_modules/loop-protect/.editorconfig
addons/mediola/neo_server/node_modules/loop-protect/.npmignore
addons/mediola/neo_server/node_modules/loop-protect/LICENSE.md
addons/mediola/neo_server/node_modules/loop-protect/README.md
addons/mediola/neo_server/node_modules/loop-protect/loop-protect.js
addons/mediola/neo_server/node_modules/loop-protect/loop-protect.test.js
addons/mediola/neo_server/node_modules/loop-protect/package.json
addons/mediola/rc.d/
addons/mediola/rc.d/97NeoServer
boot_par/
boot_par/.gitkeep
crontabs/
crontabs/root
etc/
etc/ssh_host_dsa_key
etc/ssh_host_dsa_key.pub
etc/ssh_host_ecdsa_key
etc/ssh_host_ecdsa_key.pub
etc/ssh_host_ed25519_key
etc/ssh_host_ed25519_key.pub
etc/ssh_host_rsa_key
etc/ssh_host_rsa_key.pub
etc/config/
etc/config/InterfacesList.xml
etc/config/TZ
etc/config/crypttool.cfg
etc/config/firewall.conf
etc/config/firewallConfigured
etc/config/hm_addons.cfg
etc/config/hmip_address.conf
etc/config/homematic.regadom
etc/config/homematic.regadom.bak
etc/config/ids
etc/config/localtime -> /usr/share/zoneinfo/Europe/Berlin
etc/config/log4j.xml
etc/config/netconfig
etc/config/ntpclient
etc/config/rfd.conf
etc/config/securitySettingsMigrated
etc/config/server.pem
etc/config/shadow
etc/config/sshEnabled
etc/config/syslog
etc/config/timezone
etc/config/userAckSecurityHint
etc/config/addons/
etc/config/addons/mediola/
etc/config/addons/mh/
etc/config/addons/mh/addcron.sh
etc/config/addons/mh/autoupdate
etc/config/addons/mh/autoupdatean
etc/config/addons/mh/autoupdatean.sh
etc/config/addons/mh/autoupdateaus
etc/config/addons/mh/autoupdateaus.sh
etc/config/addons/mh/baddns
etc/config/addons/mh/badip
etc/config/addons/mh/ca.crt
etc/config/addons/mh/checkcon.sh
etc/config/addons/mh/checkdns
etc/config/addons/mh/checkip
etc/config/addons/mh/cleanup.sh
etc/config/addons/mh/client.conf
etc/config/addons/mh/cloudmaticcheck.sh
etc/config/addons/mh/csmsg.sh
etc/config/addons/mh/dienst
etc/config/addons/mh/dienstan
etc/config/addons/mh/dienstan.sh
etc/config/addons/mh/dienstanngx.sh
etc/config/addons/mh/dienstanzbx.sh
etc/config/addons/mh/dienstaus
etc/config/addons/mh/dienstaus.sh
etc/config/addons/mh/dienstausngx.sh
etc/config/addons/mh/dienstauszbx.sh
etc/config/addons/mh/dienstngx
etc/config/addons/mh/dienstzbx
etc/config/addons/mh/dotest.sh
etc/config/addons/mh/dotest2.sh
etc/config/addons/mh/doupdatecm.sh
etc/config/addons/mh/doupdatemh.sh
etc/config/addons/mh/encodesms
etc/config/addons/mh/fastcgi.conf
etc/config/addons/mh/fastcgi.conf.default
etc/config/addons/mh/fastcgi_params
etc/config/addons/mh/fastcgi_params.default
etc/config/addons/mh/ids
etc/config/addons/mh/keytransfer
etc/config/addons/mh/keytransferan
etc/config/addons/mh/keytransferaus
etc/config/addons/mh/koi-utf
etc/config/addons/mh/koi-win
etc/config/addons/mh/loop.sh
etc/config/addons/mh/loophammer.sh
etc/config/addons/mh/loopupd.sh
etc/config/addons/mh/mhca.crt
etc/config/addons/mh/mhcfg
etc/config/addons/mh/mhmkey
etc/config/addons/mh/mime.types
etc/config/addons/mh/mime.types.default
etc/config/addons/mh/newver
etc/config/addons/mh/nginx
etc/config/addons/mh/nginx.conf
etc/config/addons/mh/nginx.conf.default
etc/config/addons/mh/oldver
etc/config/addons/mh/result.txt
etc/config/addons/mh/result2.txt
etc/config/addons/mh/scgi_params
etc/config/addons/mh/scgi_params.default
etc/config/addons/mh/smsguthaben
etc/config/addons/mh/startopenvpn
etc/config/addons/mh/trans.sh
etc/config/addons/mh/upd1503
etc/config/addons/mh/update.sh
etc/config/addons/mh/uwsgi_params
etc/config/addons/mh/uwsgi_params.default
etc/config/addons/mh/win-utf
etc/config/addons/mh/zabbix.conf
etc/config/addons/mh/zabbix_agentd
etc/config/addons/mh/html/
etc/config/addons/mh/html/50x.html
etc/config/addons/mh/html/cmsmarthome.png
etc/config/addons/mh/html/index.html
etc/config/addons/mh/scripts/
etc/config/addons/mh/scripts/getdpintbyid.tcl
etc/config/addons/mh/scripts/getdpvalue.tcl
etc/config/addons/mh/scripts/getdpvaluebyid.tcl
etc/config/addons/www/
etc/config/addons/www/mediola -> /opt/mediola/www
etc/config/addons/www/mh -> /opt/mh/www
etc/config/crRFD/
etc/config/crRFD/data/
etc/config/crRFD/data/3014F711A061A7D7098E1BED.ap
etc/config/crRFD/data/3014F711A061A7D7098E1BED.apkx
etc/config/eshlight/
etc/config/eshlight/mapdb/
etc/config/eshlight/mapdb/storage.mapdb
etc/config/eshlight/mapdb/storage.mapdb.p
etc/config/eshlight/mapdb/storage.mapdb.t
etc/config/hs485d/
etc/config/measurement/
etc/config/rc.d/
etc/config/rc.d/97NeoServer
etc/config/rfd/
etc/config/snmp/
etc/config/snmp/snmpd.conf
etc/config/snmp/snmptrapd.conf
etc/config/userprofiles/
etc/config/userprofiles/userAckInstallWizard_Admin
etc/ssh/
tmp/
sent 6,044,329 bytes received 6,431 bytes 4,033,840.00 bytes/sec
total size is 6,020,840 speedup is 1.00
Starting CCU services
Starting /etc/init.d/S00InstallAddon
Starting /etc/init.d/S00watchdog
S00watchdog - skipping
Starting /etc/init.d/S01InitHost
S01InitHost - defaults
Checking device
Detected Raspberry PI
Starting /etc/init.d/S02InitRTC
S02InitRTC - skipping
Starting /etc/init.d/S03InitURandom
S03InitURandom - skipping
Starting /etc/init.d/S04CheckFactoryReset
Checking for Factory Reset: not required
Starting /etc/init.d/S04CheckResizeLocalFS
S04CheckResizeLocal - skipping
Starting /etc/init.d/S05CheckBackupRestore
Checking for Backup Restore: not required
Starting /etc/init.d/S06InitSystem
mkdir: can't create directory '/var/lib/dbus': No such file or directory
chmod: /var/lib/dbus: No such file or directory
Initializing System: OK
Starting /etc/init.d/S07logging
Starting logging: OK
Starting /etc/init.d/S10udev
S10udev - skipping
Starting /etc/init.d/S11InitRFHardware
Identifying Homematic RF-Hardware: BidCos-RF: HM-MOD-RPI-PCB, HmIP: HM-MOD-RPI-PCB, OK
Starting /etc/init.d/S12UpdateRFHardware
Updating Homematic RF-Hardware: HM-MOD-RPI-PCB: 2.8.6, OK
Starting /etc/init.d/S13irqbalance
S13irqbalance - skipping
Starting /etc/init.d/S21rngd
S21rngd - skipping
Starting /etc/init.d/S30dbus
Starting system message bus: done
Starting /etc/init.d/S31bluetooth
S31bluetooth - skipping
Starting /etc/init.d/S40network
S40network - skipping
Starting /etc/init.d/S45ifplugd
S45ifplugd - skipping
Starting /etc/init.d/S48MigrateSecuritySettings
Starting : OK
Starting /etc/init.d/S48ntp
Starting ntpd: OK
Starting /etc/init.d/S49hs485d
Preparing start of hs485d: OK
Starting /etc/init.d/S49xinetd
Starting xinetd: OK
Starting /etc/init.d/S50eq3configd
Starting eq3configd: OK
Starting /etc/init.d/S50lighttpd
Starting lighttpd: OK
Starting /etc/init.d/S50ssdpd
Starting ssdpd: OK
Starting /etc/init.d/S50sshd
Starting sshd: OK
Starting /etc/init.d/S55InitAddons
Initializing Third-Party Addons: OK
Starting /etc/init.d/S58LGWFirmwareUpdate
Starting LGWFirmwareUpdate: ...OK
Starting /etc/init.d/S59SetLGWKey
Setting LAN Gateway keys: OK
Starting /etc/init.d/S59snmpd
Starting SNMP daemon: FAIL
Starting /etc/init.d/S60hs485d
sed: /etc/config/hs485d.conf: No such file or directory
Starting hs485d: OK
Starting /etc/init.d/S60multimacd
Starting multimacd: ..OK
Starting /etc/init.d/S60openvpn
Starting /etc/init.d/S61rfd
Starting rfd:
sh: 227: unknown operand
Waiting for rfd to get ready..rfd is ready now.
Starting /etc/init.d/S62HMServer
Starting HMIPServer: (/dev/mmd_hmip) .............OK
Starting /etc/init.d/S70ReGaHss
Starting ReGaHss: .OK
Starting /etc/init.d/S71crond
Starting crond: OK
Starting /etc/init.d/S97CloudMatic
Starting CloudMatic: OK
Starting /etc/init.d/S97NeoServer
Version is up to date / or Bigger
Starting /etc/init.d/S98StartAddons
Starting Third-Party Addons: OK
Starting /etc/init.d/S99SetupLEDs
Setup onboard LEDs: booted, OK
Done starting CCU services
Register trap for SIGTERM
sending incremental file list
etc/config/
etc/config/rfd.conf
etc/config/timezone
etc/config/addons/mh/ids
etc/config/crRFD/data/3014F711A061A7D7098E1BED.ap
etc/config/eshlight/mapdb/storage.mapdb.t
sent 10,815 bytes received 161 bytes 21,952.00 bytes/sec
total size is 6,020,840 speedup is 548.55
@angelnu A big thank you for fixing this issue and spending all the effort into the CCU docker images! Thank you also for your fast responses!
I close this issue, as I can properly discover Homematic devices now (ssh works also fine again):
Acknowledgement: First, I would like to thank Angelnu for this great repository! Binning the CCU2 into a docker container is one of the best and most flexible solutions for systems that should run multiple services in parallel.
Issue: I think I got it almost running, but there is a piece missing. I can log into the web GUI fine, but after one minute several pop up messages appear from which this one is probably the most severe one: "BidCos-RF : Eine Komponente der Homematic Zentrale reagiert nicht mehr." Others had this issue as well, but all solutions I tried, did not help in my case: The BidCos-RF seems not to initialize properly with the HM-MOD-RPI-PCB (see log of
rfd -l 0 -c
at the far end of this post).Below you find my log files and the things I checked. The HM-MOD-RPI-PCB is working fine with another Raspberry Pi based installation on PIVCCU. The module seems also to respond to firmware queries from inside the container.
My question is, how can I diagnose the issue further to resolve this issue?
Logs and Data: I installed a fresh Raspbian Stretch on a Raspberry 2 B V1.1, disabled the serial console but enabled the serial port. Then installed docker and created the docker container with
./build.sh
and./deploy.sh
.The following commands are executed on the host raspberry pi system:
uname -a
shows:cat /etc/os-release
shows:docker version
shows:cat /boot/cmdline.txt
shows:cat /boot/config.txt
shows:sudo ./deploy.sh
shows:docker logs -f ccu2
shows:cat rfd.conf
shows:The following commands were executed inside the docker container, which was entered by the command:
docker exec -it ccu2 /bin/sh
.Retrieving the serial number from the HM-MOD-RPI-PCB by the command
eq3configcmd update-coprocessor -p /dev/mmd_bidcos -c -se -d /firmware
shows (inside container execution):Retrieving the firmware version from the HM-MOD-RPI-PCB by the command
eq3configcmd update-coprocessor -p /dev/mmd_bidcos -c -v -d /firmware
shows (inside container execution):Triggering the firmware update for the HM-MOD-RPI-PCB by the command
eq3configcmd update-coprocessor -p /dev/mmd_bidcos -c -u -d /firmware
shows (inside container execution):rfd -l 0 -c
shows: