Smart Home project for private purposes. Unifies the management of various device types like smart plugs, smart radiator controls, robotic vacuum cleaner, etc.
🐳 Make sure you have installed Docker.
See how to put this repo in action at IanStorm/my-smart-home-ras-pi.
- Follow "How to get a pre-built Docker image?"
- Ensure
./credentials/docker-env.list
exists. See "a word on docker-env.list". - Start a Docker instance:
docker run --rm -i -t --network host -p 1880:1880 --env-file ./credentials/docker-env.list ianstorm/my-smart-home-node-red:latest
Make sure you have installed Visual Studio Code.
- Clone this repository.
cd
inside the cloned folder.- In
flow-manager-cfg.json
adaptfilter
to only load desired flows. (Mind: Make sure to include all flows containing credentials.) - In
settings.js
setdisableEditor: false
(instead oftrue
). - Build the Docker image: Run the vscode task
build
. - Ensure
./credentials/docker-env.list
exists. See "a word on docker-env.list". - Start a Docker instance: Run the vscode task
run (dev)
. - Open any browser and enter
http://localhost:1880
. - Start coding, changes will be reflected in your local machine.
Get the latest Docker image from Docker Hub:
docker pull ianstorm/my-smart-home-node-red:latest
The file needs to have the following content:
NODE_RED_CREDENTIAL_SECRET=your_secret_goes_here