Applies to Models: Zenitel Intercoms
Summary:
Connect an Exit button and configure to open door with Zenitel
intercom
Step By Step Guide:
1. Download the Lua script file by clicking on the Download below
2. Open the downloaded script file with a text editor and edit the values as below
http.request('http://admin:password@192.168.1.4:7001/api/createEvent?source="Hanwha"&caption="Knock"&description="original"&metadata={"cameraRefs":["904ded2a-6ce0-9a08-24af-86a09b769f66"]}')
admin: change this to your WAVE user name
Password: change this to WAVE password
192.168.1.4:7001 : change this to the IP address and the port assigned to WAVE
Relaytime=5 : Change the value if you need the time duration other than 5 seconds
Save the file after the modifications
3. Enable advanced configuration mode from the intercom’s web interface.
a) At the intercom's web setting, click on the Recovery tab under the Main
b) Type in the password, 1851, in the Advanced configuration mode
c) Click on the box and then press the save button
4. Upload the Lua script to the intercom
a) At the intercom’s web setting, click on the SIP configuration (Edge configuration in the Edge mode)
b) Click on the Script Upload. Click on the “Choose File” button. Browse to the script file and then click on the Upload box
5. Assign the script to a slot
a) Select the Script under the SIP Configuration (Edge configuration in Edge mode) menu
b) Select the Slot drop window, and select a slot
c) Name the slot (a name of your choice) into the Assign a label box
d) Type in Lua exitrelay.lua (case sensitive) into the script box
e) Click on the SAVE button
6. Define script event
a) Click on the Script Events tab under the SIP Configuration (Edge configuration in the Edge mode)
b) Assign the input # (Exit button connected) of your choice (input 1 in this KB article) to the slot
c) Click on the SAVE button
7. Connect an exit button to the input
a) Connect the exit wire to the GND and the input port