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.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Official
Comments
you did use the latest api doc ?
Synology told me that there where changes but no functionality on the api has been taken out.
https://global.download.synology.com/download/Document/DeveloperGuide/Surveillance_Station_Web_API_v2.6.pdf
So email a photo is working? And "starts recording" is working? Wyrd, u seems to be the only one.
I do have the NVR216, which is a complete solution, but to my knowledge it uses the same software as the others.
That is what doesnt work. The starts recording trigger card is the problem
Will soon start on a new version of the Synology app when I find the time. I think it's one of the most important apps I made, and it has to improve a lot.
When doorbel is pressed a photo is taken and saved on the NAS.
Starting/stopping recording is still working.
Swich off and on of the camera is still working.
Not working is sending a photo by e-mail.
I don't know if it is asked already but wil the "Home" mode status be something that can be set by a card?
greetings,
Aaron
@Aaron
In July I asked this already
https://forum.synology.com/enu/viewtopic.php?t=134755
ON
curl -L "http://192.168.1.101:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.HomeMode&version=1&method=Switch&on=true&_sid=Gj.tXLURyrKZg1510MPN674502
OFF
curl -L "http://192.168.1.101:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.HomeMode&version=1&method=Switch&on=false&_sid=Gj.tXLURyrKZg1510MPN674502
I figured out how to use Get and Post html commands with Homey / Domoticz, but this seems a bit more complicated
Hi, thanks for looking this up. Ik can't figure out how to use this. I thought I make a virtual device but what kan I use to send the on and off url's?
Do you have an example for us? Thanks.
greetings,
Aaron
Something for the developer to look in to it.
If anyone is interested I will post the details.
Needed:
- a Homey
- Surveillance Station (SS) running on your Synology NAS
- the IP:port of your Syno
- On Homey you will need the App 'Http request flow kaarten" by Erik van Dongen
- I have used Smart Presence too, but that is optional and depends on your needs.
If I test this flow, Home Mode is switched ON in SS:
And a similar flow can switch OFF the SS Home Mode.
Steps:
- Open Surveillance Station (SS) in a browser
- Open the settings page and make sure that 'actieregels inschakelen' is ticked:
- Click op the menu 'Actieregel' to open it and create a new rule (here you see my 2 rules I had created earlier):
- the following 4 screenshots shots show my settings for the new action rule:
*** NOTE 'OPDRACHT OPHALEN" !!!! ***
=> here I created the action to START Home Mode, in the other/second action rule I made Home Mode STOP home mode <=
Save the action rule. You are done with creating the first action rule. Do the same steps again to create the new/second action rule, but this time the action will be to STOP Home Mode.
And now to get the code, needed in Homey to set the Home Mode :-)
3 screenshots back you see the 'Opdracht ophalen' button. To get to that screen again, you can edit the action rule you created (select and edit). If you click the 'Opdracht ophalen' button, a box will open with the code you will need in Homey:
Here It shows the internal IP + port of my Syno, some nerdy stuff and where you should add your own credentials for 'account' and 'password'. Copy the code so you can paste it later on.
In Homey create a flow like the one in the first screen shot. Paste the code and add your own IP:port and credentials. BTW keep the " ..." so it looks like this => ...account}="yours"&password="yours".
If you test it, it should start Home mode. Likewise, if you make a second flow with the other action rule to STOP Home Mode and paste that, it should stop Home Mode. Works for me!
On my phone, I see the Home Mode switch on / Off in the DS Cam App, when I test/run these two flows.
As 'Smart Presence' works reasonably well in my situation (with 1 Android and two Apple phones), this flow does work for me too, where the SS Home mode AAN flow, will ...ehh...do what it says ;-):