Link to GitHub: https://github.com/amueller/introduction_to_ml_with_python
Install the following packages:
# Fetch atom, unzip and move to Applications folder
curl -s https://atom.io/download/mac -o mac.zip
# Update xcode and install graphviz
Link to GitHub: https://github.com/amueller/introduction_to_ml_with_python
Install the following packages:
# Fetch atom, unzip and move to Applications folder
curl -s https://atom.io/download/mac -o mac.zip
# Update xcode and install graphviz
Insert the SD card into a USB card reader, and plug it into your Mac
Open Terminal.app and use the following command to list the disks attached to your Mac and identify which /dev/disk corresponds to the SD card (look for the disk that includes a partition of type Linux):
diskutil list
diskutil unmountDisk /dev/disk3
wpa_supplicant.conf
country=SE # Your 2-digit country code
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
/etc/default/openhab2
: (NOTE: Xmx/Xms is also set to 1024m in this example)#########################
## JAVA OPTIONS
## Additional options for the JAVA_OPTS environment variable.
## These will be appended to the execution of the openHAB Java runtime in front of all other options.
##
The use-case for me is to connect my openHAB installation at our summer house with my production openHAB installation. The summer house openHAB instance will then just act as a slave to the production system and is connected using the MQTT binding and the MQTT Event Bus (Now replaced by the openHAB remote binding).
To be able to connect a remote Mosquitto instance to a central Mosquitto instance you need to configure the remote Mosquitto as a bridge and the central Mosquitto will then be the broker.
openHAB is a popular open source home automation platform that can run on a Docker container. The openHAB K3s deployment in this example uses persistent volume claims on NFS volumes and Traefik Ingress controller for easy external access to GUIs.
NOTE: The yaml-files for openHAB uses NFS Persistent volumes, hence instructions on this page needs to be done before continuing.
The following instructions assumes you are logged into the master node.
You first need to clone the openHAB Docker repo to be able to fetch the latest container additions from OpenHAB:
The steps below requires that you have followed the installation steps for installing K3s on RPIs.
NOTE: The following file can be found in the following repository.
Installation steps for K3s traefik dashboard. On master node, create a folder called k3s-traefik:
Open Helm file:
sudo apt update
sudo apt full-upgrade
The steps below requires that you have followed the installation steps for installing K3s on RPIs.
Start registry container on master node, we will use insecure mode as configured in my K3s installation guide:
docker run -d -p 5000:5000 --restart=always --name registry registry:2
Login to docker on master node (requires that you have an account on Docker Hub):
docker login
The steps below requires that you have followed the installation steps for installing K3s on RPIs.
Ensure that you have a DNS hostname that can be resolved on Inet:
$ dig +short oh.domain.se