Skip to content

Latest commit

 

History

History
53 lines (32 loc) · 2.46 KB

DOCS.md

File metadata and controls

53 lines (32 loc) · 2.46 KB

Hopefully the backup of docker-compose is enough to restore everything if my server completely dies, but this can be a reference for various setup and commands as I remember to add them for my own reference.


Services

  • homeassistant - the main thing that is in charge of everything
  • frigate - adds some object detection and other nice functions around the cameras
  • cloudflared-tunnel - uses a cloudflare tunnel to let me access home assistant outside of the local network
  • mosquitto - MQTT server to let home assistant talk to frigate and zwave js
  • zwave js - adds some management to the zwave network so that home assistant can access the devices

Mosquitto

For frigate, home assistant, and zwave js to talk to mosquitto they need passwords. I have them all set up with separate passwords. To create a new password, log into the mosquitto's shell:

  • In portainer go to the mosquitto container and then Console
  • Choose /bin/sh as the shell script interpreter

and do the following:

cd /mosquitto/config
mosquitto_passwd password.txt [username]
[Enter password as prompted twice, remember the password!]

Important: restart the mosquitto docker container so that the changes take effect!

Now that user should be able to use the entered password to connect to the broker.

Debugging

I've downloaded this to test various connections and things in a UI

https://mqttx.app/downloads

ZWave

Resetting the stick

I had to reset the stick when I redid everything because I didn't know the old security codes. This software let me reset easily and could be good for future debugging of the zwave network but it was difficult to find the right downloads, I'm not sure which link actually worked. Need an account and then something here https://www.silabs.com/wireless/z-wave?tab=software#software you eventually get a PC Controller inside the Simplicity Studio which recognized the stick and the attached device(s).

Devices

Radio Thermostat

https://github.com/brannondorsey/radio-thermostat/blob/master/RTCOAWiFIAPIV1_3.pdf