Secure systems with Xeoma: HTTP Switcher module to get HTTP requests
Xeoma offers to use its HTTP Switcher module for integration with third-party systems.
This module can act as a remote on/off switch all following modules (the whole chain connected after the HTTP Switcher) upon receiving HTTP requests. It works like a circuit breaker/closer and can receive commands to either break the circuit (with the URL for switching off) or close it (with the URL for switching on). For example, you can connect this module in a chain before the Archive module. To resume/stop recording, send the switching on/off HTTP requests (URL). Requests can be sent through home automation systems or simply via a web browser.
Here we see that “HTTP switcher” module sends the switching off/on URL to stop/start recording.
Let’s have more precise look at the “HTTP switcher” settings:
URL-path for switching off: send this http request to make HTTP Switcher block video stream for the set period of time (or permanently, until the switching on URL is sent).
URL-path for switching on: send this http request to make HTTP switcher stop blocking the video stream (close the circuit).
If there is a timeout specified, when it’s finished, the module will resume blocking the video stream. You can set up the time in the detailed settings of the module:
To close the Settings window and save changes, click on «OK».
You can send HTTP requests in home automation systems or simply via a browser. Just copy the needed URL and paste it into the browser.
So it will look like this:
|Starting from beta version 21.3.4, Xeoma has the opportunity to use user profile credentials for working with the “HTTP Switcher” module that has the authorization option enabled.|
“HTTP Switcher” in Xeoma Web-interface.
In case there are HTTP Switcher and Web server modules in your chain, you’ll notice the following in your web interface:
– The list of all HTTP Switchers in the main page’s panel starting from Xeoma 21.4.2 beta-version.
– On/off HTTP Switcher feature for WebRTC in a single camera view and on the main page starting from Xeoma 21.4.2 beta-version.
– On/off HTTP Switcher feature for Mjpeg video in a single camera view and on the main page.
“HTTP Switcher” has good configuration options, which means that you should be able to get the module running exactly how you need, whether in-home automation systems or in other security systems. It’s easy to send HTTP requests and make the module a remote on-off switch for your secure systems.
You can discuss Xeoma on forum, ask any questions, search for answers, or share your ideas how to use Xeoma or how it helps you.
23 May 2014; updated: 1 April 2021