This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
Official

[APP] Synology Surveillance Station for Homey

keverjeroenkeverjeroen Member
edited September 2017 in Apps

Synology Surveillance Station for Homey


Thanks to the work of @jorden there is an app for Synology Surveillance Station. It can be found here: https://apps.athom.com/app/com.synology.surveillance


Original topic start:
Hi,

It would be great if Homey could send commands to my Synology Surveillance Station, or if Homey could receive info from the Surveillance Station. Maybe some one handy can make an app for it!?

It looks like there is an API: https://global.download.synology.com/download/Document/DeveloperGuide/Surveillance_Station_Web_API_v2.0.pdf


Tagged:
«13456713

Comments

  • would very much like this too!
  • This would be great I am very happy with the Synology and all the options it provides. Definitely worth what it cost, It would be nice to integrate either surveillance station or a link to the cameras within Homey.
  • What would you exactly like to do?
  • Use Homey to control cameras and recordings (viewing, activating and including in flows) The viewing, recording etc is already available via the synology but the possibility to include in a flow would be great. 
  • If there are more people that want this, I will look into it. I have  a nas and a camera so I can try. 
  • jorden said:
    What would you exactly like to do?
    Examples:
    - Start recording cam when a sensor detects movement
    - Let Homey say something when a cam starts recording (detects motion)
    - Let Homey send a message to my phone whe a cam is unreachable
    etc.
  • jorden said:
    If there are more people that want this, I will look into it. I have  a nas and a camera so I can try. 
    Yes plz!
  • Viewing in Homey will not work (yet), although that might be possible in a later version according to Trello.

    However, I think I can manage this:
    - Start / stop recording
    - Create snapshot
  • jorden said:
    Viewing in Homey will not work (yet), although that might be possible in a later version according to Trello.

    However, I think I can manage this:
    - Start / stop recording
    - Create snapshot
    I think you can send the video or picture (as long as they are stored in the correct folder of synology video-station) to your tv. I managed to do this with audiostation already and I think Videostation has a similar api...
  • Me To, !
  • +1 excellent idea
  • JonJon Member
    +1 here
  • A flow like ik when the bell is ringed then take a snapshot.

    Or when a door/pir sensor is used but no one is home start recording everything.

    That would be very usefull I think.

    So basic snapshot an recording would be  nice.
  • AaronAaron Member
    Or activate motion recording when "Away" status is on.

    When status id "baby monitoring" send me a message when motion is detected (motion zone)
  • I don't think it is possible to have a trigger on 'Motion detected' by Synology. For that to work, I have to be able to have the NAS contact Homey, and even though I didn't read the manual completely yet, I doubt that there is a function for that.
  • Maybe it is possible, by using 'action rules' in Surveillance station: https://www.synology.com/en-us/knowledgebase/Surveillance/help/SurveillanceStation/action_rule

    It states that it is possible to execute an URL command.
  • OK and then perhaps I can set the Action rules with the API... that might work.

    I didn't start on this yet :)
  • jordenjorden Member
    edited April 2016
    I see there is a NodeJS package for this already at https://github.com/thorque/node-synology-surveillance

    That might speed up development bigtime.

    Sadly, that doesn't work with DSM 6.0 ... I get an error "The page is not found". Found another one that seems to work, though!
  • Wow cool! 
  • AaronAaron Member
    Nice! you work fast  :)
  • Wondering if there are addition modules for the other Synology apps like audio station...
    Looking very good sofar!!! :)
  • Yeah more modules are possible. But for now I'll focus on the surveillance station I guess...

    I actually just made my first recording a few seconds ago.



    Had to do some digging, because the documentation is for an older version, and the paths in the documentation changed. Also had some troubles 'connecting' but finally got it to work.

    Might continue this work at home later tonight. You can expect a version 0.1.0 in about a week :) Still have to figure out some stuff, like the permissions that you have to setup for the user that is used to log in.
  • Cool, very nice. :)
  • Nice work!
  • Taking snapshots is now also possible. Which is kinda cool, it stores the snapshot on the NAS, but it is also possible to retrieve the image (as binary data). Which means that I could push the info elsewhere (like, to the Homey app, if it is supported).
    I don't know what to do with it yet  :D but it might be a cool feature in the future.
  • Brilliant, can't wait to test this, have been asking and waiting for Fibaro to support h.264 for several years now, which they still have not added. With Homey it takes less then a week :)
  • I have submitted it to the app store but Athom seems to only approve apps once a week (usually on friday)... since we're outside business hours I doubt it will be approved within a week :)
    If you want to install it for yourself:
    https://github.com/jordenc/com.synology.surveillance
    Read https://developers.athom.com for more info (this requires some knowledge of command line)
  • Is it possible to send the snapshot by mail?
  • bvdbosbvdbos Member
    edited April 2016
    Synology is able to do this but has been having problems with it (even synology has problems ;) ) since 2009.
    https://forum.synology.com/enu/viewtopic.php?t=105462

    However, I do think it will be possible to send a mail (someone would have to create an app for this) with a link to the picture, provided it's stored in a synology-folder which is accessible through the web-interface. Will be quite difficult to program an app for this I think though...

Sign In or Register to comment.