Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

实体状态无法刷新 #10

Open
fzbxb opened this issue Nov 19, 2021 · 6 comments
Open

实体状态无法刷新 #10

fzbxb opened this issue Nov 19, 2021 · 6 comments

Comments

@fzbxb
Copy link

fzbxb commented Nov 19, 2021

大佬,恳请看下这个问题吧,实体接入后,如果通过别的渠道,比如lifesmart自己的app或者实体按键打开关闭开关,状态不会同步到ha中。

@fzbxb
Copy link
Author

fzbxb commented Dec 5, 2021

状态不会更新是不是因为这个。
Uploading 503B6B65-0E59-4894-BD07-B93909E517E0.png…

@easony1989
Copy link

+1;状态不会更新,包括温湿度感应、门禁的状态都不会更新呢

@fzbxb
Copy link
Author

fzbxb commented Dec 22, 2021

我解决了,int中445行api地址需要根据自己的app分区填写不同区的api网址,网址在lifesmart开发者平台的文件中找,自己分区在app中找一下,我是新区。

@fzbxb
Copy link
Author

fzbxb commented Dec 22, 2021

还有一个错误419行改成 def on_close(ws, close_status_code, close_msg):
,不过这个好像不改也行。另外关于新版本电灯无法使用,可以把请求方式改为aiohttp。

@easony1989
Copy link

我解决了,int中445行api地址需要根据自己的app分区填写不同区的api网址,网址在lifesmart开发者平台的文件中找,自己分区在app中找一下,我是新区。

感谢,按照此方法修改已经可以在hass中实时更新状态了

@easony1989
Copy link

我解决了,int中445行api地址需要根据自己的app分区填写不同区的api网址,网址在lifesmart开发者平台的文件中找,自己分区在app中找一下,我是新区。

感谢,按照此方法修改已经可以在hass中实时更新状态了

但是发现门禁感应器还是不行- -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants