Vera Serial Interface
Posted By admin On 26.08.19Control your ZigBee devices from your Vera
Use this USB Automation Interface to manage lights, appliances, HVAC systems, and alarm systems directly using your home network. C sample code for PIC micros and Hi-Tech C. Sample projects for the Microchip PIC micro series of microcontrollers, including the PIC12x, PIC16x, PIC18x, PIC24x, and.
Designed for Vera Control, Ltd. Home Controllers (UI7) and openLuup.
Introduction
This plugin is a gateway to ZiGate, and brings compatibility with the ZigBee network.
The plugin creates new devices (switches, dimmers, sensors, ...) in your Vera corresponding to your ZigBee network.These devices appear in the User Interface as the others (e.g. Z-wave devices) and can be used in scenes.
For specific manipulations (settings, association), the plugin has its own User Interface.
Requirements
Plug the ZiGate USB dongle into an Vera's USB port.
Installation on legacy Vera
Get the plugin
Mios Marketplace
This plugin is not available on the Mios Marketplace for the moment. This could change if Vera Control, Ltd. makes it more 'developper friendly'.
Alternate App Store on ALTUI
Upload the files in 'luup files' in the Vera (by the standard UI in 'Apps-->Develop Apps-->Luup files').
Create a new device in 'Apps-->Develop Apps-->Create device', and set 'Upnp Device Filename' to 'D_ZiGateGateway1.xml'.
Set the serial connection
Assign the serial port of the dongle to the plugin : go to 'Apps/Develop Apps/Serial Port Configuration' and select from 'Used by device' drop down list the 'ZiGate Gateway'.Set the following parameters :
Installation on openLuup
Get the plugin

Alternate App Store on ALTUI
Github repository
Install dependencies
Set the serial connection
- Retrieve the usb device
With the command 'dmesg', you will find the mounted point.
In this example, the USB device is reachable on /dev/ttyUSB0
- Install Serial to Network Proxy
Install ser2net
- Configuration
Edit the file 'ser2net.conf'
Add this line (it depends on your device)
- Restart the deamon
- Declare the serial connection
Set the attribut 'ip' to '127.0.0.1:3481', on the plugin instance.
Add your ZigBee devices
- In the 'Discovered devices' tab, click on the button 'Inclusion' (this mode will be activated during 30 seconds).
- Associate your ZigBee devices with the ZiGate (usually by physically pressing a button on your device)
- The ZigBee devices should appear in the tab.
Vera Serial Port
ZigBee devices
The ZigBee devices, known by the ZiGate and learned by the Vera, behave themselves as standard devices on the Vera.
You will find all the learned ZigBee devices in the 'Managed devices' tab.
Vera Serial Port Configuration
Device settings
- In the 'Managed devices' tab, click on the button 'Action' of the ZigBee device.
Association
You can define a link between your ZigBee device and another device in your Vera. It allows you to bind devices without having to use scenes.
From the tab 'Devices' in the plugin, click on the action 'Associate' of the device you wish to link.Then select the compatible devices and validate.
Association means that changes on the ZigBee device will be passed on the associated device (e.g. if the ZigBee device is switched on, the associated device is switched on too).
Known working equipements
Vendor | Model | Comment |
---|---|---|
Xiaomi | Aqara smart cube | |
Xiaomi | Aqara smart wireless switch | |
Xiaomi | Aqara motion sensor | |
Xiaomi | Aqara weather sensor | |
Xiaomi | Aqara door/window sensor | |
Xiaomi | Aqara vibration sensor | Only vibrations for the moment |
Logs
You can control your rules execution in the logs. Just set the variable 'DebugMode' to 1.
- on legacy Vera (ssh terminal):
- on legacy Vera (http):
- on openLuup (ssh terminal):