Closed Munsio closed 7 years ago
found out i forgot something about editing the rfd.conf so i changed it to this:
[Interface 0]
Type = CCU2
ComPortFile = /dev_org/ttyAMA0
AccessFile = /dev/null
ResetFile = /sys_org/class/gpio/gpio18/value
i dont know why but everytime i start the container the lines AccesFile and ResetFile get modified with an # before.
And still the same error
The # are added in the entrypoint.sh.
Then i figured out that you are mapping /dev_org/ttyAMA0 to /dev/mmd_bidcos
so i changed the ComPortFile to /dev/mmd_bidcos but still no luck.
Could it be that i roasted something during soldering?
same thing with the latest image from https://hub.docker.com/r/angelnu/ccu2/. I don't think it is a hardware problem. I have an elder docker ccu2 image which works. What I found out:
with the working container I can do this successfully: echo "0" > /sys/class/gpio/gpio18/value and the value really changes
doing this with the latest image I get: sh: can't create /sys/class/gpio/gpio18/value: Read-only file system
Any ideas ?
update: having written my prevoius comment, I tried to do echo "0" > /sys_org/class/gpio/gpio18/value and it worked.
So I changed the entrypoint.sh and tried again, without success. Problem seems to be rfd, which starts correct now (after the change), but dies after some seconds.
Hi,
with the new docker image you need additional binds in the docker compose file for sys and dev. Mine looks like this:
ccu2: image: angelnu/ccu2 volumes:
aliases:
- ccu2
ports:
If you want to build the docker image yourself you need to install python-lzo on your system. Usually this should be handled by build.sh but I guess it does not work on your OS.
build.sh contains:
python -mplatform | grep -qi Ubuntu && apt-get update && apt-get install python-lzo || true python -mplatform | grep -qi ARCH && apt-get update && pip2 install python-lzo || true
So what is the output from python -mplatform
on your system?
@Munsio could you please let me know what do you get on your system when you execute "python -mplatform" ? Without this I do not know why lzo did not get installed.
we can close this issue i'm using the official raspbian instead hypriotOS and i don't want to build the image cause you provided a new one
Device: RaspberryPi3 + ELV-Radio Module OS: hypriot 1.4.0 - kernel: 4.4.50 Docker: 17.05.0-ce
Tried it with your prebuildt docker-image including the changes in your readme but the homematic webUI always displaying the failure "BidCos-RF Anlernmodus konnte nicht aktiviert werden".
Log from first run:
Docker-Compose File:
After that i found that your CCU Version is old so i tried it with an git checkout, changing the version in build.sh like you described in the readme and executed build.sh but it failed with following error:
I will try some other things but it would be great if you can lend an eye or so and get me this thing to work like it should.
regards