Recientemente Mozilla launched its Things Gateway 0.7 release, Which is a universal layer to organize access to various categories of consumer and IoT devices.
Se can use ZigBee and ZWave protocols, WiFi or direct connection via GPIO to interact with IoT platforms. This Gateway firmware prepared for various Raspberry Pi models.
How does Things Gateway work?
This project can be installed on the Raspberry Pi board and get a smart home control system that integrates all IoT devices in your home and provides tools to monitor and manage them through a web interface.
The platform also allows you to create additional web applications which they can interact with devices through the Web Thing API.
So instead of installing your mobile app for each type of IoT device, you can use a single unified web interface.
To install Things Gateway, just enough with download firmware provided to the SD card, open the file "gateway.local" in the browser.
With this, it would be possible to configure the connection to WiFi, ZigBee or ZWave, find the available IoT devices, configure the parameters for external access.
The gateway supports features such as device discovery on the local network, selecting a web address to connect to devices from the Internet.
Creating accounts to access the gateway's web interface, connecting devices that support the proprietary ZigBee and Z-Wave protocols to the gateway, and enabling it remotely.
As well as being able to turn off the devices from the web application, remote monitoring of the state of the house and video surveillance.
In addition to the web interface and API, the gateway also provides experimental support for voice control, allowing recognition and execution of voice commands (for example, "turn on the lights in the kitchen").
Main innovations of version 0.7
Added support for connecting IP cameras to organize video surveillance. The information from cameras can be taken in the form of video transmission and to save traffic in the form of individual images.
Se support ONVIF compliant cameras such as Foscam R2. Camera support is being hailed as experimental.
In the future, it is planned to expand the range of supported cameras, improve the user interface, and optimize video performance (when placing the gateway on the Raspberry Pi, there are long delays due to transcoding).
To enable it in settings (Settings> Plugins), se you must install the ONVIF plugin, after which you need to configure the access to the camera via the "Configure" section in the plugin.
After configuring the camera, it can be added to the list of available devices via the "+" button on the "Things" screen.
Then after clicking on the camera that appears in the list, an interface will be offered to create individual images or watch streaming videos.
Furthermore, this version provides support for temperature sensors and water leak sensors.
By connecting the specified sensors, the user can add rules to automatically turn on the air conditioner or fan if the temperature exceeds a predetermined limit or configure the sending of a notification if the sensor detects water on the floor.
Changes have been made to the device description format, which allows you to define lists of supported properties, actions, and events.
Future plans mark the work of including Things Gateway in the distributions for wireless routers, which will allow the use of these devices not only to provide access to the network, but also as intelligent control nodes for the home.