News:

HOT TIP! In the command editor, you can ctrl-click and drag an item to create a copy of it.

Main Menu

My custom doorbell. vc+vera

Started by keithj69, May 18, 2014, 06:54:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

keithj69

After a morning of playing around with voxcommando, I ventured into a project that I've needed for a long time.  A doorbell.

parts
1) voxcommando
2) veralite
3) schlage rs100hc door sensor (able to externally wire to it)
4) the cheapest non-lite doorbell button from the hardware store i could find
5) you may need some wire depending on the doorbell switch
6) a housing for the project
7) you really only need half a brain for this

Wire the switch to the sensor (pretty straight forward, only 2 wires, swap if not working).  Follow along in fireside chat #3 to setup a simple voice response when the sensor is tripped.    test.   fix.... test...bask.

caveats.  In the beginning, there was a delay in response.  Once things settle (or a heal on vera) things sped up.  Also in vera, it will appear that your sensor is always tripped.  Doesn't stop this from working.  (if i come up with something better, i'll respond here)

When I press the button, all my lights turn on to 40%(vera trigger), after 3 minutes they turn off. Then VC speaks to me letting me know someone is at the front door(fireside chat #3).

Right now it is at version 1, as the case i have it in is actually a vcr tape case.  I plan on making it much smaller, but right now, i am just happy that it is accomplished, and it works.  

Why this is of value to me.
  I re-purposed an non used stereo to play my sounds from my pc.  doing this means that i do not need to buy a sonos system that ties into vera with limited use.  

edit:  tweaked setup; decided to turn on all lights and have them turn off after 3 minutes.

nime5ter

Sounds like a fun Sunday project. Any chance of some photos or a demo?

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

keithj69

This is the the only picture i have right now.   I have a new sensor coming in soon that will be dedicated to the doorbell. I will take better pictures of the build then.  In the meantime, i am looking for a new housing.   

nime5ter

"Knocking may be required."  :biglaugh

Good stuff. Maybe you need to add a piezo element to the mix.

Thanks for posting.

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

mdsh

"Knocking may be required."   ;D made my day...

love the project though and please do keep us posted. Well danoe

keithj69

The good news is that knocking has not been required.  The lights trigger first and it has worked every time i have tested it.  Someone actually used it last night and it did puzzle me for a moment as to why my lights were turning on.

The new sensor will be in sometime between now and next weds.  I was thinking of finding a small clown mask and making it where the nose is the doorbell.  I figure if a person is to afraid to push on a clowns nose, they have no reason to have my attention.


keithj69

I got version 3 finished.   I have gone through a couple of different buttons trying to find the correct one for me.   
The parts list I have used

button-  Amico AC 660V 10A 40mm 1.6" Green Mushroom Head Momentary Push Button Switch 1 NO NC   (you want a normally closed momentary button)
door sensor - Everspring Z-Wave Door/Window Sensor sm103   (way to big, will get another schlage)
cheap project box
blinking led - this was from a dummy surveillance camera enclosure i bought to enclose a raspi ir camera setup.  from harbor freight.
battery connector for led.

The vera/vox combo still is the same as before.  lights on for 3 minutes, an email, and my lovely Lemon (vox) telling me someone is here. 

I like the piezo idea, but i am not sure what i need to do to incorporate it.  Might give me a reason to break out the arduino and try figuring it out again.

Next step is graphics.  Not sure what i will do, but with my twisted mind, most likely no one will want to use the button. >:D

Other uses for this setup- this is portable so if you had someone home sick, injured, or elderly, this would work also as an attention button, or emergency button.  Or as a remote light turner oner.  I actually use it to turn lights on and off when outside. (3 minute delay)

Thanks for reading.

nime5ter

#7
Good thing that's a green button. I'm guessing visitors would find a red button too daunting to mess with. :)

I don't know how reliable it would be, but I think the piezo knocker project would be a fun experiment as an intro to Arduino + VC.

This: http://www.arduino.cc/en/Tutorial/KnockSensor

Plus some of the code from James's 2-way communication example:

http://voxcommando.com/forum/index.php?topic=1452.msg12742#msg12742

Not sure about power supply (and wireless communication) for real-world use though.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

keithj69

The red button one i got was incorrect.  I might be able to swap though the tops though.
Thanks for the links and ideas.  I will see what i can do with them.

jitterjames

Quote from: keithj69 on May 18, 2014, 06:54:42 PM
3) schlage rs100hc door sensor (able to externally wire to it)

Can you explain a bit more what you mean by this?  Does applying a voltage to the input trigger the sensor?  If that is the case then you can set up the arduino to apply this voltage when you detect a knock vibration so you won't need to worry about wireless communication from the Arduino to VoxCommando.

keithj69

The external wiring is wiring an external magnet switch. Not power.  This allows for wiring in the momentary switch i am using. Added picture for reference.

jitterjames

#11
You should be able to use Arduino to control a relay then, but the closing of the switch is probably effectively applying a voltage to one wire in order to trigger the sensor so you might only need to figure out what voltage is expected if that is easier.

keithj69

Did some additional work yesterday on the doorbell.  When football season kicks off I will swap out the pirate with a gator.

jitterjames

Looks great.  I love the glowing eyes.

I'm not sure what the "hand recycling" icon is for...  >:D

keithj69

Some people didn't grasp the concept of the button actually being the doorbell.  So I made it a little more user friendly this time.  

The commands still stand as before.  Select lights turn on for 3 minutes, an email is sent out and Lemon (voxcommando) makes an announcement.  New people usually will have me open the door and they will keep pressing the button to listen to the messages.