# 2026-02-04 (Tuesday) ## Coding Setup - Corey: "ok gonna make all coding projects in this channel" [#coding channel] - Channel ID: 1468627455656067074 - All coding-related projects will be centralized here ## Git Tutorial (Discord #projects) - GitHub repo: whoisfrost/controls-web (lassite controls internal website) - Workflow taught: - main = stable/production branch - dev = testing ground/playground - Work PC pushes to dev branch on GitHub - Dev server pulls dev branch - Live server pulls main branch - Feature branches for specific changes (get deleted after merge into dev) - Commands covered: - `git checkout -b dev` - create dev branch - `git push origin dev` - push dev to GitHub - `git checkout main`, `git pull origin main` - switch to and pull main - `git merge dev` - merge dev into current branch - `git reset --hard HEAD~1` - rollback last commit - `git revert ` - safer rollback (creates new commit) - `git push --force` - force push (careful!) - Corey planning to: force push to sync GitHub with local main/dev branches - Docker v29.2.1 is available on this machine if needed later ## Room-assistant Setup (livingroom-pi: 192.168.0.95) - **Config location**: `/home/admin/config/local.yml` NOT `/home/admin/room-assistant/config/local.yml` - **Config format** (v2.x): keys at root level, no "global." prefix ```yaml mqtt: host: "192.168.0.39" port: 1883 username: "corey" password: "41945549" bluetooth: adminToken: "AF07072FBAC1FD6281FBE765DF6D841E" timeout: 60 addresses: - "b0:c2:c7:07:28:b5" # Corey's phone MAC settings: room: "LivingRoom" ``` - **HA entities**: sensor.livingroom_cluster_size, sensor.livingroom_cluster_leader (after config fix) - **mdns module**: sudo npm install -g mdns (required for cluster discovery) - **Bluetooth tracking**: Phone MAC b0:c2:c7:07:28:b5 configured ## Audiobook Converter (pending) - Qwen TTS via LLMStudio API: http://127.0.0.1:7860 - Gradio Python client v6.5.1 installed - FFmpeg 8.0.1 available for audio merging - Waiting on Corey to load Qwen model in LLMStudio