Skip to content

n8886919/HA_config

Repository files navigation

Home Assistant Configuration

What is Home Assistant?

Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.

drawingdrawingdrawingdrawing

drawingdrawingdrawingdrawingdrawing

drawingdrawingdrawing

⚜️功能

場景

  • daybreak = ☀️
  • weak = 🌙
  • relax = 😘
  • sleep = 💤
  • welcome = 🏠
  • blackout = 🏃

定時啟動drawing

  • snapshot_full in the weekend
    每周備份系統
  • Stop dehumidification
    濕度低於65關閉除溼機,:loud_sound:提示
  • 啟動場景,:loud_sound:提示,設定drawing音量,播放drawing音樂
    • ☀️Time to wake up at 8 a.m.
    • 😘Time to relax at 6 p.m.
    • 🌙Time to sleep at 12 p.m.

語音啟動drawing+drawing

透過GAdrawing語音執行home assistant script

  • 出門 :lips:: I'm off, I'm off now 🤖: 🏃 + 🔊remember to take your wallet, phone and key + stop music:mute:

    用leaving一直被辨認成living 😕

  • 回家 :lips:: I'm home, I'm back 🤖: 🏠 + play drawing music

  • 睡覺 :lips:: good night, It's bedtime, I'm going to sleep, I'm going to bed 🤖: 💤 + stop music🔇

⚜️整合元件

Google

  • drawing Google calender
    總之,照著說明操作
    總之就是透過google cloud API,設定一組OAuth client給HA用 What's Google OAuth 2.0

    例如: 若一個 APP 要存取你存放在 Google Blogger 中非公開的資訊,則這個 APP 必須要先獲得你「同意授權」,就可以存取這些非公開的資訊,而不需要你提供帳號密碼給這個 APP 知道。

  • drawingGoogle assistant + drawingGoogle home 須讓HA有外網IP,有兩種做法,duckDNS看起來太麻煩,我選擇交每月交5鎂保護費:smirk:
    然後就可以直接讓drawing同步drawing的部分裝置與場景,當然也就可以透過語音drawing控制啦! 像是把裝置設定複製到drawing的感覺? 應用方式:

    • 透過drawing設定日常安排(routine),即可以特定命令啟動drawing腳本
    • 重新命名裝置後直接drawing語音控制
  • drawing Nest Audio
    drawingdrawingdrawing ➕ 🎵 ➕ 🎤
    drawing

  • TODO: drawing keep

drawing

Others

  • drawingYeelight 智能彩光燈帶
    不要只買延長包:warning:
    不要用米家APP初始化:warning:

    上一個這麼做的.... 又重新初始化一次設備
    drawing
    drawing
  • drawingTUYA 插座
    透過Smart Life雲端連動,控制通電斷電,有錢的同學可以考慮買有電流計功能的
    😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮
    drawing

  • drawingSpotifySpotify Developer創建APP並取得Client ID and Client Secret nest audio當做藍芽音響連接舊手機,並將舊手機設成drawing預設播放器 drawing -> drawing -> 舊手機 -> drawing -> nest audio

  • drawingmobile phone sensor(電量,步數,光感,位置....各種手機狀態) 新增第二個device時,entities跑到第一個device,使用不同user登入才解決:hammer::hammer::hammer:

  • Mopidy(讓pi可以播放聲音)

  • Android IP Webcam & APPdrawing

  • Speedtest.net(可以即時看網路速度)

  • Home Assistant Cloud(每月150保護費,外網控制與網路安全)

⚜️資源

Useful link

About

My home assistant config.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published