Aller au contenu

k1s

Membres confirmés
  • Compteur de contenus

    3
  • Inscription

  • Dernière visite

Profile Information

  • Sexe :
    Homme
  • Ville :
    London
  • Box
    Home Center 2

Visiteurs récents du profil

Le bloc de visiteurs récents est désactivé et il n’est pas visible pour les autres utilisateurs.

k1s's Achievements

Newbie

Newbie (1/14)

0

Réputation sur la communauté

  1. ..but I have two NAS, so surely 2 SID are needed as well?
  2. Hello Lazer, Please excuse my lack of French and the Google translation attempt: I have your virtual device installed on my HC2. I have 2 Synology NAS devices with 2 cameras on each, and I would like your script to work with the 4 cameras. Am I right in thinking that I should have 2 virtual devices, with different sets of global variables? I'm not very familiar with LUA but looking at the code and your annotations, it seems to me that I should have a second SurvStation_SID, and SurvStation_Status for the second virtual device, for example. SurvStation_SID2 and SurvStation_Stat2? then change all references in the code for the second virtual device to match? That's what I tried but oddly, although the second virtual device works, the original fails to list the cameras with the following (even though the passwords are correct: [DEBUG] 12:47:22: Synology API version OK [DEBUG] 12:47:22: Error : Synology Surveillance Station list cameras failed, Insufficient user privilege, {"error":{"code":105},"success":false} [DEBUG] 12:47:22: Destroy current SID [DEBUG] 12:47:22: Request new SID [DEBUG] 12:47:22: Error : API Authentication failure, Invalid password. [DEBUG] 12:47:22: Error : Synology Surveillance Station list cameras failed, Insufficient user privilege, {"error":{"code":105},"success":false} What am I doing wrong? Please excuse my lack of English and the google translation attempt: I have your virtual device installed on my HC2. I have 2 Synology NAS devices with 2 cameras on each, and would like to make your work with all 4 cameras. Am I correct in thinking I would need to have 2 Virtual Devices, with different sets of global variables? I'm not very familiar with LUA but looking at the code and your annotations, it seems to me that I should have a second SurvStation_SID, and SurvStation_Status for the second virtual device, for example, eg SurvStation_SID2, and SurvStation_Stat2? and then change the reference in the code for the second virtual device to match? That's what I've tried but strangely, but the passwords are correct: [DEBUG] 12:47:22: Synology API version OK [DEBUG] 12:47:22: Error : Synology Surveillance Station list cameras failed, Insufficient user privilege, {"error":{"code":105},"success":false} [DEBUG] 12:47:22: Destroy current SID [DEBUG] 12:47:22: Request new SID [DEBUG] 12:47:22: Error : API Authentication failure, Invalid password. [DEBUG] 12:47:22: Error : Synology Surveillance Station list cameras failed, Insufficient user privilege, {"error":{"code":105},"success":false} What am I doing wrong?
  3. Hello I'm new here, with Fibaro HC2 connecting 20 Sensative Strips, 11 Aeotec Gen Multisensor 6, 15 Fibraro Dimmer 2, 18 Fibaro Double Switch 2, 10 Popp Smoke detectors, 3 Popp CO detectors, Yale Keyfree lock, Aoetec Minimote, 6 HeatIt thermostats, 8 Popp Radiator thermostats, 2 Fakro Windows, 6 Fakro blinds, 2 Fakro Triple Wall Switches... ...most of which are working (sort of)
×
×
  • Créer...