TawfikDaim / home_automation

home automation user stories
0 stars 0 forks source link

Further setup at home assistant (Z2MQTT) #59

Open TawfikDaim opened 3 months ago

TawfikDaim commented 3 months ago

https://www.youtube.com/watch?v=4usy1ESI4k4

  1. MQTT, Z2MQTT(https://github.com/zigbee2mqtt/hassio-zigbee2mqtt?tab=readme-ov-file) define the Zigbee Sonoff stick get the /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230221134927-if00 address

This is configuration YAML for MQTT logins: [] require_certificate: false certfile: fullchain.pem keyfile: privkey.pem customize: active: false folder: mosquitto This is configuration YAML for Z2MQTT data_path: /config/zigbee2mqtt socat: enabled: false master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777 slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5 options: "-d -d" log: false mqtt: server: mqtt://192.168.1.222:1883 user: mqttuser password: mqttuser serial: port: >- /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230221134927-if00 adapter: ezsp to make sure the devices will show in home assistant make sure to enable the integration in home assistant with MQTT

  1. use VSC on my computer to remote connect and open config folder using Samba share Hacs only worked for me when I used wget -O - http://get.hacs.xyz/ | bash - instead of wget -O - https://get.hacs.xyz/ | bash - after getting timeout error

https://www.wundertech.net/how-to-install-hacs-on-home-assistant/