Ok so first viable code is out. I didn’t look at others code first, I just hacked out what I thought I would want. Initially I was going to use a volume slider for the ring volume but then I realize, do I ever do that on a normal doorbell, have I ever cared? No. As for changing ringtones, I think when I HAD a doorbell that I could do that on I might change it twice a year around the holidays or so… So I tucked rings, volume and tone into the preferences section. Also, I’m not updating them like Duncan does, I just blow out all the configuration values whenever the preferences are set and give you the config button like I do in all my handlers. I may remove it though since there are no controls on the details view… Anyway, it works, the notifications work and light up the main tile, test button works, remote works, it works with smart home monitor, I tripped the doorbell using a motion sensor… I haven’t tested on android yet but everything I’m doing is “safe” so I doubt there will be issues.
Before I release I want to tidy up a couple loose ends, mostly with the button pressing of the main unit, and giving the ability for a smart app to mute the doorbell which I got as a suggestion on twitter and it looks like @thoward1234 has done something similar with his code. I backtracked after finishing and before posting this final reply tonight to see what has been done. I see the issues you guys had with the association group. I left mine set to default so I didn’t have that issues and pulled the report to see how it was set, as many things apparently like to be in group 2. Usually when I make a new device type I like to peek at the configuration settings prior to changing them, especially when they add in anything near a working state with another device type. Since it added as the Aeon siren, it was “working” though not at full steam since the volume was only set to half… Anyhow, I’ll probably finish it up later this week unless you guys are just dying for v.1 now.
Thought about usability? Do you all like the idea of a volume or ring tone selection button on the details screen, what about the ability for smart apps to be able to change the tone or play a specific tone? These things are doable, but obviously require some coding…Also for any smart app devs, I’d like to see what other sirens or doorbells do and if there are any smartapps doing the above right now. Personally I’d like to have the ability to play a dog barking MP3 if an outside motion gets trigged, and maybe a different noise when motion is detected in the driveway.
~R