This plugin allows for seamless integration of the Synology Surveillance Station with HomeSeer3.
Currently it supports:
- View status of cameras (disconnected/disabled/Connected)
- Enable or disable a camera
- Take a camera snapshot
- Move camera to PTZ preset
- Trigger events when motion is detected
At least version 4.5 of the .NET runtime environment is required. The plugin is tested on Windows, Linux support is not yet verified.
The plugin is currently still under development. Surveillance Station is polled every 60 seconds for the most recent information, in a future version this will be replaced by mimicking an SMS service provider so changes are pushed to the plugin. The motion triggering requires no polling, it works immediately.
Download updater_override.txt and put it in your HS3 installation direction (probably C:\Program Files (x86)\HomeSeer HS3), next download the zip package and put it in the Updates3\Zips folder of HomeSeer.
Next, go to the Plug-ins webpage of HomeSeer, and click on the ‘Update Listing’ button. This updates the list of available plugins and will show the plugin when you click on ‘Additional Interfaces’. The rest of the installation procedure is the same as with other plugins
The plugin does not have a configuration page yet, so configuration needs to be done by manually editing the config file which is located in the Config directory. The contents look like this:
This file should speak for itself. The default port number is 5000.
Running the plugin
Now you should be able to start the plugin via the Plug-ins page. If everything went OK, some devices should have been added, like in the screenshot below. If not, check the logging.
In order to get the motion detected triggering to work, you need to add an Action Rule in Surveillance Station for each camera.
Use following configuration for each rule:
- Rule type: Triggered
- Action rule: Uninterruptable
- Event: Motion detected
- Action device: External device
- URL: http://<HOMESEER_IP>:<HOMESEER_PORT>/JSON?request=pluginfunction&function=trigger&plugin=SurveillanceStation&P1=motion&P2=<HOMESEER_DEVICE_REF>
HOMESEER_DEVICE_REF is the device reference id of the camera device in HomeSeer for which you want to trigger. You can get this id by clicking on the device in the “Device List overview”