Moved to a RasPi4 yesterday. Most things went seemless (kudos!). Biggest problem for me is the co-existence of bluetooth and uart on the UART1 pins. Did not manage, having Bluetooth and my UART Device HM-MOD-RPI-PCB (Homematic PI Hat).
With RasPi 3 I added to /mnt/boot/config.txt
enable_uart=1
With RasPi 4 I hat to add to /mnt/boot/config.txt
dtoverlay=uart1
dtoverlay=disable-bt
Option “dtoverlay=miniuart-bt” did not work instead of disabling bt btw.
mcfly83
(Mcfly)
January 26, 2021, 9:06pm
2
Do have solution yet? I have the same Problem right now.
mcfly83
(Mcfly)
January 26, 2021, 9:15pm
3
jakob.tewes:
HM-MOD-RPI-PCB
i can`t get the HM-MOD-RPI-PCB to work on my Rpi 4
h3rb3rt
(Herbert)
February 8, 2021, 3:33pm
4
I am still working on getting the module running on a RPI4 and RPI3+ but I found something interesting
This information, at least, allowed me to use this Docker Images to flash the Module with a “supported” firmware
Dockerfile
FROM ubuntu:21.04
WORKDIR /occu_tools
RUN apt-get update && apt-get -y install libusb-1.0-0-dev build-essential git wget && rm -rf /var/lib/apt/lists/*
RUN git clone git://git.zerfleddert.de/hmcfgusb && cd hmcfgusb/ && make
RUN wget -qO coprocessor_update_of_occu_3.55.5.eq3 https://raw.githubusercontent.com/eq-3/occu/3.55.5/firmware/HM-MOD-UART/coprocessor_update.eq3
CMD /bin/bash
How to reflash HM-MOD-RPI-PCB firmware from within HassOS.md
# Instructions
This will guide you how to flash the homematic uart modules firmware within hassos.
1. Install the Terminal addon in Hassio and start it in privileged mode
2. Check homematic addon is stopped!
3. Copy above Dockerfile to /root of hassos
4. run following commands to update the firmware
```
docker build . -t occu_update_image --network=host
This file has been truncated. show original
But anyhow still trying to figure out the rest, so perhaps this helps someone to get the module running (perhaps even with bluetooth activated).
Cheers