Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

How to troubleshoot "BidCos-RF : Eine Komponente der Homematic Zentrale reagiert nicht mehr."? #23

Closed
JPHsProjects opened this issue Dec 21, 2018 · 16 comments

Comments

@JPHsProjects
Copy link

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?

bildschirmfoto 2018-12-21 09 22 43

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:

Linux raspi4home 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux

cat /etc/os-release shows:

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian

docker version shows:

Client:
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        4d60db4
 Built:             Wed Nov  7 00:57:26 2018
 OS/Arch:           linux/arm
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       4d60db4
  Built:            Wed Nov  7 00:17:57 2018
  OS/Arch:          linux/arm
  Experimental:     false

cat /boot/cmdline.txt shows:

dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=b96a4d1a-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

cat /boot/config.txt shows:

# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on
enable_uart=1

sudo ./deploy.sh shows:

Starting container as plain docker
docker run --device=/dev/ttyAMA0:/dev_org/ttyAMA0:rwm -d --restart=always -v /sys:/sys_org -v /dev:/dev_org -v /home/pi/dockerdata/ccu2_data:/mnt --name ccu2 -p 80:80 -p 2001:2001 -p 8181:8181 -e PERSISTENT_DIR=/mnt --hostname ccu2  angelnu/ccu2:latest
83b6c4f42697c56f7096a28534c82cdec9fe351cad1dbdb909122443a11331a0

Docker container started!
Docker data volume used: /home/pi/dockerdata/ccu2_data

docker logs -f ccu2 shows:

Detected Raspberry
Copying from /mnt to /usr/local/
sending incremental file list
crontabs/
crontabs/crontabs -> /usr/local/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_key
etc/ssh_host_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/firmware -> /firmware/
etc/config/hm_addons.cfg
etc/config/hmip_address.conf
etc/config/homematic.regadom
etc/config/homematic.regadom.bak
etc/config/ids
etc/config/keys
etc/config/log4j.xml
etc/config/multimacd.conf
etc/config/netconfig
etc/config/ntpclient
etc/config/rfd.conf
etc/config/shadow
etc/config/syslog
etc/config/userAckSecurityHint
etc/config/addons/
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/nginx.pi
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/mh -> /opt/mh/www
etc/config/crRFD/
etc/config/crRFD/data/
etc/config/hs485d/
etc/config/rc.d/
etc/config/rfd/
etc/config/userprofiles/

sent 1993029 bytes  received 2015 bytes  3990088.00 bytes/sec
total size is 1985961  speedup is 1.00
Configuring GPIO in port 18

Check if /etc/config/keys exits

Check if /etc/config/ids exits

Starting CCU2 init scripts

Starting /etc/init.d/S00eQ3SystemStart
cat: can't open '/sys/module/plat_eq3ccu2/parameters/board_serial': No such file or directory
/etc/init.d/S00eQ3SystemStart: line 159: can't create /sys/class/leds/power/brightness: nonexistent directory
/etc/init.d/S00eQ3SystemStart: line 159: can't create /sys/class/leds/power/trigger: nonexistent directory
/etc/init.d/S00eQ3SystemStart: line 159: can't create /sys/class/leds/internet/trigger: nonexistent directory
/etc/init.d/S00eQ3SystemStart: line 159: can't create /sys/class/leds/info/trigger: nonexistent directory
/etc/init.d/S00eQ3SystemStart: line 159: can't create /sys/class/leds/info/brightness: nonexistent directory
/etc/init.d/S00eQ3SystemStart: line 159: can't create /sys/class/leds/info/delay_off: nonexistent directory
/etc/init.d/S00eQ3SystemStart: line 159: can't create /sys/class/leds/info/delay_on: nonexistent directory
mkdir: can't create directory '/var/log': File exists
mkdir: can't create directory '/var/tmp': File exists
mkdir: can't create directory '/var/run': File exists
mkdir: can't create directory '/var/spool': File exists
mkdir: can't create directory '/var/lock': File exists
mkdir: can't create directory '/var/cache': File exists
mkdir: can't create directory '/var/lib': File exists
mkdir: can't create directory '/var/lib/misc': File exists
mkdir: can't create directory '/var/empty': File exists
modprobe: chdir(4.14.79-v7+): No such file or directory
modprobe: chdir(4.14.79-v7+): No such file or directory
modprobe: chdir(4.14.79-v7+): No such file or directory
modprobe: chdir(4.14.79-v7+): No such file or directory
modprobe: chdir(4.14.79-v7+): No such file or directory
modprobe: chdir(4.14.79-v7+): No such file or directory
modprobe: chdir(4.14.79-v7+): No such file or directory
modprobe: chdir(4.14.79-v7+): No such file or directory
modprobe: chdir(4.14.79-v7+): No such file or directory
modprobe: chdir(4.14.79-v7+): No such file or directory
LED Code: System start: OK
Init Firewall: Starting crond: OK

