Closed eisenreich closed 3 years ago
Sorry for the late reply - in case you are still interested - the problem seems to be with the multimac service. This is responsible for multiplexing homematic and homematic IP over the same device and it is failing in your case.
Can you try to start it manually and see if you can get more info from it? I also released a new version of CCU3 - I had problems in the past where the firmware in the adapter was newer that in my container.
Hello angelnu, thanks for sharing and driving this Docker project. I'm verry interested in a solution for the described problem. I'm facing exactly the same issue. I also tried to start the multimac service manually without success. I only got the following output from the script:
/etc/init.d # ./S60multimacd restart
Stopping multimacd: OK
Starting multimacd: .....ERROR
In Messages I found the following:
Oct 28 21:57:37 ccu user.info kernel: [ 530.044661] usb 1-1.4: New USB device found, idVendor=1b1f, idProduct=c020, bcdDevice= 1.00
Oct 28 21:57:37 ccu user.info kernel: [ 530.044680] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 28 21:57:37 ccu user.info kernel: [ 530.044696] usb 1-1.4: Product: eQ-3 HmIP-RFUSB
Oct 28 21:57:37 ccu user.info kernel: [ 530.044712] usb 1-1.4: Manufacturer: Silicon Labs
Oct 28 21:57:37 ccu user.info kernel: [ 530.044726] usb 1-1.4: SerialNumber: 3014F711A061A7C00010CECF
Oct 28 21:57:37 ccu user.info kernel: [ 530.059164] cp210x 1-1.4:1.0: cp210x converter detected
Oct 28 21:57:37 ccu user.info kernel: [ 530.066366] usb 1-1.4: cp210x converter now attached to ttyUSB1
Oct 28 21:59:57 ccu syslog.info syslogd exiting
Oct 28 22:00:12 ccu syslog.info syslogd started: BusyBox v1.29.2
Oct 28 22:00:12 ccu user.notice kernel: klogd started: BusyBox v1.29.2 (2020-09-03 10:20:31 CEST)
Oct 28 22:07:51 ccu user.err multimac: No Coprocessor detected!!!
Oct 28 22:08:48 ccu user.info kernel: [ 1200.948120] eq3loop: created slave mmd_hmip
Oct 28 22:08:48 ccu user.info kernel: [ 1200.948505] eq3loop: created slave mmd_bidcos
Oct 28 22:08:54 ccu user.err multimac: No Coprocessor detected!!!
Oct 28 22:26:59 ccu user.info kernel: [ 2291.903954] eq3loop: created slave mmd_hmip
Oct 28 22:26:59 ccu user.info kernel: [ 2291.904514] eq3loop: created slave mmd_bidcos
Oct 28 22:27:05 ccu user.err multimac: No Coprocessor detected!!!
Oct 28 22:27:05 ccu user.info kernel: [ 2297.908091] eq3loop: eq3loop_close_master() mmd_hmip
Oct 28 22:27:05 ccu user.info kernel: [ 2297.908109] eq3loop: eq3loop_close_master() mmd_hmip destroy device
Please tell me, how I can support you to resolve this problem. Thanks a lot in advance ROBOlogo
So today I gave it a new try.
I set up a completely new Raspberry Pi 4 and so far I think the USB stick is working. I used the version e5a6a1c
and execute the deploy.sh
script without any config modifications.
Now I can access the web UI at the default HTTP port. Under devices one device is listed:
Is this the USB-stick?
The only problem I now have is to pair the HmIP-eTRV-2 (https://de.elv.com/elv-homematic-ip-komplettbausatz-heizkoerperthermostat-hmip-etrv-2-fuer-smart-home-hausautomation-153198). I did a factory reset and then started the teach-in mode, but the device is not detected. Do you have any idea what I can do else or what's wrong?
UPDATE 1:
The following notification happens from time to time:
The startup log:
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/S05avahi-setup.sh
Starting /etc/init.d/S06InitSystem
Initializing System: OK
/entrypoint.sh: line 21: /etc/init.d/S07DisableHdmi: Permission denied
Starting /etc/init.d/S07DisableHdmi
Starting /etc/init.d/S07logging
Starting logging: OK
Starting /etc/init.d/S10udev
S10udev - skipping
Starting /etc/init.d/S11InitRFHardware
Identifying Homematic RF-Hardware: HmIP-RFUSB (1b1f:c020) USB stick is connected -> ensure you do the following on the host:
- modprobe cp210x
- echo 1b1f c020 >/sys/bus/usb-serial/drivers/cp210x/new_id
BidCos-RF: RPI-RF-MOD, HmIP: HMIP-RFUSB, OK
Starting /etc/init.d/S12UpdateRFHardware
Updating Homematic RF-Hardware: RPI-RF-MOD: 2.8.6=>4.2.6, ERROR ( != 4.2.6); HMIP-RFUSB: 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: no Hm-Wired hardware found
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 /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 /etc/init.d/S60hs485d
Starting hs485d: no Hm-Wired hardware found
Starting /etc/init.d/S60multimacd
Starting multimacd: SKIPPING (missing HM_HOST_GPIO_UART)
Starting /etc/init.d/S60openvpn
Starting /etc/init.d/S61rfd
Starting rfd: ........................................ERROR
Starting /etc/init.d/S62HMServer
Starting HMIPServer: (/dev/ttyUSB0) .............OK
Starting /etc/init.d/S69UDSServices
Starting eq3-uds-services: OK
Starting /etc/init.d/S70ReGaHss
Starting ReGaHss: .OK
Starting /etc/init.d/S97CloudMatic
Starting CloudMatic: OK
Starting /etc/init.d/S97NeoServer
[Sun Nov 8 14:18:40 CET 2020] /etc/init.d/S97NeoServer skipping (LAN Gateway)
[Sun Nov 8 14:18:40 CET 2020] /etc/init.d/S97NeoServer skipping (safemode)
[Sun Nov 8 14:18:40 CET 2020] /etc/init.d/S97NeoServer start -> check neo server add-on
[Sun Nov 8 14:18:40 CET 2020] /etc/init.d/S97NeoServer check neo server add-on
[Sun Nov 8 14:18:40 CET 2020] /opt/mediola/startup.sh check installed add-on
[Sun Nov 8 14:18:40 CET 2020] /opt/mediola/startup.sh default=2.5.5, installed=2.5.5
[Sun Nov 8 14:18:40 CET 2020] /opt/mediola/startup.sh add-on is up to date / or newer
[Sun Nov 8 14:18:40 CET 2020] /opt/mediola/startup.sh INSTALL=false, DISABLED=true
Starting /etc/init.d/S98StartAddons
Starting Third-Party Addons: OK
Starting /etc/init.d/S98crond
Starting crond: 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/3014F711A000041709ADFA9D.ap
etc/config/eshlight/mapdb/storage.mapdb.t
sent 68,996 bytes received 479 bytes 138,950.00 bytes/sec
total size is 45,420,409 speedup is 653.77
Sorry, I had been busy moving to RaspberryMatic -> see https://github.com/jens-maus/RaspberryMatic/wiki/Docker
Could you please test with the new RaspberryMatic container images - I will provide support so you can open issues there as well.
Hello,
FOA thank you for this this engagement with getting this project able to start with docker.
Now to the problem...
I'm trying to run the CCU on a
Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux
Raspberry 4 with 4gb RAM.I bought the usb-toolkit from elv-electronic and soldered it by myself. But because of bad equipment and no flux, the solder joints are not pretty good! So this could be also a reason because it's not working - I don't know for sure. When I unplug and plugin the USB-stick the following message is in the kernel log written:
This does looks like the USB should work fine or?!
To go sure I started
java -jar hmip-copro-update.jar -p /dev/ttyUSB0 -v
which produced the following output:In the building instruction this command with the according output is written as the proof that the USB is working well. - I told you this because maybe you have made different experiences.
After this two circumstantial I was almost sure that the USB works fine and it's a configuration related issue.
So I cloned your repository and executed
sudo deploy.sh
. This command got stuck atand I rebooted the Pi with half success.
Now the previous step succeeds, but gets stuck at another one (I cut of the copied files, if you need this let me know) :
This stucks until a timeout is reached I think and this step is skipped, then the following follow:
After a while I can access the WebUi, but get the error information that a component of the Homatic is not responding anymore. This error popup message I receive for
HmIP-RF
andVirtualDevices
.And the adding new devices button opens a empty window where I just can push the![anlernen-fehler](https://user-images.githubusercontent.com/12513137/72664860-0ca9f800-3a03-11ea-872a-dff1b5905d9f.png)
Back
orInbox
-Button. The inbox button opens a alert withHomeatic Wireless learning mode could not be activated
. In the browser console the following error is displayed:FYI: The error messages I translated from german to english as good as my english is. I also took some screenshots, if this helps you.
I tried to find some log-information but without success and don't know how to go further.
Thank you a lot in advice!
UPDATE 1 I copied the
hmserver.log
which holds the following content:This log entries happens each 7 seconds.
Update 2: I took a closer view to this log file and found the following exception: