-
Notifications
You must be signed in to change notification settings - Fork 5
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
Aqara Smart Light Control #1
Comments
That wall switch has lots of endpoints. All my devices only have 1. This is interesting. It seems that both buttons have two endpoints: one providing button state and other to tell that button is pressed. Could you provide more data? I copied address from logs, so if commands are not working make sure device still has same address.
|
Here are the result of the different command: Cluster_List_from_endpoint_01.txt Edit: Both lamp/relay were ON during those call. |
Does these commands do same as pressing left button? With these you should be able to set state to desired. Try this if command above didn't do the trick. Running both of these should simulate button press. |
Yes, working perfectly with the first command, here are the log of the left switch being turned on and turned off: |
Only thing that I am not sure about is attribute id f000 in cluster 0006 in endpoints 02 and 03. It might tell if switch happened by using button or from network. When attribute data is 03030303 it was triggered by button and 07070707 it is triggered by network. Should be easy to confirm by switching it couple times with hand and command and see if attribute id is consistently same. |
I tested your theory several time and I can confirm that it is correct. 03030303 when the button is used. |
Is there someone to give me a hint how to replicate the state value in home assistant when I manually turn ON / OFF the switch ? My config is
|
To help development, here are the log from the Aqara Smart Light Control (wall switch)
The log are watch is received when I press the key. My switch are the one with the integrated relay, so when I press the button, the light are also turned ON or OFF.
Turn left switch OFF
Turn left switch ON
Turn right switch Off.txt
Turn right switch On.txt
The text was updated successfully, but these errors were encountered: