-
Notifications
You must be signed in to change notification settings - Fork 506
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
Enhancements and addition of various devices #2668
Conversation
SwoopX
commented
Apr 8, 2020
•
edited
Loading
edited
- Added support for Klik Aan Klik Uit ZTHS-100 (Klik Aan Klik Uit ZTHS-100 zigbee pairing problem #2657)
- Added initial support for Sengled PAR38 bulbs ([Device Support Request] Sengled E13-N11WA - Smart LED with Motion Sensor PAR38 Bulb #2667, Sengled E13-A21 PAR38 bulb #2155)
- Updated Centralite thermostat model ID (Centralite Pearl Thermostat setup #2630). Some versions do not contain the previously set "-E" at the end of the model ID
- Identified purpose of further Xiaomi specific attributes
- Expose voltage and current for Xiaomi smart plug lumi.plug.mmeu01 ([Device Support Request] Xiaomi Mija ZB3.0 smart plug ZNCZ04LM (lumi.plug.mmeu01) #2583)
- Added initial support for Tuya smart plug (TS0121) (Device Support Tuya Smart Plug TS0121 #2677)
- Added support for innr SP 220 smart plug ([Device support request] innr SP220 smart plug #2678)
- Added IAS ACE cluster to general.xml
- Added initial support for Heiman remote control HS1RC-M ([Device support request] Heiman remote control HS1RC-M #2697)
- Added support for Immax NEO ZB3.0 smart plug 07048L ([Device support request] Immax NEO ZB3.0 smart plug 07048L #2688)
- Enable light bindings for additional manufacturers
- Whitelist Xiaomi smart plugs with Xiaomi MAC address ([Device Support Request] Xiaomi Mija ZB3.0 smart plug ZNCZ04LM (lumi.plug.mmeu01) #2583)
- Enable IAS warning devices to automatically enroll
- Added support for Sercom siren SZ-SRN12N ([Device Support Request] SZ-SRN12N Sercomm Corp. #2051, Smartthing siren not connecting #2629)
- Added initial support for WAXMAN LeakSMART v2 (Device Support - WAXMAN LeakSMART v2 #2701)
Klik Aan Klik Uit ZTHS-100
0x0202 = Auto-off after 20m below 2W
<cluster id="0xfc82" name="Immax" mfcode="0x1037"> | ||
<description>Immax specific attributes.</description> | ||
<server> | ||
<attribute id="0x0010" name="Turned on since" type="u32" mfcode="0x1037" access="r" required="m"> </attribute> |
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.
Cool. Want one!
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.
:) Not to bad that you can see how log it has been turned on.
Hace silently hoped for something that can turn it off as well automatically.
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.
That’s standard On/Off cluster functionality. Try a PUT to the state
with a body of {"on": true, "ontime": 60}
. Not sure if that’s in seconds or 0.1 seconds, though. This sends the On with Timed Off command (also used by the Trådfri motion sensors).
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.
Yeah, tend to always overlook that, but I meant based on current power usage. Off after 5 mins < 5W.
if ((modelId != QLatin1String("SP 120")) && | ||
(modelId != QLatin1String("ZB-ONOFFPlug-D0005")) && | ||
(modelId != QLatin1String("TS0121")) && | ||
(modelId != QLatin1String("Plug-230V-ZB3.0"))) |
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.
Make sure to make these changes to database.cpp
as well.
deconz-rest-plugin/database.cpp
Line 3162 in b3086c6
if ((sensor.modelId() != QLatin1String("SP 120")) && |
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.
They are, forgot it here ;)
0x0207 = Consumer connected
WIP, as the device does not to have a (visible) IAS zone cluster
Apparently, there's at least 2 different hardware versions
Hello from Deconz UI I see 2 options ontime and offWaitTime, but how they are mapped on HA or REST API? I'm aware that I can use ontime with this command : |