My setup for home automation
Added code to minimize setup time, some things are nedded to be done before starting openhab.
- Install docker CE and add user to docker group
- Add user running the docker to dial group if needed (usb zwave stick for example)
- Add rule.d file for zwave stick to get a specific /dev/ and use symlink in openhab.sh script:
cat /etc/udev/rules.d/99-usb-serial.rules
SUBSYSTEM=="tty", ATTRS{idVendor}=="0658", ATTRS{idProduct}=="0200", SYMLINK+="ttyUSB-ZStick-5G"
- If running mysql, point the volume used to store data to a completely empty dir.
That's all for now