:::
顯示具有 Home Assistant 標籤的文章。 顯示所有文章

用Cloudflare Tunnel的內網穿透來連接Home Assistant的Google助理 / Using Cloudflare Tunnel for Internal Network Penetration to Connect Home Assistant to Google Assistant

布丁布丁吃布丁

用Cloudflare Tunnel的內網穿透來連接Home Assistant的Google助理 / Using Cloudflare Tunnel for Internal Network Penetration to Connect Home Assistant to Google Assistant

2025-1018-234306.png

如果要讓Google助理操作Home Assistant所連結的設備,那麼必須要有能夠連上Home Assistant的公開HTTPS網址才行。由於原本我用的Telebit發生問題,所以我花了一些時間找尋替代方案。這篇就做個記錄吧。

To allow Google Assistant to control devices connected to Home Assistant, a public HTTPS address that can connect to Home Assistant is required. Since my original Telebit had issues, I spent some time looking for alternatives. This is just a record of that.

(more...)

如何在Home Assistant的localTuya設定裝置的實體? / How to Set Up Device Entities in LocalTuya on Home Assistant?

布丁布丁吃布丁

如何在Home Assistant的localTuya設定裝置的實體? / How to Set Up Device Entities in LocalTuya on Home Assistant?

2025-0123-004235.png

要在Home Assistant裡面使用localTuya,我們除了要取得裝置的local key之外,還需要自行設定裝置的實體在Home Assistant的控制方式。以下我們就用威技除溼機WDH-11FS為例子,來看看怎麽將UVC模式設定到Home Assistant上。

To use localTuya in Home Assistant, besides obtaining the device's local key, we also need to configure how the physical device is controlled within Home Assistant.  Below, we'll use the NWT WDH-11FS dehumidifier as an example to demonstrate how to set up the UVC mode in Home Assistant.

(more...)

雜談:Home Assistant從開發板遷移到虛擬機器 / Talk: Migrating Home Assistant From a Development Board to a Virtual Machine

雜談:Home Assistant從開發板遷移到虛擬機器 / Talk: Migrating Home Assistant From a Development Board to a Virtual Machine

2025-0122-210140.png

我原本拿來架設Home Assistant的OrangePie掛點了。藉這個機會,我將整個Home Assistant改在Proxmox VE架設。這裡記錄一下整個過程。

(more...)

雜談:Home Assistant在遠端電腦播放聲音 / TALK: Playing Audios on a Remote Computer with Home Assistant

雜談:Home Assistant在遠端電腦播放聲音 / TALK: Playing Audios on a Remote Computer with Home Assistant

2025-0122-001139.png

結論寫在前面,最後我還是在Home Assistant使用vlc-telnet播放聲音,這是最簡單的做法了。

(more...)

雜談:除溼機接上了Home Assistant,然後又離線了 / TALK: Dehumidifier WIFI Issues in Home Assistant

雜談:除溼機接上了Home Assistant,然後又離線了 / TALK: Dehumidifier WIFI Issues in Home Assistant

2024-1211-050937.png

雖然威技的WIFI除溼機的確能夠透過Tuya物聯網跟Home Assistant連接,但它似乎會在網路中斷的時候,直接關閉WIFI功能的樣子。原本以為除溼機都能按照自動化規則自己好好運作,怎麽不知不覺又離線了呢?

(more...)

Home Assistant自動化的限制:無法偵測長時間狀態 / Limitations of Home Assistant Automation: Inability to Detect Long-Duration States

布丁布丁吃布丁

Home Assistant自動化的限制:無法偵測長時間狀態 / Limitations of Home Assistant Automation: Inability to Detect Long-Duration States

2024-1201-172230.png

我本來想在Home Assistant設定自動化「如果實體的狀態維持[關閉]超過24小時,就把它設為[開啟]」,結果HA卻一直沒能觸發自動化。最後我把條件改成時間模式定期檢查、觸發,然後把條件設定在「且如果」裡面,這樣自動化才能夠正常運作。

