Hassio homematic ccu3 HM-MOD-RPI-PCB

Hi,

I bought a homematic ccu3 which actually is a raspberry pi3 with a board on it which has separate power plug.
I’m changing the SD of this with a hassio one and I’m trying to install homematic ccu plugin in hassio and configure it.
Since there aren’t any examples of ccu3 I’m using this configuration from documentation:


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

After I start it I get a lot of errors like:

2020-12-14 20:05:59,339 [ERROR] BidCosRpcDispatcher - Could not register BidCos-RF_java```
WARNING: Thread Thread[vert.x-eventloop-thread-2,5,main] has been blocked for 9135 ms, time limit is 2000
io.vertx.core.VertxException: Thread blocked
	at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
	at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
	at [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
	at [email protected]/java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:458)
	at app//de.eq3.ccu.virtualdevice.service.internal.rega.VirtualDeviceHandlerRega.registerCallback(VirtualDeviceHandlerRega.java:99)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:566)
	at app//de.eq3.cbcs.legacy.communication.rpc.internal.rpc.AnnotationAwareRpcHandler.execute(AnnotationAwareRpcHandler.java:80)
	at app//de.eq3.ccu.server.internal.RpcMessageHandler.handle(RpcMessageHandler.java:70)
	at app//de.eq3.ccu.server.internal.RpcMessageHandler.handle(RpcMessageHandler.java:24)
	at app//io.vertx.core.eventbus.impl.HandlerRegistration.deliver(HandlerRegistration.java:212)
	at app//io.vertx.core.eventbus.impl.HandlerRegistration.handle(HandlerRegistration.java:191)
	at app//io.vertx.core.eventbus.impl.EventBusImpl.lambda$deliverToHandler$3(EventBusImpl.java:505)
	at app//io.vertx.core.eventbus.impl.EventBusImpl$$Lambda$158/0x6e708028.handle(Unknown Source)
	at app//io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:337)
	at app//io.vertx.core.impl.ContextImpl$$Lambda$86/0x6e713028.run(Unknown Source)
	at app//io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
	at app//io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
	at app//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:445)
	at app//io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
	at [email protected]/java.lang.Thread.run(Thread.java:834)

I also did the config.txt which wasn’t easy to do at all on the boot partition :slight_smile:

dtoverlay=pi3-miniuart-bt

The hardware output is this:

serial:
  - /dev/ttyAMA0
  - /dev/ttyS0
input: []
disk:
  - /dev/mmcblk0
  - /dev/mmcblk0p1
  - /dev/mmcblk0p2
  - /dev/mmcblk0p3
  - /dev/mmcblk0p4
  - /dev/mmcblk0p5
  - /dev/mmcblk0p6
  - /dev/mmcblk0p7
  - /dev/mmcblk0p8
gpio:
  - gpio18
  - gpiochip100
  - gpiochip0
  - gpiochip504
usb:
  - /dev/bus/usb/001/001
  - /dev/bus/usb/001/002
  - /dev/bus/usb/001/003
audio:
  '0':
    name: bcm2835_alsa - bcm2835 ALSA
    type: ALSA
    devices:
      - chan_id: '0'
        chan_type: digital audio playback
      - chan_id: '1'
        chan_type: digital audio playback
      - chan_id: '2'
        chan_type: digital audio playback

anyone managed to do this successfully?

Basically ccu3 is just a raspberry pi 3b+ with a board on it… photo attached.

The HomeMatic board in the CCU is not compatible with the HA add-on - I’ve tried it.

Your best option is to restore HomeMatic to the CCU and run HA on a separate device.

Alternatively, you can run HA and RaspberryMatic under Proxmox on the same device. You’ll need to remove the HomeMatic board from the CCU and install it in a USB adapter before connecting it. I’ve done this with an Intel NUC and it works well.

1 Like

Thanks for your response. How do I map it to an USB adapter?

Hi Alex, you need a HB-RF-USB-TK board that you mount your CCU board on and then connect vis USB to the CCU. This is where I got mine along with the housing for it:

https://smartkram.de/fertige-funkmodule/#funkmodul-via-usb

The site is in German so you may need to use translate.