![]() ![]() ![]() Var authenticationJsonResponse = sendHttpGetRequest(request) Var request = synology_surveillancestation_webapi_url + "/auth.cgi?api=&method=Login&version=2&account="+synology_surveillancestation_login+"&passwd="+synology_surveillancestation_pwd+"&session=SurveillanceStation&format=sid" wait for ModeAbsence enables cancelled LogInfo("CamRecordingActivation", "start") Val desactivationPtzPresetName = "disabled" ![]() Val synology_surveillancestation_pwd = "" val synology_surveillancestation_webapi_url = " val synology_surveillancestation_login = "" The script requires JSONPath Transformation addon (and maybe HTTP Binding ?). This script uses Web API of Station Surveillance v. I try successfully a script to activate the camera recording with OH2. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |