User Tools

Site Tools


infra:services:homeassistant

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
infra:services:homeassistant [2024/03/23 19:23] – created kfhinfra:services:homeassistant [2025/05/10 14:08] (current) marcusramberg
Line 1: Line 1:
-Home assistant+====== Home assistant ====== 
 + 
 + 
 + 
 +Home Assistant runs on a Raspberry Pi 3B, which lives in the rack with the audio gear. 
 + 
 +Zigbee devices, like the IKEA lights and buttons, run through a Zigbee stick that's plugged directly into the Pi's GPIO headers. deCONZ, with the Phoscon interface, is used as bridge between Zigbee stick and the Home Assistant runtime. 
 + 
 +Password for logging into the web interface is in Hackerpass. 
 + 
 +The Pi takes a long to boot up after a power cycle (~5 minutes). 
 + 
 +===== Getting access ===== 
 + 
 +==== Web ==== 
 + 
 +  - Get [[infra:hackerpass | Hackerpass]] - 
 +  - Go to [[http://hassio.local:8123|hassio.local:8123]] (or [[http://10.10.3.115:8123| 10.10.3.115:8123]] if mDNS fails) in your favorite web browser 
 +  - Log into web using the `hassio.local` Hackerpass credentials 
 + 
 +==== Pi ==== 
 + 
 +Talk to @kfh or @sjn who have SSH access, and they can add your key. The IP address is bound to a Docker container, so it won't help to just add the key to the any OS user. 
 + 
 +===== Hardware ===== 
 + 
 +  * Raspberry Pi 3B+ (32 bit ARM v7) 
 +  * RasbBee (deRFmega256-23M12) 
 + 
 +===== Debug ===== 
 + 
 +==== Powercycle ==== 
 + 
 +We've had issues with lights bouncing between modes and turning off randomly. The current theory is that new lights get stuck in a weird split-brain state when added through deCONZ. A reboot of the entire device seems to fix this. 
 + 
 +Update: Eirik and Deburd found that the reboot was just after OTA happens. So we tracked it to https://github.com/dresden-elektronik/deconz-ota-plugin/issues/37, where unfortunately this git issue had no solution when we checked.  
 +However, we turned off OTAU in the DeCONZ VNC app, and the power cycles stopped.  
 +We also turned off OTAU in the phoscon app settings, so that may also have fixed the problem. 
 +Anyhow, disabling OTAU in one of the places seems to have fixed the issue. 
 + 
 +==== Lightbulb naming convention ==== 
 + 
 +Our four-lightbulb lights are named per numbers, 1 being on the short wall, away from the windows. Then each lightbulb is names A-D, a being closest to the corner. 
 + 
 +{{:infra:services:lights.png?400|}} 
 +===== Files ===== 
 + 
 +* {{ :infra:services:hassio:mega23m12.15-mega23m12-user-manual-2047839.pdf | deRFmega256-23M12 Manual (RaspBee radio) }} 
 +* {{ :infra:services:hassio:derfmega128-22m00_22m10_22m12_23m00_23m10_23m12-bhb-en.pdf | deRFmega256-23M12 Datasheet (RaspbBee radio) }} 
 +* {{ :infra:services:hassio:raspbee-bhb-en.pdf | RaspBee manual }} 
 + 
 +===== Gallery ===== 
 + 
 + 
 +{{gallery>:infra:services:hassio}}
/srv/hackeriet-wiki/dokuwiki/data/attic/infra/services/homeassistant.1711221821.txt.gz · Last modified: 2024/03/23 19:23 by kfh