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

Add support PTX curtain motor crus6 #1132

Merged
merged 3 commits into from
Aug 26, 2023
Merged

Add support PTX curtain motor crus6 #1132

merged 3 commits into from
Aug 26, 2023

Conversation

flyibeat
Copy link
Contributor

No description provided.

@flyibeat flyibeat changed the title add Add support PTX curtain motor crus6 Aug 26, 2023
curtain motor will become unavailable every 20 minutes
@AlexxIT AlexxIT merged commit ff8a4a6 into AlexxIT:master Aug 26, 2023
1 check passed
@AlexxIT
Copy link
Owner

AlexxIT commented Aug 26, 2023

Thanks!

@cclucky1
Copy link

After using this code, controlling the curtain motor in homeassistant will always show the status of being open or closed, but it can be controlled normally, and the homekit can feedback the correct status while homeassistant can not.

@cclucky1
Copy link

image

@cclucky1
Copy link

I used 4 curtain motors of this model, but one of them had normal status feedback, and the other three could not feedback status normally but could be controlled.

@flyibeat
Copy link
Contributor Author

I used 4 curtain motors of this model, but one of them had normal status feedback, and the other three could not feedback status normally but could be controlled.

1233313123131231

需要去查看下属性值”run_state“或者"position"的反馈是否正确
由图中的代码结构可知,当前的状态由“run_state”提供,包括0: "stop", 1: "opening", 2: "closing"。
假如没有“run_state”属性,则由"position"属性提供,当position<2时,显示closed,其余状态应该显示百分比

@cclucky1
Copy link

非常感谢您的回复,请问这个属性应该从哪里查看

@cclucky1
Copy link

I used 4 curtain motors of this model, but one of them had normal status feedback, and the other three could not feedback status normally but could be controlled.我用了4个这个型号的窗帘电机,但其中一个有正常的状态反馈,另外三个不能正常反馈状态,但可以控制。

1233313123131231

需要去查看下属性值”run_state“或者"position"的反馈是否正确 由图中的代码结构可知,当前的状态由“run_state”提供,包括0: "stop", 1: "opening", 2: "closing"。 假如没有“run_state”属性,则由"position"属性提供,当position<2时,显示closed,其余状态应该显示百分比

您好,我在homeassistant中开发者工具-状态-窗帘实体里看到position属性能够正常的从0变为100,或者从100变为0,请问这是不是homeassistant的bug

@flyibeat
Copy link
Contributor Author

I used 4 curtain motors of this model, but one of them had normal status feedback, and the other three could not feedback status normally but could be controlled.我用了4个这个型号的窗帘电机,但其中一个有正常的状态反馈,另外三个不能正常反馈状态,但可以控制。

1233313123131231
需要去查看下属性值”run_state“或者"position"的反馈是否正确 由图中的代码结构可知,当前的状态由“run_state”提供,包括0: "stop", 1: "opening", 2: "closing"。 假如没有“run_state”属性,则由"position"属性提供,当position<2时,显示closed,其余状态应该显示百分比

您好,我在homeassistant中开发者工具-状态-窗帘实体里看到position属性能够正常的从0变为100,或者从100变为0,请问这是不是homeassistant的bug

提供一下窗帘实体全部属性的截图

@cclucky1
Copy link

image 如图,这个实体的current_position能够正常从0变为100,也能从100变为0,这是之前拍过的照片可能不太清晰,见谅

@RuiFG
Copy link

RuiFG commented Dec 25, 2023

同样遇到到相同的问题 我这边有6个窗帘电机,有5个都无法获取状态,一直处于正在关闭中

@cclucky1
Copy link

同样遇到到相同的问题 我这边有6个窗帘电机,有5个都无法获取状态,一直处于正在关闭中

很奇怪,有时候重新断电再上电就会恢复正常的状态,有时就不会

@RuiFG
Copy link

RuiFG commented Jan 3, 2024

@cclucky1 @flyibeat 请问需要提供什么辅助信息 帮助排查呢

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

Successfully merging this pull request may close these issues.

4 participants