Comments (8)
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
from docker-ccu.
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?
from docker-ccu.
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 ?
from docker-ccu.
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.
from docker-ccu.
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:
- /media/glusterfs/ccu2:/mnt
- /dev:/dev_org
- /sys:/sys_org
environment:
- PERSISTENT_DIR=/mnt
- CHECK_PERSISTENT_DIR=y
hostname: ccu2
networks:
ccu2:
#ipv4_address: 10.5.0.5
aliases:
- ccu2
ports:
- 8080:80
- 2001:2001
deploy:
placement:
constraints:
- node.labels.architecture == arm
from docker-ccu.
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?
from docker-ccu.
@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.
from docker-ccu.
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
from docker-ccu.
Related Issues (20)
- Deploy CCU2 HOT 3
- Import YAHM Backup HOT 9
- question about the homematic radio module HOT 18
- Latest version 3.43.16 not pushed to docker hub? HOT 2
- Container not reachable after hard power off, Raspi 3B+ HOT 7
- homematic radio module nor working HOT 7
- Docker on Synology x86 refuses to launch HOT 4
- Kernel error after deployment on RPi 4 and Raspbian Buster HOT 11
- Problems with starting with the HmIP-RFUSB HOT 4
- trying to build newest version 3.49.17 HOT 1
- CCU serial has to be fake-real for download HOT 1
- CCU firmware download fails HOT 2
- Docker Compose HOT 2
- Added support for HM-MOD-RPI-PCB via USB but not working HOT 5
- HMIP-USB not working: no GPIO/USB connected RF-hardware found HOT 6
- Documentation: Docker Hub HOT 3
- ln: failed to create symbolic link './rfd.conf': Operation not permitted HOT 5
- Reverse Proxy HOT 1
- Installation of plugins possible? HOT 2
- Broken w/ 3.55.5 during patching. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-ccu.