This will guide you how to flash the homematic uart modules firmware within hassos.
- Install the Terminal addon in Hassio and start it in privileged mode
- Check homematic addon is stopped!
- Copy above Dockerfile to /root of hassos
- run following commands to update the firmware
docker build . -t occu_update_image --network=host
docker run -it --rm --privileged --network=host occu_update_image /bin/bash
Inside the container then run
hmcfgusb/flash-hmmoduart -U /dev/ttyAMA0 coprocessor_update_of_occu_3.55.5.eq3
You are done.
Inside the container you can wget any coprocessor firmware and flash that of course.
Hm let me test this again this evening, maybe i wrote the wrong command down. That it hangs on flashing is quite odd, maybe one has to consult the docs of the firmware fashing tool (https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb). The whole setup here is just to get an environment to execute the tool(since hassos does not have any package manager etc.)
AFAIK if you have /dev/ttyAMA0 it is quite sure the serial interface to the module.
Note refashing the firmware only helps with these errors: https://github.com/home-assistant/addons/blob/1ba2b7ba80f1e1238e9ee52c765fd29720f14af3/homematic/DOCS.md#bidcos-errors--coming-from-raspmaticpivccu- when the module previously was used with pivccu or raspmatic.
I think such errors could also occur if the module itself is faulty or seriel interfaces conflict like its the case with rpi3 (especially the timeout error may also occur then)