This FAQ demonstrates how to set an automation which will allow a global switch code to be set and modified via an intercom’s keypad.
Scenario:
A site administrator wishes to be able to quickly change a publicly known ‘global’ switch code via the intercom’s keypad. They either do not wish to do this via the intercom’s web interface or they do not have authority to access the interface.
They may enter a ‘service’ code into the keypad (not publicly known) to allow them to enter ‘code setting mode’. Once in this mode, they have a period of time (which the admin will set in the automation) to enter the new global switch code for subsequent use to access the premises. Each time a new code is set in this way then the old one becomes invalid.
How it works:
- The administrator enters a private code into the keypad to enter ‘service mode’ (999888 in this example)
- This is signaled by a sound (you may change this sound)
- They then have 10 seconds to define a new public global switch code (this time is changeable)
- When this new code is defined, an HTTP request is sent to the intercom itself, using the Formatter element to inject the defined code into the HTTP request. The URL used here is:
127.0.0.1/enu/trigger/codeset?code={1} - The request is received by the automation and has now been set. This is again signaled by a variable user sound
- This new code may be used to open the door until it is replaced by another code via the steps above.
Download the automation here: