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

Fix Iris 3210-L and Centralite 4257050-ZHAC configure #1752

Merged
merged 3 commits into from Nov 12, 2020

Conversation

airdrummingfool
Copy link
Contributor

Hi Koen,
I noticed that configuration was failing on my Iris 3210-L smart plugs. The error was UNSUPPORTED_ATTRIBUTE, and it turns out that they (at least the two I have) don't support the acVoltageMultiplier or acVoltageDivisor attributes of the haElectricalMeasurement cluster. The voltage is reported in volts (so it needs no multiplier or divisor).

Apparently I broke this in #705 😞 , and Centralite 4257050-ZHAC dimming plugs are also affected. I'm pretty surprised this got past me (and stood for a year), but as I have never been able to update the firmware on these things, I'm not sure how anything could have changed behavior-wise... and it is definitely throwing errors now.

With these changes, my 3210-L plugs and 4257050-ZHAC dimming plugs now configure fine. I'm not sure if this needs a configureKey bump or not.

I also noticed some unused code (due to #1363) and removed it.

@Koenkk
Copy link
Owner

Koenkk commented Nov 12, 2020

Thanks, this does not need a bump of the configureKey, if configure failed it will always re-execute it.

@Koenkk Koenkk merged commit 36c7156 into Koenkk:master Nov 12, 2020
@airdrummingfool airdrummingfool deleted the fix_3210-L_configure branch December 8, 2020 06:08
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.

None yet

2 participants