Starting /etc/init.d/S01logging
Starting logging: OK

Starting /etc/init.d/S07logging
Starting logging: OK

Starting /etc/init.d/S10udev
/etc/init.d/S10udev: line 45: can't create /proc/sys/kernel/hotplug: Read-only file system
Populating /dev using udev: done

Starting /etc/init.d/S15watchdog
Starting watchdog...

Starting /etc/init.d/S20urandom
Initializing random number generator... done.

Starting /etc/init.d/S40UsbNetwork
ifconfig: SIOCSIFADDR: Operation not permitted
Starting network over usb: OK

Starting /etc/init.d/S40network
Starting network...
ip: RTNETLINK answers: Operation not permitted
sysctl: error setting key 'net.ipv4.tcp_timestamps': Read-only file system
hostname: sethostname: Operation not permitted
route: SIOCADDRT: Operation not permitted
udhcpc (v1.20.2) started
ifconfig: SIOCSIFADDR: Operation not permitted
Sending discover...
Sending discover...
Sending discover...
No lease, failing
killall: checkDHCP: no process killed
eth0 carrier detected
ifconfig: SIOCSIFADDR: Operation not permitted
route: SIOCADDRT: Operation not permitted

Starting /etc/init.d/S45ifplugd
Starting Network Interface Plugging Daemon: eth0.

Starting /etc/init.d/S49hs485d
Preparing start of hs485dOK

Starting /etc/init.d/S50SetClock
clock_settime: Operation not permitted
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --debug option to see the details of our search for an access method.
Starting setclock: OK

Starting /etc/init.d/S50eq3configd
cat: can't open '/sys/module/plat_eq3ccu2/parameters/radio_mac': No such file or directory
cat: can't open '/sys/module/plat_eq3ccu2/parameters/board_serial': No such file or directory
Starting eq3configd: OK

Starting /etc/init.d/S50lighttpd
Starting lighttpd: OK

Starting /etc/init.d/S50sshd

Starting /etc/init.d/S58LGWFirmwareUpdate

