Difference between revisions of "Doorbell"

From LinuxMCE
Jump to: navigation, search
(small note on how to setup a switch as a doorbell)
(Added examples and corrected some small errors)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category:Hardware| D]]
 
[[Category:Hardware| D]]
[[Category:Tutorials]]
 
 
[[Category:Telecom]]
 
[[Category:Telecom]]
  
The following information CAN NOT be verified at the moment [[User:Posde|posde]]
 
  
==Using a switch==
+
==Using a switch as doorbell button==
* Setup a switch in the security sensors. Use type Door.  
+
* Setup a switch in the security sensors. Use type Doorbell (DT #1624).  
* Go to Active Sensors and mark the newly added sensor as Doorbell.  
+
* 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.
* Done.
+
  
 +
==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 with 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:
Line 27: Line 45:
 
::*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.

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.