
maestrea
Membres confirmés-
Compteur de contenus
23 -
Inscription
-
Dernière visite
-
Jours gagnés
1
Tout ce qui a été posté par maestrea
-
J'ai une Odroid C2 avec Jeedom dans le systeme en prod. Le systeme global et le zwave est estable. Je ne change pas une autre fois par HC2. J'ai 40 modules, 2 virt., 10 scenarios, 2 cams foscam, 2 tablets avec design format et 2 smartphones avec dashboard. Plugins: email, camera, mode, alarme, androidnotify, remote tasker, energie, etc, etc. Pour le moment je prefere jeedom.
-
Bonsoir, Je vous propose d'installer Jeedom sur le HC2. Nous pouvons garder la clé USB avec les dates et garder le chip Zwave por retourner quelque jour a Fibaro. Aprés, installer un SSD, une cle USB Zwave+ et Debian avec Jeedom.
-
Bonsoir, Est-ce que vous avez des problemes avec le declenchement des scenes avec le nouveaux firmware 4.082 Beta? Chez moi le module n'execute pas les scenes.Merci.
- 18 réponses
-
- PIN Code
- Module virtuel
-
(et 2 en plus)
Étiqueté avec :
-
Si vous avez des problemes avec l'espagnol... vous pouvez poser quelque question. Je ne parle pas très bien les français, mais on peut comprendre... Deux modules: 1. Le thermostat pour controler le chauffage 2. Le module configuration seulement pour l'admin. Merci.
-
Salut, Je vous presente une VD avec un thermostat virtuel. Caractéristiques: - Modes: Auto, Manuel, Off - Panneaux de température en mode automatique - Thermostat virtuel multiple - Soutien aux différents switchs - Plusieurs capteurs de température - Capteur virtuel de la température - PID Des liens: http://www.domoticadomestica.com/termostatos-inteligentes-control-pid/ http://www.domoticadomestica.com/foro/index.php?topic=1155.0 Merci.
-
Ok... connaisez vous le système danalock circle v3? (NON PolyLock) Est-ce que le système danalock CIRCLE est compatible avec HC2? Et avec serrures 3 points? NFA2P?
-
Alors... est-ce que c'est la meme API?
-
Bonjour Steven, La version de firmware: 3.60 Merci.
-
Salut Steven, J'ai des problemes: [ERROR] 21:55:05: line 12: attempt to index global 'api' (a nil value) ??? Merci.
-
Salut Indyana, Je ne sais pas oຠest l'erreur, mais avec cette scene: --[[ %% properties %% globals --]] -- Récupération de vos id en début de vos scripts idCocina=json.decode((fibaro:getGlobal('idCocina'))); -- Exemple d'utilisation fibaro:debug(idCocina.NFC); Le debug: [ERROR] 22:40:09: line 10: attempt to index global 'json' (a nil value) Et le code du Virtual Device: -- Declaracià³n de la tabla idCocina={}; -- Definicià³n de los ID's idCocina.Persiana=7; idCocina.Estor=49; idCocina.Tecla=17; idCocina.NFC=76; -- Guardar datos fibaro:setGlobal('idCocina',json.encode(idCocina)); fibaro:debug("Actualizando ID");
-
Fredo, Si nous voulons vendre la box, nous pouvons installer Linux dans la HC2 et apres JEEDOM jajajajaja
-
Ok, Steven. Merci.
-
Steven, Est-Ce que cette version a les ancients bugs du 4.024? P.E: Breached sensor with Arm Delay causes instant alarm after being armed
-
Cette version a les ancients bugs du 4.024? P.E: Breached sensor with Arm Delay causes instant alarm after being armed C'est une question.
-
Le forum anglais:
-
Bonjour, J'ai des problemes avec l'icone du fgms quand il detect presence.
-
Ok, pas de problemes.
-
Bonjour, Le code pour le Run Patrol: -------------------------------------------------- -- Synology Surveillance Station v2 -- Run Patrol -- Antonio Maestre, original code Lazer -- Oct 2014 -------------------------------------------------- -- User configurable variables local login = "yourlogin" local password = "yourpasswd" local camera = 2 local preset = 2 -- System variables local selfID = fibaro:getSelfId() local ip = fibaro:get(selfID, 'IPAddress') local port = fibaro:get(selfID, 'TCPPort') local Synology = Net.FHttp(ip, tonumber(port)) local API_AUTH_ERROR_CODE = { [100] = "Unknown error.", [101] = "The account parameter is not specified.", [400] = "Invalid password.", [401] = "Guest or disabled account.", [402] = "Permission denied.", [403] = "One time password not specified.", [404] = "One time password authenticate failed." } -- Discover available APIs and corresponding information payload = "/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.API.Auth,SYNO.SurveillanceStation.PTZ" response, status, errorCode = Synology:GET(payload) if tonumber(status) == 200 then jsonTable = json.decode(response); if jsonTable.data["SYNO.API.Auth"].maxVersion >= 2 and jsonTable.data["SYNO.SurveillanceStation.PTZ"].maxVersion >= 1 then fibaro:debug("Synology API version OK") pathAuth = jsonTable.data["SYNO.API.Auth"].path pathPTZ = jsonTable.data["SYNO.SurveillanceStation.PTZ"].path fibaro:debug("Synology API Auth path = "..pathAuth) fibaro:debug("Synology API Surveillance Station PTZ path = "..pathPTZ) -- Create new login session payload = "/webapi/"..pathAuth.."?api=SYNO.API.Auth&method=Login&version=2&account="..login.."&passwd="..password.."&session=SurveillanceStation&format=sid" response, status, errorCode = Synology:GET(payload) if tonumber(status) == 200 then jsonTable = json.decode(response); if jsonTable.success == true then SID = jsonTable.data.sid fibaro:debug("Synology API Auth SID = "..SID) -- Run patrol payload = "/webapi/"..pathPTZ.."?api=SYNO.SurveillanceStation.PTZ&method=RunPatrol&version=2&cameraId="..camera.."&patrolId="..preset.."&_sid="..SID response, status, errorCode = Synology:GET(payload) jsonTable = json.decode(response); if jsonTable.success == true then --fibaro:setGlobal("PosicionCAMEntrada", "Salon"); --fibaro:call(selfID, "setProperty", "ui.StatusEntrada.value", fibaro:getGlobalValue("PosicionCAMEntrada")); fibaro:log("OK") fibaro:debug('<span style="color:green;">Synology Surveillance Station move camera "'..tostring(camera)..'" to preset "'..tostring(preset)..'" OK</span>') else fibaro:log("Erreur") fibaro:debug('<span style="color:red;">Synology Surveillance Station move camera "'..tostring(camera)..'" to preset "'..tostring(preset)..'" FAILED</span>') end -- Destroy current login session payload = "/webapi/"..pathAuth.."?api=SYNO.API.Auth&method=Logout&version=2&session=SurveillanceStation&_sid="..SID response, status, errorCode = Synology:GET(payload) else fibaro:log("Erreur") fibaro:debug('<span style="color:red;">Error : '..API_AUTH_ERROR_CODE[tonumber(jsonTable.error.code)]..'</span>') end else fibaro:log("Erreur") fibaro:debug('<span style="color:red;">Error : API Authentication failure</span>') end else fibaro:log("Erreur") fibaro:debug('<span style="color:red;">Error : Synology API version is too old : <b>DSM 4.0-2251</b> and <b>Surveillance Station 6.1</b> are required</span>') end else fibaro:log("Erreur") fibaro:debug('<span style="color:red;">Error : Can not connect to Synology server</span>') end
-
Salut, le code pour le PATROL LIST: -------------------------------------------------- -- Synology Surveillance Station v2 -- List Patrols -- Antonio Maestre, original code Lazer -- Oct 2014 -------------------------------------------------- -- User configurable variables local login = "yourlogin" local password = "yourpasswd" -- System variables local selfID = fibaro:getSelfId() local ip = fibaro:get(selfID, 'IPAddress') local port = fibaro:get(selfID, 'TCPPort') local Synology = Net.FHttp(ip, tonumber(port)) local API_AUTH_ERROR_CODE = { [100] = "Unknown error.", [101] = "The account parameter is not specified.", [400] = "Invalid password.", [401] = "Guest or disabled account.", [402] = "Permission denied.", [403] = "One time password not specified.", [404] = "One time password authenticate failed." } -- Discover available APIs and corresponding information payload = "/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.API.Auth,SYNO.SurveillanceStation.Camera,SYNO.SurveillanceStation.PTZ" response, status, errorCode = Synology:GET(payload) if tonumber(status) == 200 then jsonTable = json.decode(response); if jsonTable.data["SYNO.API.Auth"].maxVersion >= 2 and jsonTable.data["SYNO.SurveillanceStation.Camera"].maxVersion >= 2 and jsonTable.data["SYNO.SurveillanceStation.PTZ"].maxVersion >= 1 then fibaro:debug("Synology API version OK") pathAuth = jsonTable.data["SYNO.API.Auth"].path pathCamera = jsonTable.data["SYNO.SurveillanceStation.Camera"].path pathPTZ = jsonTable.data["SYNO.SurveillanceStation.PTZ"].path --fibaro:debug("Synology API Auth path = "..pathAuth) --fibaro:debug("Synology API Surveillance Station Camera path = "..pathCamera) --fibaro:debug("Synology API Surveillance Station PTZ path = "..pathPTZ) -- Create new login session payload = "/webapi/"..pathAuth.."?api=SYNO.API.Auth&method=Login&version=2&account="..login.."&passwd="..password.."&session=SurveillanceStation&format=sid" response, status, errorCode = Synology:GET(payload) if tonumber(status) == 200 then jsonTable = json.decode(response); if jsonTable.success == true then SID = jsonTable.data.sid fibaro:debug("Synology API Auth SID = "..SID) -- Get the list of all cameras payload = "/webapi/"..pathCamera.."?api=SYNO.SurveillanceStation.Camera&method=List&version=1&_sid="..SID response, status, errorCode = Synology:GET(payload) jsonTable = json.decode(response); if jsonTable.success == true then fibaro:debug('Synology Surveillance Station number of cameras = '..tostring(jsonTable.data.total)) for i = 1, #jsonTable.data.cameras do fibaro:debug('<span style="color:green;">Found camera <b>'..jsonTable.data.cameras[i].name..'</b> ID=<b>'..jsonTable.data.cameras[i].id..'</b> address='..jsonTable.data.cameras[i].host..'</span>') -- List all presets of the PTZ camera payload = "/webapi/"..pathPTZ.."?api=SYNO.SurveillanceStation.PTZ&method=ListPatrol&version=1&cameraId="..jsonTable.data.cameras[i].id.."&_sid="..SID --fibaro:debug(payload) response, status, errorCode = Synology:GET(payload) --fibaro:debug("Respuesta: " .. response) --fibaro:debug("Status: ".. status) --fibaro:debug("Error Cod: " .. errorCode) jsonTable2 = json.decode(response); if jsonTable2.success == true then fibaro:debug('Number of PTZ patrols = '..tostring(jsonTable2.data.total)) for j = 1, #jsonTable2.data.patrols do fibaro:debug('<span style="color:green;">Found PTZ patrols <b>'..jsonTable2.data.patrols[j].name..'</b> ID=<b>'..jsonTable2.data.patrols[j].id..'</b></span>') end else fibaro:debug('<span style="color:red;">Synology Surveillance Station list PTZ patrols FAILED</span>') end end fibaro:log("OK") else fibaro:log("Erreur") fibaro:debug('<span style="color:red;">Synology Surveillance Station list cameras FAILED</span>') end -- Destroy current login session payload = "/webapi/"..pathAuth.."?api=SYNO.API.Auth&method=Logout&version=2&session=SurveillanceStation&_sid="..SID response, status, errorCode = Synology:GET(payload) else fibaro:log("Erreur") fibaro:debug('<span style="color:red;">Error : '..API_AUTH_ERROR_CODE[tonumber(jsonTable.error.code)]..'</span>') end else fibaro:log("Erreur") fibaro:debug('<span style="color:red;">Error : API Authentication failure</span>') end else fibaro:log("Erreur") fibaro:debug('<span style="color:red;">Error : Synology API version is too old : <b>DSM 4.0-2251</b> and <b>Surveillance Station 6.1</b> are required</span>') end else fibaro:log("Erreur") fibaro:debug('<span style="color:red;">Error : Can not connect to Synology server</span>') end
-
Bonjour, Je m'appelle Antonio et je suis espagnol. J'ai un HC2. Merci de m'accueillir dans votre communauté