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
DDF for innr SP 240 #7486
DDF for innr SP 240 #7486
Conversation
Signed-off-by: Jens Müller <tschenser@gmx.de>
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.
Finally, a new innr plug with power monitoring. And, according to its specs, it supports up to 16A. Ordered a couple to try them out, and see if they'll handle my washing machine and dryer.
As for the DDF (somehow, I cannot enter comments in-line):
- The refresh interval for
state/on
should be 360: the periodic reporting interval plus 60s; - Doesn't the plug report voltage and current (amperage) on 0x0B04. The SP120 did;
- It doesn't make sense to create a binding and attribute reporting for Level Control (0x0008), since Current Level isn't reported through the API. Typically plugs only include Level Control to be able to react to Move to Level (with On/Off); they's don't report Current Level, other than 0 or 254, corresponding to On/Off.
- The SP120 also supported attribute reporting on 0x0B04 and 0x0702.
Fixed, could you please explain why I should add 60 seconds? |
I'm new to DDF, attributes and stuff. Could you point me in the right direction as to what should be added, what should be changed and why it is necessary. |
Signed-off-by: Jens Müller <tschenser@gmx.de>
Yes, the plug reports current, power, voltage and consumption. |
Signed-off-by: Jens Müller <tschenser@gmx.de>
See the DDF for the SP 120 as example; I would expect the SP 240 to be similar.
As safety margin. Ideally, the plug reports its attributes and deCONZ won’t need to poll the device. Polling is configured only as fallback, in case the reporting fails. |
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.
I think this should do it.
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.
Almost there. Could you please remove the path
stanza (line 8) and change any refresh.interval
value to 360
where it currently is set to 300? Thanks!
Signed-off-by: Jens Müller <tschenser@gmx.de>
add DDF for innr SP 240 plug with consumption an power sensor