I was trying to set up an automation in Home Assistant that would turn an entity [on] if its state remained [off] for more than 24 hours. However, the automation never triggered. I eventually got it working by changing it to a time-based automation that checks periodically and then using an condition to check the entity's state.

(more...)

雜談:智能家居一定要聲控嗎? / Talk: Do Smart Homes Have to Be Voice-Controlled?

布丁布丁吃布丁

雜談:智能家居一定要聲控嗎? / Talk: Do Smart Homes Have to Be Voice-Controlled?

2024-0728-230455.png

現代人都是用手指頭講話,能不用嘴巴講話的時候就不會想要講話。那為什麼操控智能家居時一定要講話呢?

(more...)

偶爾會當機的塗鴉智慧插座 / The Tuya Smart Plug Occasionally Crashes

布丁布丁吃布丁

偶爾會當機的塗鴉智慧插座 / The Tuya Smart Plug Occasionally Crashes

2024-0218-024319.png

架設以Home Assistant為中心的智慧家庭也已經超過一年的時間了。用到現在也總是會遭遇一些問題,其中一個問題,就是智慧插座偶爾會當機的狀況。

(more...)

智慧家庭的設備真的需要連上網際網路嗎? / Do Smart Home Devices Really Need to Be Connected to the Internet?

布丁布丁吃布丁

智慧家庭的設備真的需要連上網際網路嗎? / Do Smart Home Devices Really Need to Be Connected to the Internet?

2023-1022-171230.png

希望這些設備沒事不要做些額外的動作。

(more...)

Home Assistant搭配Broadlink RM4 Pro如何學習「無線電」訊號? / How to Learn RF (Radio Frequency) with Broadlink RM4 Pro in Home Assistant?

布丁布丁吃布丁

Home Assistant搭配Broadlink RM4 Pro如何學習「無線電」訊號? / How to Learn RF (Radio Frequency) with Broadlink RM4 Pro in Home Assistant?

2023-1020-111805.png

因為Broadlink RM4 Pro韌體的問題,我們必須要用行動裝置的APP開啟「開始學習」,然後才能用Home Assistant來學習指令。

(more...)

Home Assistant要怎麼取得感測器的平均溼度? / How to Get the Average Humidity of the Sensor in Home Assistant?

Home Assistant要怎麼取得感測器的平均溼度? / How to Get the Average Humidity of the Sensor in Home Assistant?

2023-0922-210618.png

請使用Average Sensor

(more...)

智慧插座偵測電鍋跳起後自動關機 / The Smart Socket Automatically Shuts Down After Detecting That the Electric Cooker Is Finished

布丁布丁吃布丁

智慧插座偵測電鍋跳起後自動關機 / The Smart Socket Automatically Shuts Down After Detecting That the Electric Cooker Is Finished

2023-0704-153731.png

記錄一下:電鍋打開時電流大約是5.9A;快煮壺煮沸時大約是9.18A。

(more...)

在Home Assistant設定的「全域變數」 / "Global Variables" in Home Assistant

在Home Assistant設定的「全域變數」 / "Global Variables" in Home Assistant

2023-0420-112004.png

用寫程式來控制整個居家環境,真的很像是魔法呢。

(more...)

用Home Assistant操控Android TV / Use Home Assistant to Control Android TV with ADB Commands

布丁布丁吃布丁

用Home Assistant操控Android TV / Use Home Assistant to Control Android TV with ADB Commands

2023-0328-152335.png

Home Assistant內建了可以透過ADB操控Android TV的做法,這也可以用來操控Chromecast with Google TV。這邊就記錄一下我常用的ADB指令。

(more...)

家用伺服器最佳選擇:Home Assistant / Best Server for Your Home: Home Assistant

布丁布丁吃布丁

家用伺服器最佳選擇:Home Assistant / Best Server for Your Home: Home Assistant

2023-0314-000558.png

我當初真的沒有想過要弄智慧家庭,但自從認識到Home Assistant之後,整個世界都改觀了。

(more...)