kenhuang / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64 or Raspberry Pi (armhf).
https://hub.docker.com/r/kenhuang/docker-homebridge/
3 stars 1 forks source link

Support Clipsal Control Link and Wiser Room #1

Open asomervell opened 6 years ago

asomervell commented 6 years ago

Clipsal has released their very low cost "Iconic" range of light switches that will replace the old school ones you see in every house.

They have "mechs" that are programmable by BLE and work together in a room.

https://www.clipsal.com/iconic#new-technology

We must be able to intercept or control them by BLE with the homebridge for epic dimmer and power and lighting control in AU, NZ!

https://www.youtube.com/watch?v=TMt_zeA56LI

http://www.clipsal.com/Trade/Products/ProductDetail?CatNo=41EPBM

phindmarsh commented 3 years ago

Hey folks, an update on this for anyone interested: I've just submitted a PR to add support for the PDL354PBDMBTZ (and similar) devices to zigbee2mqtt. This means they are controllable within home assistant without needing the Wiser Bridge or fudging support via BLE.

If you already have the PDL354PBDMBTW (i.e. the ones with BLE out of the box) you can convert these to zigbee mode by pressing the button 12 times and waiting a bit for them to switch modes. I recommend you use the Wiser Room app first to make sure they run the latest firmware.

If you want to switch them back you can just factory reset them by pressing the button three times then holding until the red light flashes quickly.

This is essentially what I've done with the 4 dimmers I already own, and its working great. No need to use the BLE mode and if you already run a zigbee2mqtt once this is merged it should "just work". More details in this gist.

atomic10 commented 3 years ago

Was looking at connecting a few of the Iconic wiser power points to Zigbee and stumbled across this project. Awesome work here gents! Wasn't able to get the power point to go into Zigbee mode and contacted Clipsal for some help. They told me that new firmware will be released in the coming weeks/month for the power points as the Zigbee firmware is still being tested.

sj26 commented 3 years ago

This is great! Has anybody managed to connect them to a Philips Hue Bridge — does that work?

phindmarsh commented 3 years ago

Not sure about the Hue Bridge, but I’ve heard that the Samsung SmartHub bridge seems to work.

CalumOchkas commented 3 years ago

I can confirm that ZHA with the Sonoff Zigbee Hub works a treat too. Thanks for the tip @phindmarsh !!

mathew-ryan commented 3 years ago

I can confirm that ZHA with the Sonoff Zigbee Hub works a treat too. Thanks for the tip @phindmarsh !!

Any tips on getting this to work? I’ve just changed one of my switches over to Zigbee and by ConBee II isn’t seeing anything. Did you need to keep the module close to your Zigbee hub? Mine is only about 4 metres away.

phindmarsh commented 3 years ago

For me I have a Electrollama zzh! stick and it was up in the ceiling when I paired it, one was easily over 8m away.

I did find that I needed to reboot things occasionally early on when I was testing things, but not sure if that was needed. Do you see any logs about ZHA interviewing the dimmer?

CalumOchkas commented 3 years ago

@mathew-ryan I should preface that my Sonoff ZBBrige is flashed with Tasmota, but I literally just did the 12 button presses and it showed in he ZHA scan after 20 seconds or so.

atomic10 commented 3 years ago

Quick update on the Clipsal Iconic power points for those interested - Clipsal have release the new firmware and they can now be configured to work in Zigbee mode.

Update the power points firmware via the Wiser phone app, then tap the button 12 on the power point times to switch modes.

Added mine to Home Assistant ZHA this morning and they are working perfectly (Using Texas Instruments CC2531 USB).

jamesmccarthy commented 3 years ago

This is great! Has anybody managed to connect them to a Philips Hue Bridge — does that work?

Hey there. I've got the dimmer mech connected using Zigbee to a Hue bridge (2/square w/ v1.47.x on it). The outcome is not ideal so far.

Dimming works as expected, both via Hue/Hue HomeKit and Hue Homebridge plugin.

Turning on works via both mechanisms as well.

No ability to turn off the switch, via any means except by pressing it.

Turning on/off and dimming worked flawlessly using BLE and the wiser apps.

I've tried channels 15, 20 and 25, so unlikely a channel issue. The switch is <2m from my bridge.

Suspect it's an inconsistency in the way off is handled (either for dimmable or all switches) with either PDL/Clipsal or Hue or both being non-standard. Haven't bothered trying to dig any further yet, probably won't.

Some other notes. The update process was a pita. The app (iOS PDL Wiser Room) failed to read settings. The app is gone from the play store, so I had to side load it onto an old Android to update. Post-upgrade the new Wiser app works well.

I've got another six switches (both 2A and 10A) that I'm going to hook up shortly. Will see if they suffer the same issue and if so will install a conbee. (Sean H has this working).

jamesmccarthy commented 3 years ago

Update on my last comment: hue bridge was unable to add the 2AX switches so I bought a RaspBee II. Works as expected. Really happy with the setup eh. Confirmed working with the dimming switch, the 2AX switch and the 10AX switch from PDL/Clipsal/Schneider.