Starting /etc/init.d/S59SetLGWKey
ls: /etc/config/*.keychange: No such file or directory
OK

Starting /etc/init.d/S60hs485d
Starting hs485d: OK

Starting /etc/init.d/S60multimacd
Starting multimacd: 
Could not open SPI device: No such file or directory
Could not open SPI device: No such file or directory
sed: /sys/module/plat_eq3ccu2/parameters/radio_mac: No such file or directory
2018/12/21 08:58:40.027 <Error> CCU2CommControllerMod::performIdentify(): Unable to determine coprocessor state.
Could not open SPI device: No such file or directory
checking if firmware update is needed...
error while updating coprocessor, recovering...
Could not open SPI device: No such file or directory
sh: 279: unknown operand
sh: 279: unknown operand
sh: 279: unknown operand
sh: 279: unknown operand
sh: 279: unknown operand
Waiting for multimacd to get ready.....Timeout while waiting for multimacd to get ready.

Starting /etc/init.d/S61rfd
Starting rfd: 
sh: 311: unknown operand
sh: 311: unknown operand
sh: 311: unknown operand
sh: 311: unknown operand
sh: 311: unknown operand
Waiting for rfd to get ready......rfd is ready now.

Starting /etc/init.d/S62HMServer
cp: can't stat '/etc/config_templates/hmip_networkkey.conf': No such file or directory
Starting HMServer: Waiting for HMServer to get ready
Init Hardware Info
OK

Starting /etc/init.d/S70ReGaHss
Starting ReGaHss: OK

Starting /etc/init.d/S99eQ3SystemStarted
cat: can't open '/sys/module/plat_eq3ccu2/parameters/board_serial': No such file or directory
/etc/init.d/S99eQ3SystemStarted: line 58: can't create /sys/class/leds/power/brightness: nonexistent directory
/etc/init.d/S99eQ3SystemStarted: line 58: can't create /sys/class/leds/power/trigger: nonexistent directory
/etc/init.d/S99eQ3SystemStarted: line 58: can't create /sys/class/leds/internet/trigger: nonexistent directory
/etc/init.d/S99eQ3SystemStarted: line 58: can't create /sys/class/leds/info/trigger: nonexistent directory
insmod: can't insert '/opt/mh/tun.ko': Operation not permitted
System startedOK
Done starting CCU2 init scripts

Register trap for SIGTERM
sending incremental file list
etc/config/
etc/config/netconfig
etc/config/rfd.conf
etc/config/addons/mh/ids

sent 3558 bytes  received 86 bytes  7288.00 bytes/sec
total size is 1985961  speedup is 544.99

cat rfd.conf shows:

# TCP Port for XmlRpc connections
Listen Port = 2001

Log Destination = Syslog
Log Identifier = rfd
Log Level = 1

Persist Keys = 1

# PID File = /var/rfd.pid
# UDS File = /var/socket_rfd

Device Description Dir = /firmware/rftypes
Device Files Dir = /etc/config/rfd
Key File = /etc/config/keys
Address File = /etc/config/ids
Firmware Dir = /firmware
Replacemap File = /firmware/rftypes/replaceMap/rfReplaceMap.xml
Fire NACK Error Events = true
#Improved Coprocessor Initialization = true

[Interface 0]
Type = CCU2
ComPortFile = /dev/mmd_bidcos
 AccessFile = /dev/null
 ResetFile = /dev/ccu2-ic200

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):

2018/12/21 08:04:19.203 <Info> SerialNumber: OEQ0308206

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):

2018/12/21 08:04:19.203 <Info> SerialNumber: OEQ0308206

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):

2018/12/21 08:06:00.046 <Info> Version: 2.8.6

2018/12/21 08:06:00.047 <Info> No update necessary

rfd -l 0 -c shows:

Config file is /etc/config/rfd.conf
2018/12/21 08:08:52.543 <Info> BidCoS-Service started
2018/12/21 08:08:52.546 <Info> XmlRpc Server is listening on TCP port 2001
2018/12/21 08:08:52.553 <Debug> CCU2CommController::init() - Legacy initialization.
2018/12/21 08:08:57.555 <Debug> () CCU2CommController::startCoprocessorApp(): Trying to start coprocessor application
2018/12/21 08:08:58.056  CCU2CommController::startCoprocessorAppThreadFunction(): Send start command
2018/12/21 08:08:58.056  CCU2CommController::SendSystemCommdand()
2018/12/21 08:08:58.058  CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 00 03 18 0a 
2018/12/21 08:08:58.061  RX SERIAL: fd 00 02 ff 00 02 00 
2018/12/21 08:08:58.061  RX FRAME: ff 00 
2018/12/21 08:08:58.061  CCU2CoprocessorCommand::CCU2CoprocessorCommand(): Message too small: 2 bytes.
2018/12/21 08:08:58.062 <Debug> () CCU2CommController::handleIncomingSerialFrame(): Command not parseable.
2018/12/21 08:08:59.059 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.

2018/12/21 08:09:01.059  CCU2CommController::startCoprocessorAppThreadFunction(): Retrying to send start command
2018/12/21 08:09:01.059  CCU2CommController::startCoprocessorAppThreadFunction(): Send start command
2018/12/21 08:09:01.060  CCU2CommController::SendSystemCommdand()
2018/12/21 08:09:01.060  CCU2CommController::SendSystemCommdand() sending: fd 00 03 00 01 03 9e 09 
2018/12/21 08:09:01.063  RX SERIAL: fd 00 02 ff 01 82 05 
2018/12/21 08:09:01.063  RX FRAME: ff 01 
2018/12/21 08:09:01.063  CCU2CoprocessorCommand::CCU2CoprocessorCommand(): Message too small: 2 bytes.
2018/12/21 08:09:01.064 <Debug> () CCU2CommController::handleIncomingSerialFrame(): Command not parseable.
2018/12/21 08:09:02.061 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.

2018/12/21 08:09:02.557 <Fatal error> CCU2CommController::init(): Init failed. Cannot start coprocessor application.
2018/12/21 08:09:02.557  CCU2CommController::SendSystemCommdand()
2018/12/21 08:09:02.557  CCU2CommController::SendSystemCommdand() sending: fd 00 04 00 02 0a 00 3d 10 
2018/12/21 08:09:02.560  RX SERIAL: fd 00 02 ff 02 82 0f 
2018/12/21 08:09:02.561  RX FRAME: ff 02 
2018/12/21 08:09:02.561  CCU2CoprocessorCommand::CCU2CoprocessorCommand(): Message too small: 2 bytes.
2018/12/21 08:09:02.561 <Debug> () CCU2CommController::handleIncomingSerialFrame(): Command not parseable.
2018/12/21 08:09:03.558 <Debug> () CCU2CommController::waitForCoProcessorResponse(): Timeout while waiting for response.

2018/12/21 08:09:03.558 <Error> () CCU2CommController::setCSMACAEnabled(): Error disabling CSMA/CA.
2018/12/21 08:09:03.560 <Error> No BidCoS-Interface available
2018/12/21 08:09:03.561 <Warning> Error initializing interfaces
@angelnu
Copy link
Owner

angelnu commented Dec 21, 2018

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.

@JPHsProjects
Copy link
Author

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:
bildschirmfoto 2018-12-21 20 45 29

Followed by this message:
bildschirmfoto 2018-12-21 20 54 42

The PIVCCU based installation looks more complete - using the same RF module on the same raspberry Pi:
bildschirmfoto 2018-12-21 21 05 42

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?

@JPHsProjects
Copy link
Author

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

@angelnu
Copy link
Owner

angelnu commented Dec 22, 2018

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....

@JPHsProjects
Copy link
Author

@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...

@angelnu
Copy link
Owner

angelnu commented Dec 22, 2018

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

@JPHsProjects
Copy link
Author

That's a very valid point. But as the rfd service does not start properly it was off when i tested the commands above.

@angelnu
Copy link
Owner

angelnu commented Dec 26, 2018

@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.

@JPHsProjects
Copy link
Author

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.

@angelnu
Copy link
Owner

angelnu commented Dec 27, 2018

@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.

@JPHsProjects
Copy link
Author

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

@JPHsProjects
Copy link
Author

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...

@angelnu
Copy link
Owner

angelnu commented Dec 27, 2018

I think I now understand the problems:

  • without the pivcpu kernel modules the /dev/eq3loop is missing
    • I will try to add explicit support for raspbian since the kernel there is called differently - would you recommend a check for it such a unique tool? Sorry but I do not have currently any PI running raspbian (will get one for tests tomorrow).
  • without it the multimacd service does not start
  • without multimacd the homematic IP tries to use the /dev/raw-uart directly which is not running with the modified UART kernel module -> never tried this directly but it does not surprise me that it does not work
  • the CCU3 firmware forgot to delete /usr/local -> there was a broken shadow file there. The password cannot be set with it. I am uploading a fixed docker image where I manually deleted it in the Dockerfile. You need to 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:*:::::::

@angelnu
Copy link
Owner

angelnu commented Dec 28, 2018

Please use the updated deploy.sh:

  • ssh is working now
  • ssh is exposed by default on port 2222 (see settings.template)
  • install the linux-headers and pivccu-modules-raspberrypi automatically on Raspbian
  • print a link to instructions on how to disable the Bluetooth on Raspbian
    • I could automate them but I do not want to break any user that does not use the GPIO for Homematic and might depend on Bluetooth. Maybe a dedicated script to be called manually...

@JPHsProjects
Copy link
Author

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

@JPHsProjects
Copy link
Author

@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):
bildschirmfoto 2018-12-29 00 16 32

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants