请选择 进入手机版 | 继续访问电脑版

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย

导读切换到宽版
SPACE discord

SPACE Forum

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 634|回复: 9

Home Assistant Plugin Use

[复制链接]

3

主题

47

回帖

167

积分

注册会员

积分
167
发表于 2025-11-20 10:08:38 | 显示全部楼层 |阅读模式
027585d48a242ea36893e6ab09b45e68.png This is the Server URL. If `homeassistant` doesn't work, try `ws://homeassistant.local:8213/api/websocket`. If that doesn't work either, replace the domain name with the IP address of your HA server, for example: `ws://192.168.0.1:8213/api/websocket` (this IP is just an example; you should replace it with your actual HA server's IP).

3

主题

47

回帖

167

积分

注册会员

积分
167
 楼主| 发表于 2025-11-20 10:09:26 | 显示全部楼层
For information on obtaining the Access-Token, please refer to:
a1c66d5bfbcd07ca88c2417e8e20cf86.png

3

主题

47

回帖

167

积分

注册会员

积分
167
 楼主| 发表于 2025-11-20 10:09:59 | 显示全部楼层
To retrieve the domain, hovering the mouse over the corresponding option will display a bubble; the domain is shown in front of the bubble.
6c180548571cf1870854cc0461d71d6b.png

3

主题

47

回帖

167

积分

注册会员

积分
167
 楼主| 发表于 2025-11-20 10:10:24 | 显示全部楼层
For example, the Switch just now.
d923b24116ba5671b8334015cd5d602c.png

点评

Pls, I need your assistance. I am able to get my stream dock connected to the home assistant via the API but after selecting the Domain (e.g Lights, Switch), the service menu doesn't appear.  发表于 2025-12-3 06:59

3

主题

47

回帖

167

积分

注册会员

积分
167
 楼主| 发表于 2025-11-20 10:10:41 | 显示全部楼层
The entity must also be selected accordingly.
2049a847a6f978e6b2a73fed23da1515.png

3

主题

47

回帖

167

积分

注册会员

积分
167
 楼主| 发表于 2025-11-20 10:11:10 | 显示全部楼层
Finally, scroll to the bottom where you'll find a save button. After saving, you can control it.
daec93db225fe86c031ac53caa326fee.png

点评

After selecting the domain (lights/switch) under the short press option, the service menu doesn't show up. pls help  发表于 2025-12-3 07:01

3

主题

47

回帖

167

积分

注册会员

积分
167
 楼主| 发表于 2025-12-8 09:28:12 | 显示全部楼层
I understand your situation. Your HA version is probably quite new. The WebSocket API has changed in the new HA version, causing the service menu to not show.

3

主题

47

回帖

167

积分

注册会员

积分
167
 楼主| 发表于 2025-12-8 10:02:24 | 显示全部楼层
https://space.key123.vip/product?id=20250104000563
Uninstall the existing Home Assistant plugin and then install this version.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|SPACE ( 粤ICP备16086630号 )

GMT+8, 2026-6-9 23:35 , Processed in 0.057517 second(s), 26 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表