# How To Enable/ Disable Vaxtor App Based On Illumination ( Lux ) Via IP-Notify

**URL:** <https://community.mobotix.com/t/how-to-enable-disable-vaxtor-app-based-on-illumination-lux-via-ip-notify/7336>\
**Category:** Vaxtor Apps\
**Tags:** api, howto, ipnotify, json, lux\
**Created:** [September 15, 2023, 2:46pm UTC](https://community.mobotix.com/t/how-to-enable-disable-vaxtor-app-based-on-illumination-lux-via-ip-notify/7336 "2023-09-15T14:46:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MxAhmedY](https://avatars.discourse-cdn.com/v4/letter/m/858c86/32.png) [@MxAhmedY](https://community.mobotix.com/u/MxAhmedY)\
**Post date:** [September 15, 2023, 2:46pm UTC](https://community.mobotix.com/t/how-to-enable-disable-vaxtor-app-based-on-illumination-lux-via-ip-notify/7336/1 "2023-09-15T14:46:52Z")

</div>

Let’s suppose we want to enable/disable the app Vaxtor based on some event such as illumination…

So the IP notification will be the following:

**A. From Admin → Edit, We shall search for the correct path for the App, as following…**

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/1/187eb40c4ff80fca334e3c478df7e2b8c8e350db.png)

In our case will be:

> camera/plugin\_manager/plugins/VaxALPR/active

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/d/da6f6290d224e28aa23f356aeceda4606f2ba8e3.png)

True -\>\> will be the parameter message used in the JSON Data Type while Creating the IP-Notify Profile…

From Admin Menu → IP Notify Profiles.

> 1. Create a Profile for VAX AppON as following

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/e/ee56bf50d8941e9e59a4623f7c26c74c253161d3.png)

Parameters will be:

- **IP Notify Type** : HTTP/ HTTPS

- **Destination Address** : Localhost / Parallel send to all

- **HTTP Method** : Post

- **CGI-Path** : /api/json/config/camera/plugin\_manager/plugins/VaxALPR/active

- **Security** / **HTTP Schema** : HTTPS

- **Authentication method** : Your camera password

- **Notification Data** : JSON

- **Message** : True

- **Port Number** : 0

> 1. Create a Profile for VAX AppOff as following:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/4/405e3a6db71fae995c87893abfb967c83512e676.png)

Parameters will similar to the above profile except changing the **Message** to " false ".

**B. From Setup Menu → Text & Display Settings to show the Lux value on the live image…**

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/9/9acfbb3a647b8ef3a621f17698f4d279303a9a37.png)

Parameters are : $(SEN.LXR), $(SEN.LXL)

**C. From Setup Menu → Event Overview → Environment Events, To create the Illumination" Lux " profiles. Configuration will be as following:**

-\>\> To disable the app if the illumination lower than value **5** for example…

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/7/78304e5db390ea8dae9d06c28d2fbf4d7052114e.png)

-\>\> To enable the app if the illumination higher than value **5** as well…

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/0/0c91682e7323557957f6d59e34c7343cc16ee865.png)

**D. From Setup Menu → Action Group Overview, to Create Action Groups for trigger the events created…**

We will Create 2 profile as following…

1 -\>\> Create Vax APP On profile…

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/7/77868313b94efc04ff77c6b3b5b1272b4136061c.png)

Then select the action is IP-Notify Vax/on

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/b/bc935cd1e9346d48bf7cb12b0e918c73aaeae8ca.png)

2 -\>\> Create Vax APP off profile

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/d/d148ad40ec3c9946f949d6517988b473e5a66ea8.png)

Then select the action is IP-Notify Vax/off

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/6/6a95be26e2395c16b8b6a75dab26a6873308e471.png)

P.S: Certified App Settings Arming Shall be active, To Activate navigate to setup Menu → Certified App Settings
