-
Notifications
You must be signed in to change notification settings - Fork 502
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
Fix for Xiaomi Aqara Single Switch Module T1 (With Neutral) #4768
Conversation
SwoopX
commented
Apr 14, 2021
•
edited
Loading
edited
- Whitelist for binding
- Calculate the correct power values
- Do not expose current and voltage
_ Whitelist for binding - Calculate the correct power values - Do not expose current and voltage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
compilation error in de_web_plugin.cpp:9417
-> only two closing brackets instead of three
-> and after the brackets the or operator (||) is missing
with this commit, binding of switch and sensors are working like a charm, thank you! |
on my side it's working too |
de_web_plugin.cpp
Outdated
@@ -9413,6 +9414,7 @@ void DeRestPluginPrivate::updateSensorNode(const deCONZ::NodeEvent &event) | |||
i->modelId().startsWith(QLatin1String("outlet")) || // Samsung SmartThings IM6001-OTP/IM6001-OTP01 | |||
i->modelId() == QLatin1String("3200-Sgb") || // Samsung/Centralite smart outlet | |||
i->modelId() == QLatin1String("3200-de") || // Samsung/Centralite smart outlet | |||
i->modelId().startsWith(QLatin1String("lumi.switch.n0agl1"))) // Xiaomi Aqara Single Switch Module T1 (With Neutral) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this line be:
i->modelId().startsWith(QLatin1String("lumi.switch.n0agl1")) ||
Does sensors appear in deconz? I only get switch entity but no luck with sensors such as power or energy. Please update whether it is working or not since I will return my aqara module otherwise )-'; |
yes is working for me. i will send you some config details soon...
On 27. Dezember 2021 19:37:30 MEZ, cobch ***@***.***> wrote:
Does sensors appear in deconz? I only get switch entity but no luck
with sensors such as power or energy. Please update whether it is
working or not since I will return my aqara module otherwise )-';
--
Reply to this email directly or view it on GitHub:
#4768 (comment)
You are receiving this because you commented.
Message ID:
***@***.***>
…--
Diese Nachricht wurde von meinem Mobiltelefon mit Kaiten Mail gesendet.
|