Kris Xia
Kris Xia
遇到相同问题
我有同样的问题 #1320 ,设备的响应很及时,但是api的响应很慢,要6秒以上 
该如何解决这个响应慢的问题呢,是HA的问题么,通过使用老版本的HA能解决这个问题么。 我目前的需求是通过api设置灯的开关,并返回响应设置是否成功,但6秒实在是太慢了。 我目前解决方案是给ha的api包装了一层,通过设置灯的状态后,不等待ha的api的响应,而是去轮询灯的状态是否改变成我设置的状态,若灯的状态改变为我设置的状态则返回成功响应。 这样的平均响应时间能降低早170ms
在Home Assistant 2023.5.3仍有这个问题 
> 想问下,有没有统一的解决方案,巨大痛点 下面的回答是解决我截图的问题 通过此项目的插件,可以将米家的设备接入HA,HA中的设备是有基础类的,例如开关类,灯类,空调类。所以可以通过HA自己的RestAPI来控制这些设备 例如: ```bash curl --location 'http://10.60.200.208:8123/api/services/switch/turn_on' \ --header 'Authorization: Bearer \ --header 'Content-Type: application/json' \ --data '{ "entity_id": "switch.94f827f6859a_channel_1" }' ``` 而不是使用本项目的插件api,例如http://10.60.200.208:8123/api/services/xiaomi_miot/set_miot_property 后者使用的是HA的api来调用本项目的插件的服务来实现控制设备的,响应不及时 前者使用HA的api来调用ha的服务来实现控制设备,响应及时
> - Please check whether the corresponding image registry is correctly integrated and authorized successfully. > - Can you use this image registry normally in the environment? Are you able...
 I created a separate workflow with only the image distribution task. After selecting a previously built service component, I noticed there was no original...
Have you solved this problem?
> 你是什么版本?endpoint用path-style试试 Install Methods Helm Versions Used zadig: 3.2.0 kubernetes: 1.30 Environment Cloud Provider: AWS EKS Resources: 4 Cores / 8 GB RAM OS: Services Status kubectl version kubectl get...
@PetrusZ What is path-style? Could you provide an example?