Raspberry Pi + Docker How-to (for HASS users) #180
Replies: 3 comments 2 replies
-
and as this discussion is classified show and tell (this is from top layer to bottom layer 1)zwave module 2)POE+i2c+screen module 3) pi4 2gb |
Beta Was this translation helpful? Give feedback.
-
How is the range and stability of it? I considered investing in raspberry to run z-wave alone, and possibly Home Assistant as well, and I found that hat. My current situation doesn't allow for the z-wave controller to be placed centrally in the house, which sucks. I didn't know if it would be good or not.. I'd be oming from the Aeotec gen5 stick, which has a built in battery... Which in turn does not work on the raspberry pi 4, due to some hardware issue.. A newer model would apparently fix that. Mike. |
Beta Was this translation helpful? Give feedback.
-
by me it doesn't work, what could it be?
regards |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Introduction
This how gives steps to getting docker and zwavejs2mqtt working on a raspberry pi 4.
Assumptions in this example:
Prepare Raspberry Pi
Basic setup
Fit raZberry hat to pi, then plug in power
Image Raspbian image and boot and logon (if you don't know how to do this, go find a pi and linux tutorial)
login
Give your pi a friendly name
use raspi-config to set name to something like pi-zwave01
don't forget to save as you backout of the menus
Disable Bluetooth on pi4
only needed if using pihat, see here for detailed why https://di-marco.net/blog/it/2020-06-06-paspberry_pi_3_4_and_0_w_serial_port_usage/
add following and save and exit
Install docker
Configure zwavejs2mqtt container
Configure zwavejs2mqtt
Connect to http://pi-zwave01
The following fields need to be filled:
• click save
If this is done right after a few mins when you return to the main page the HomeID and Home Hex should be populated, if they are not refer to troubleshooting guide.
Configure MQTT
Assumes you are already running an MQTT container like the one in home assistant supervisor mode or mosquitto from docker
Click the cog in the UI
expand mqtt
Set as follows:
Click Save!
Configure Gateway (assuming for Home Assistant)
Click the cog in the UI
expand Gateway
Set as follows:
Click Save!
Don't forget to make sure you setup MQTT in Hass configuration.yaml as per instructions https://zwave-js.github.io/zwavejs2mqtt/#/guide/homeassistant
let me know what you think the best settings are and why!
Beta Was this translation helpful? Give feedback.
All reactions