Difference between revisions of "Doorbell"

From LinuxMCE
Jump to: navigation, search
(LinuxMCE DoorBell)
(Added examples and corrected some small errors)
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
[[Category:Hardware| D]]
 +
[[Category:Telecom]]
 +
 +
 +
==Using a switch as doorbell button==
 +
* Setup a switch in the security sensors. Use type Doorbell (DT #1624).
 +
* Go to Security / Active Sensors and change "Do Nothing" to "Doorbell" for the different housemodes you want the doorbell to ring. Also check the "N" column.
 +
 +
==Do something when the door bell rings==
 +
The "Respond to event" is "Someone rang the doorbell".
 +
* Specify PK_Device as the EventParameter, and select the previously created device from the drop down.
 +
===Example: Ring a phone===
 +
* Add command using "Advanced Wizard"
 +
* Select Device "Telecom Plug-In"
 +
* Choose commande "Make Call"
 +
* Set Extension of phone you want to ring, and add the PK_Device ID of that same phone into the PK_Device_To field
 +
* Set a PK_Device ID of the device you want to originate the call from into PK_Device_From field. ATTENTION: That device must exist and be registered in asterisk, so that means it must be online. You can use the same device in the "From" field as you  set into the "To" field. So basically the phone will ring itself on a doorbell event :-)
 +
* Set your user id in the PK_From field. Not sure what that is used for but it does not harm.
 +
===Example: Play media===
 +
* Add command using "Advanced Wizard"
 +
* Select Device "Media Plug-In"
 +
* Choose commande "MH Play Media"
 +
* Browse for a media file using the "Filename" dialog
 +
* Set the PK_Entertain_Area to the room you want the media to be played in. To get a list of your Entertain Areas you can use the following command from your core's command line:
 +
mysql -e "SELECT PK_EntertainArea,Description FROM EntertainArea" pluto_main
 +
* Set the repeat to -1 to not loop the Doorbell ring sound
 +
* Feel free to play with the other parameters, but you really only need these ones.
 +
 +
=The following information CAN NOT be verified at the moment [[User:Posde|posde]]=
 
==LinuxMCE DoorBell==
 
==LinuxMCE DoorBell==
Part of LinuxMCE's capabilities include the ability to setup a doorbell that connects to the system and can provide you many extended features such as:
+
Part of LinuxMCE's capabilities include the ability to setup a doorbell that connects to the system and can provide you with many extended features such as:
  
 
*Remote Unlocking of doors
 
*Remote Unlocking of doors
Line 7: Line 36:
 
===Adding A Doorbell===
 
===Adding A Doorbell===
 
:This functionality can be achieved by:
 
:This functionality can be achieved by:
::*Obtaining a compatible door-phone and registering it with linuxMCE as extension '''996'''. Compatible means:
+
::*Obtaining a compatible door-phone and registering it with LinuxMCE as extension '''994'''. Compatible means:
::**A ip-phone door-phone capable of registering with linuxMCE.
+
::**A IP-phone door-phone capable of registering with LinuxMCE.
::**An Analog door-phone system that can be connected to a analog telephone adapter that can register with linuxMCE.
+
::**An analog door-phone system that can be connected to an analog telephone adapter that can register with LinuxMCE.
  
::After this is done, whenever the extension is triggered, it should initiate the doorbell function which would allow you to speak with whoever is at the door.  
+
::After this is done, whenever the extension is triggered, it will ring mobile orbiters and any cell phone orbiters listed in the webadmin.
  
 
===Other Features===
 
===Other Features===
::*Picture: Adding a camera in the area of the doorbell should initiate linuxMCE adding a picture of the door
+
::*Picture: Adding a camera in the area of the doorbell should initiate LinuxMCE adding a picture of the door
 
::*Depending on the device, other features such as remote unlocking can be added.
 
::*Depending on the device, other features such as remote unlocking can be added.
 
+
== Note ==
 
+
Every device that has an EK_AlertType of 6 emits the doorbell event.
[[Category:Tutorials]]
+
[[Category:Telecom]]
+

Latest revision as of 09:37, 21 April 2013


Using a switch as doorbell button

  • Setup a switch in the security sensors. Use type Doorbell (DT #1624).
  • Go to Security / Active Sensors and change "Do Nothing" to "Doorbell" for the different housemodes you want the doorbell to ring. Also check the "N" column.

Do something when the door bell rings

The "Respond to event" is "Someone rang the doorbell".

  • Specify PK_Device as the EventParameter, and select the previously created device from the drop down.

Example: Ring a phone

  • Add command using "Advanced Wizard"
  • Select Device "Telecom Plug-In"
  • Choose commande "Make Call"
  • Set Extension of phone you want to ring, and add the PK_Device ID of that same phone into the PK_Device_To field
  • Set a PK_Device ID of the device you want to originate the call from into PK_Device_From field. ATTENTION: That device must exist and be registered in asterisk, so that means it must be online. You can use the same device in the "From" field as you set into the "To" field. So basically the phone will ring itself on a doorbell event :-)
  • Set your user id in the PK_From field. Not sure what that is used for but it does not harm.

Example: Play media

  • Add command using "Advanced Wizard"
  • Select Device "Media Plug-In"
  • Choose commande "MH Play Media"
  • Browse for a media file using the "Filename" dialog
  • Set the PK_Entertain_Area to the room you want the media to be played in. To get a list of your Entertain Areas you can use the following command from your core's command line:
mysql -e "SELECT PK_EntertainArea,Description FROM EntertainArea" pluto_main
  • Set the repeat to -1 to not loop the Doorbell ring sound
  • Feel free to play with the other parameters, but you really only need these ones.

The following information CAN NOT be verified at the moment posde

LinuxMCE DoorBell

Part of LinuxMCE's capabilities include the ability to setup a doorbell that connects to the system and can provide you with many extended features such as:

  • Remote Unlocking of doors
  • Viewing callers to your home

Adding A Doorbell

This functionality can be achieved by:
  • Obtaining a compatible door-phone and registering it with LinuxMCE as extension 994. Compatible means:
    • A IP-phone door-phone capable of registering with LinuxMCE.
    • An analog door-phone system that can be connected to an analog telephone adapter that can register with LinuxMCE.
After this is done, whenever the extension is triggered, it will ring mobile orbiters and any cell phone orbiters listed in the webadmin.

Other Features

  • Picture: Adding a camera in the area of the doorbell should initiate LinuxMCE adding a picture of the door
  • Depending on the device, other features such as remote unlocking can be added.

Note

Every device that has an EK_AlertType of 6 emits the doorbell event.