get http://{localIP}/switch/
Reads the state of an Alarm Panel output. By default, the 6-zone alarm panels have an output named siren
that activates the 12V ALRM output on the Alarm Panel boards and the OUT outputs on the Add-on boards.
The Alarm Panel Pro default firmware has two outputs named alarm_1
and alarm_2
corresponding to ALRM1 and ALRM2 switched outputs on the panel. The toggle switch on the panel can be used to control OUT2, a 3.3V trigger output instead of the 12V ALRM2 output.