So my next step onto my SmartHome was installing a doorbell that would work with my current Smartthings hub. This was tricky because my house never had a doorbell or a wire installed so I wanted to go the easiest route and install a wireless doorbell.
Purchase: Aeotec by Aeon Labs ZW056 Doorbell
The hardest part was installing a custom Device Handler through the Smartthings IDE. Please make sure you do not pair this device yet with your SmartThings app.
First login to your SmartThings IDE
Next Click on “My Hubs” (this was my biggest problem at first, it wasn’t actually pulling up my devices so the Device Handler at first was never getting installed to my Hub). If you see a message that says “You don’t have any hubs yet. Please use the SmartThings mobile app to claim your hub.” You need to click on “My Locations“, then Click on your Hub Name mine was called “Home“. It should ask you to login again. You should now see your Hub information. Great you are now actually logged into your account.
We are going to be using the custom Device Handler created by krlaframboise on the SmartThings Community – [RELEASE] Aeon Labs Aeotec Doorbell
On the SmartThings IDE Page, at the Top Click on “My Device Handlers”
Next Click on “Create New Device Handler” button in Green.
Navigate over to the GitHub Device Handler Code at https://github.com/krlaframboise/SmartThings/blob/master/devicetypes/krlaframboise/aeotec-doorbell.src/aeotec-doorbell.groovy be sure to copy the entire code contents.
Now that the code is copied we want to place it back in the SmartThings IDE Device Handler. On the Create New Device Handler Page, Click on “From Code“. (Like shown below).
Once the Code has been Pasted in, hit the “Save” button then hit the “Publish” button.
That’s the complete setup for getting your Custom Device Handler added to your SmartThings hub. The next step is you want to pair your new Aeon Labs Doorbell to the SmartThings hub. Like I said in the beginning if you already have your device connected to the Hub you need to Remove it and run the exclusion tool to remove the device.
Open up your SmartThings App and Choose “Add a Thing” Make sure this is the only way you add the device, do choose from the List it needs to find it manually and apply the Custom Device Handler.
Once the SmartThings application finds your new Doorbell it should say “Aeotec Doorbell” if it does not and says something about a Siren, your device handler is installed wrong.
In the image below is what the settings will look like over your Aeon labs / Aeotec Doorbell in Smartthings.
Now that my Custom Device Handler was installed correctly. I was able to go and Create a Custom Automation Rule so when the doorbell was pressed it would trigger an event.
I made it so the Automation Rule would turn on my (2) Hue Blooms and starting playing my Sonos Kitchen speaker on the event the “Doorbell” button was “Pushed or Held“.