Git Product home page Git Product logo

Comments (4)

angelnu avatar angelnu commented on September 5, 2024

@online-junkie - you are missing the additional parameters to share the HW with the docker container.

Check: https://hub.docker.com/r/angelnu/ccu2/

from docker-ccu.

online-junkie avatar online-junkie commented on September 5, 2024

What I did so far is:

A short howto install homematic and node-red engine on the latest rasperian
Date: 30.06.2017

First Download + Install Jessie Lite -> https://www.raspberrypi.org/downloads/raspbian/
image it with Win32Disk -> https://sourceforge.net/projects/win32diskimager/

sudo -i
echo "enable_uart=1" >> /boot/config.txt
echo "dtoverlay=pi3-miniuart-bt" >> /boot/config.txt # Nur beim Pi3 notwendig
echo "core_freq=250" >> /boot/config.txt
sed -i s/'\bconsole=serial0,115200 //' /boot/cmdline.txt
systemctl disable [email protected]
reboot

lsudo -i
mkdir /opt
cd /opt

sudo apt-get install git
curl -ks https://packagecloud.io/install/repositories/Hypriot/Schatzkiste/script.deb.sh | sudo bash
sudo apt-get install docker-hypriot=1.10.3-1
sudo sh -c 'usermod -aG docker $SUDO_USER'
sudo systemctl enable docker.service

sudo docker run --name ccu2 -d - --net=host -restart=always -e PERSISTENT_DIR=/mnt -v /dev:/dev_org -v /sys:/sys_org -v ccu2_data:/mnt --device=/dev/ttyAMA0:/dev_org/ttyAMA0:rwm angelnu/ccu2

/dev/ttyS1 is not found, thats why I removed the line - maybe this is the issue?

But still the hm-mod-rpi-pcb board doesn't work.
Am I right the board emulates the standard RF-LAN gateway in this case?

from docker-ccu.

online-junkie avatar online-junkie commented on September 5, 2024

The issue can be closed, the above configuration works perfectly as well as the docker image.
My problem was a defect HM-MOD-RPI-PCB board. After soldering a new one and placing this on the raspi GPIO I can introduce new devices to my new docker-ccu2 :-)

Great work angelnu!!!

from docker-ccu.

angelnu avatar angelnu commented on September 5, 2024

Good that you found the issue!

from docker-ccu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.