Hello,
Maybe a nice idea:
It would be awsome if I could fully control my surveillance station on the Synology through its API. Currently im controlling the station through Json commands via dummy switches -> on-action off-action.
But since synology requires an session ID , i have to update this ID in my JSON string once every couple of weeks.
Implementing the API in the domoticz Hardware with username and password so that wou could control surveillance station with switches already connected to the API would be awsome!
Info on this:
https://www.synology.com/nl-nl/knowledg ... ons_device
https://www.synology.com/nl-nl/knowledg ... ice#webapi
API:
https://global.download.synology.com/do ... I_v2.6.pdf
Synology Surveillance Station API integration into domoticz
Moderators: leecollings, remb0
-
- Posts: 24
- Joined: Tuesday 13 September 2016 19:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Synology Surveillance Station API integration into domoticz
RPi 3
Domoticz Béta
RFLink Gateway dipool antenna
Many kaku devices
P1 smart meter
Custom made ESP8266 devices
Hue lights / Milight ligts and strips
Domoticz Béta
RFLink Gateway dipool antenna
Many kaku devices
P1 smart meter
Custom made ESP8266 devices
Hue lights / Milight ligts and strips
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: Synology Surveillance Station API integration into domoticz
This is not your proposed way of interfacing, but it functions nicely in my situation
--edit, change from hint into more extensive description as requested --
1. Add camera to synology surveillance station
2. Select Applications (in IP Camera screen below your camera) 3. Setup Motion detection here, example of my config (in detection area perform select all or you can set a specific area of the image to monitor) 4. Motion detection setup, let's trigger Domoticz. Make sure you've made a virtual motion detection switch with an off delay of something like 10 seconds and note it's ID
5. Select 'Action Rule' in Surveillance station and configure this with your switch's url URL example:
More screenshots in next post
--edit, change from hint into more extensive description as requested --
1. Add camera to synology surveillance station
2. Select Applications (in IP Camera screen below your camera) 3. Setup Motion detection here, example of my config (in detection area perform select all or you can set a specific area of the image to monitor) 4. Motion detection setup, let's trigger Domoticz. Make sure you've made a virtual motion detection switch with an off delay of something like 10 seconds and note it's ID
5. Select 'Action Rule' in Surveillance station and configure this with your switch's url URL example:
Code: Select all
http://[IP_ADDRESS_DOMOTICZ]:[PORTNR]/json.htm?type=command¶m=switchlight&idx=[SWITCH_ID]&switchcmd=On
Last edited by pvm on Monday 04 December 2017 21:08, edited 1 time in total.
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: Synology Surveillance Station API integration into domoticz
remaining screenshots for step 5
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
-
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: Synology Surveillance Station API integration into domoticz
Many thanks !!!
Will start playing with it as well and report back if I can make some progress
Cheers,
Frank
Will start playing with it as well and report back if I can make some progress
Cheers,
Frank
-
- Posts: 25
- Joined: Monday 09 December 2013 16:51
- Target OS: Windows
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Synology Surveillance Station API integration into domoticz
Okay, so I got this working, but now I get a notification if movement is detected. I would like to see an image of that movement, or in a best world scenario: A movie pushed to my phone. 
Is any of this possible with the above mentioned method?

Is any of this possible with the above mentioned method?
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: Synology Surveillance Station API integration into domoticz
There was some approach for this in the telegram topic. I did not have time to implement this yet.
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
Who is online
Users browsing this forum: No registered users and 1 guest