# How to Configure a Keypad to turn a Light On and Off

**URL:** <https://community.mobotix.com/t/how-to-configure-a-keypad-to-turn-a-light-on-and-off/1418>\
**Category:** Knowledge Base EN\
**Tags:** gettingstarted, howto\
**Created:** [July 3, 2019, 8:41am UTC](https://community.mobotix.com/t/how-to-configure-a-keypad-to-turn-a-light-on-and-off/1418 "2019-07-03T08:41:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mx-MichaelD](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@Mx-MichaelD](https://community.mobotix.com/u/Mx-MichaelD)\
**Post date:** [July 3, 2019, 8:41am UTC](https://community.mobotix.com/t/how-to-configure-a-keypad-to-turn-a-light-on-and-off/1418/1 "2019-07-03T08:41:36Z")

</div>

**Introduction**

This article explains the step by step configuration of how turn on / off lights via PIN on the Keypad. The basic principles outlined here can be used to have a PIN trigger any output.

**General Assumptions**

- Please make sure that you have connected your camera to the network properly and your camera is reachable.

- The camera with MxBus interface is in factory default configuration except for network settings.

- The Keypad is in factory default configuration or reset.

- The MxBus connection between the camera and MxBus devices (Keypad) has been done correctly

- The light is connected to the Keypad’s output which is not self powered.

- The camera has already been added to MxMC.

_Please refer to the diagram of the application below._

 ![Light_Keypad_1](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/1X/cb31de475b64e3253c7e79d819038f844fb26906.png)

**Configuration**

- Admin Menu \> Manage MxBus Modules

Select the “Activate” Softbutton for the Keypad

![Light_Keypad_2](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/1X/10802b23d9e5a00a3e0f225a85830a84f2b2a5f3.png)

The Keypad will then appear as “Running”

![Light_Keypad_3](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/1X/4b4945d242b6c70cd574e29f76ec6e984b237c3d.png)

**Configure the MxMessages for the MxBus Modules**

- Admin Menu \> Network Distribution of Messages

Ensure that _Networking_ is enabled

![Pic_1_Networking_Enabled](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/1X/087d956d98dce532482614bcaca3781a028a4f7d.png)

- Admin Menu \> Message Configuration for MxBus Modules

![Light_Keypad_4](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/1X/f41a8c54fa9fb3588389085fcde76f507314df1d.png)

- Load Configuration of Connected Devices

 ![BellRFID_Message_2](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/1X/fc3228bb594510b6ec31d860051250008e66e0d0.png)

- Select Edit Messages

![Light_Keypad_5](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/1X/d1f1b9a3f74f03fe703e84918cc2dc839aa3f786.png)

- Add the Messages “lights\_on” and “lights\_off”

It is recommended to set the Messages to “Global”

![Light_Keypad_6](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/1X/0ba3752dd39a9fe466d784553025344a4bfc50cd.png)

- Select the Keypad in order to assign the messages to the output and PIN codes to the messages.

![Light_Keypad_7](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/1X/c9bb2485020394b2760fd0559f0a8e47d12e4758.png)

- Write Configuration

**Using MxManagement Center to manipulate the Outputs**

It is possible to also be able to activate and deactivate the output via Hyperlinks on MxMC

- Right click on the ‘‘Hyperlinks’’ icon in the Tool Bar in MxManagementCenter.

![Light_Keypad_9](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/1X/eb57b64f5c72f727329f3829cf96e152ca5d075d.png)

- Click ‘’+’’ symbol to add a Hyperlink

You will need to create two Hyperlinks (one for lights\_on and the other lights\_off)

![Light_Keypad_10](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/1X/a224e892ddf3fac34ac548d456e8a37b42750e5d.png)

![Light_Keypad_11](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/1X/14d50a342897e2f07317ce9a747db69f79584673.png)

**Notes**

With these settings:

- ‘’10’’ is pressed followed by OK in the Keypad, output of the Keypad will be ‘’On’’.

- ‘’20’’ is pressed followed by OK in the Keypad, output of the Keypad will be ‘‘Off’’.

Always consider the technical specifications of the cameras and MxBus modules and check their brochure to make sure whether you need an additional equipment such as relays, power supplies etc.

Remember that the length of the MxBus cable should not be more than 100 meters (300 feet).

The settings may be changed and adapted differently according to the application.

---

<div class="post-metadata">

**Author:** ![stefan.koch](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@stefan.koch](https://community.mobotix.com/u/stefan.koch)\
**Post date:** [August 27, 2019, 5:21pm UTC](https://community.mobotix.com/t/how-to-configure-a-keypad-to-turn-a-light-on-and-off/1418/2 "2019-08-27T17:21:17Z")

</div>

hi

How kan i use the B and bell button of the rf keypad as bell for the camera

---

<div class="post-metadata">

**Author:** ![SuperJERK](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@SuperJERK](https://community.mobotix.com/u/SuperJERK)\
**Post date:** [March 7, 2023, 12:09pm UTC](https://community.mobotix.com/t/how-to-configure-a-keypad-to-turn-a-light-on-and-off/1418/3 "2023-03-07T12:09:42Z")

</div>

Is it possible the Keypad makes a HTTP request, just like you can add “SimpeNotify” to make a IP notification when someone press the bell button? If I can send this HTTP request to my home automation server I can control a lot.
