261
edits
(Created initial page) |
(Added HACS integration and and cleaned up entry) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Home Automation]] | |||
Information on setting up a Dockerized version of Home Assistant with the Z-Wave JS UI: | Information on setting up a Dockerized version of Home Assistant with the Z-Wave JS UI: | ||
Line 32: | Line 33: | ||
# Do not use /dev/ttyUSBX serial devices, as those mappings can change over time. | # Do not use /dev/ttyUSBX serial devices, as those mappings can change over time. | ||
# Instead, use the /dev/serial/by-id/X serial device for your Z-Wave stick. | # Instead, use the /dev/serial/by-id/X serial device for your Z-Wave stick. | ||
- '/dev/serial/by-id/ | - '/dev/serial/by-id/<device-id>:/dev/zwave' | ||
volumes: | volumes: | ||
- ./zwave-config:/usr/src/app/store | - ./zwave-config:/usr/src/app/store | ||
Line 40: | Line 41: | ||
# - '3000:3000' # port for Z-Wave JS websocket server | # - '3000:3000' # port for Z-Wave JS websocket server | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Install HACS== | |||
To install HACS<ref>https://hacs.xyz/</ref> in the Home Assistant Docker container: | |||
# SSH into system | |||
# Navigate to directory with docker-compose.yml file in it | |||
# Enter container's shell with: <syntaxhighlight lang="bash">docker-compose exec homeassistant bash</syntaxhighlight> | |||
# Run the HACS install script<ref>https://hacs.xyz/docs/setup/download</ref> with: <syntaxhighlight lang="bash">wget -O - https://get.hacs.xyz | bash -</syntaxhighlight> | |||
# Exit the container's shell | |||
# Restart the containers with: <syntaxhighlight lang="bash">docker-compose restart</syntaxhighlight> | |||
# Follow the instructions at [https://hacs.xyz/docs/configuration/basic Configuration]<ref>https://hacs.xyz/docs/configuration/basic</ref> to setup HACS integration | |||
=References= |