-
Compteur de contenus
3 525 -
Inscription
-
Dernière visite
-
Jours gagnés
10
Tout ce qui a été posté par 971jmd
-
salut et merci de votre aide j'ai de-jas tester mai pour le moment j'ai : le nom de la piece : cuisine le nom de module : lampe de la cuisine mai je trouve pas comment récupéré le nom de la section (intérieur, extérieur, etage.....)
-
salut a tous j'ai une petit question, comment récupérer la nom de la section( interieur, exterieur.....) la j'ai le nom de la pièce : fibaro:debug( fibaro:getRoomName( fibaro:getRoomID(deviceID) ) ) mai je ne vois pas comment récupéré le nom de la section
-
Tuto Multimédia Enregistrer Datas Sur Mysql Synology
971jmd a répondu à un(e) sujet de mikael2235 dans Tutoriels
j'ai bien bataillée et je suis bloquée sur ça: du cotée de fibaro qu'il y a un probleme [DEBUG] 18:50:19: 20170417185019 [DEBUG] 18:50:19: Temp_Salonsalon [DEBUG] 18:50:19: 99 [DEBUG] 18:50:19: Result: Forbidden You don't have permission to access /fibaro_add.php on this server. Apache/2.4.23 (Win64) PHP/5.6.25 Server at 192.168.0.16 Port 8080 [DEBUG] 18:50:19: Status: 403 [DEBUG] 18:50:19: Error Code: 0 pour info, ma table se met jour avec la requête HTTP http://localhost:8080/domotiquefibaro/fibaro_add.php?timestamp=20170417012013&type=terasse&value=1 -
si je test avec 192.168.0.16 au lieu de localhost: 1 DémarrerArrêterNettoyer [DEBUG] 23:58:20: 20170416235820 [DEBUG] 23:58:20: Temp_Salonsalon [DEBUG] 23:58:20: 99 [DEBUG] 23:58:20: Result: Forbidden You don't have permission to access /domotiquefibaro/fibaro_add.php on this server. Apache/2.4.23 (Win64) PHP/5.6.25 Server at 192.168.0.16 Port 8080 [DEBUG] 23:58:20: Status: 403 [DEBUG] 23:58:20: Error Code: 0
-
salut a tous j'ai un petit probleme avec le code suivant, j'ai un Error Code: 2 Mai si j’exécute le lien http suivant, ma base ce mes très bien a jour http://localhost:8080/domotiquefibaro/fibaro_add.php?timestamp=20170416180257&type=garage&value=100 pour info, le script PHP (fibaro_add.php) a pour but de mettre a jour une base MSQL --[[ %% properties 33 value %% globals --]] local IP = "localhost" local Port = "8080" local HC2 = Net.FHttp(IP,Port) local timestamp = os.date("%Y%m%d%H%M%S") local type = "Temp_Salonsalon" local valuetosyno = fibaro:getValue(33, "value") fibaro:debug(timestamp) fibaro:debug(type) fibaro:debug(valuelampe) local result, status, errorCode = HC2:GET("/domotiquefibaro/fibaro_add.php?timestamp="..timestamp.."&type="..type.."&value="..valuelampe.."") fibaro:debug("Result: " .. result); fibaro:debug("Status: " .. status); fibaro:debug("Error Code: " .. errorCode); [DEBUG] 23:13:22: 20170416231322 [DEBUG] 23:13:22: Temp_Salonsalon [DEBUG] 23:13:22: 99 [DEBUG] 23:13:22: Result: [DEBUG] 23:13:22: Status: [DEBUG] 23:13:22: Error Code: 2
-
topic unique Fibaro Keyfob FGKF-601 - Télécommande porte-clés Z-Wave+
971jmd a répondu à un(e) sujet de d@m!Ch94 dans Modules Fibaro
salut un petit cadeau si tu la pas et dans GEA : GEA.add({"Global", "KEYFOB", "triangle1"}, -1, "", {{........ . . . --[[ %% properties %% events 621 CentralSceneEvent 1 621 CentralSceneEvent 2 621 CentralSceneEvent 3 621 CentralSceneEvent 4 621 CentralSceneEvent 5 621 CentralSceneEvent 6 %% globals --]] local trigger = fibaro:getSourceTrigger() if (trigger["type"] ~= "other") then local pressSource = fibaro:getSourceTrigger()["event"]["data"] --fibaro:debug(json.encode(pressSource)) if (tostring(pressSource["keyId"]) == "1") then if (tostring(pressSource["keyAttribute"]) == "Pressed") then fibaro:debug('cares 1 click') fibaro:setGlobal("KEYFOB", "cares1") elseif (tostring(pressSource["keyAttribute"]) == "Pressed2") then fibaro:debug('cares 2 click') fibaro:setGlobal("KEYFOB", "cares2") elseif (tostring(pressSource["keyAttribute"]) == "Pressed3") then fibaro:debug('cares 3 click') fibaro:setGlobal("KEYFOB", "cares3") elseif (tostring(pressSource["keyAttribute"]) == "HeldDown") then fibaro:debug('cares long') fibaro:setGlobal("KEYFOB", "cares_long") elseif (tostring(pressSource["keyAttribute"]) == "Released") then fibaro:debug('cares long relaché') fibaro:setGlobal("KEYFOB", "cares_relache") end elseif (tostring(pressSource["keyId"]) == "2") then if (tostring(pressSource["keyAttribute"]) == "Pressed") then fibaro:debug('Rond 1 click') fibaro:setGlobal("KEYFOB", "Rond1") elseif (tostring(pressSource["keyAttribute"]) == "Pressed2") then fibaro:debug('Rond 2 click') fibaro:setGlobal("KEYFOB", "Rond2") elseif (tostring(pressSource["keyAttribute"]) == "Pressed3") then fibaro:debug('Rond 3 click') fibaro:setGlobal("KEYFOB", "Rond3") elseif (tostring(pressSource["keyAttribute"]) == "HeldDown") then fibaro:debug('Rond long') fibaro:setGlobal("KEYFOB", "rond_long") elseif (tostring(pressSource["keyAttribute"]) == "Released") then fibaro:debug('Rond long relaché ') fibaro:setGlobal("KEYFOB", "rond_relache") end elseif (tostring(pressSource["keyId"]) == "3") then if (tostring(pressSource["keyAttribute"]) == "Pressed") then fibaro:debug('X 1 click') fibaro:setGlobal("KEYFOB", "x1") elseif (tostring(pressSource["keyAttribute"]) == "Pressed2") then fibaro:debug('X 2 click') fibaro:setGlobal("KEYFOB", "x2") elseif (tostring(pressSource["keyAttribute"]) == "Pressed3") then fibaro:debug('X 3 click') fibaro:setGlobal("KEYFOB", "x3") elseif (tostring(pressSource["keyAttribute"]) == "HeldDown") then fibaro:debug('X long') fibaro:setGlobal("KEYFOB", "x_long") elseif (tostring(pressSource["keyAttribute"]) == "Released") then fibaro:debug('X long relaché ') fibaro:setGlobal("KEYFOB", "x_relache") end elseif (tostring(pressSource["keyId"]) == "4") then if (tostring(pressSource["keyAttribute"]) == "Pressed") then fibaro:debug('Triangle 1 click') fibaro:setGlobal("KEYFOB", "triangle1") elseif (tostring(pressSource["keyAttribute"]) == "Pressed2") then fibaro:debug('Triangle 2 click') fibaro:setGlobal("KEYFOB", "triangle2") elseif (tostring(pressSource["keyAttribute"]) == "Pressed3") then fibaro:debug('Triangle 3 click') fibaro:setGlobal("KEYFOB", "triangle3") elseif (tostring(pressSource["keyAttribute"]) == "HeldDown") then fibaro:debug('Triangle long') fibaro:setGlobal("KEYFOB", "triangle_long") elseif (tostring(pressSource["keyAttribute"]) == "Released") then fibaro:debug('Triangle long relaché ') fibaro:setGlobal("KEYFOB", "triangle_relache") end elseif (tostring(pressSource["keyId"]) == "5") then if (tostring(pressSource["keyAttribute"]) == "Pressed") then fibaro:debug('Moins 1 click') fibaro:setGlobal("KEYFOB", "-1") elseif (tostring(pressSource["keyAttribute"]) == "Pressed2") then fibaro:debug('Moins 2 click') fibaro:setGlobal("KEYFOB", "-2") elseif (tostring(pressSource["keyAttribute"]) == "Pressed3") then fibaro:debug('Moins 3 click') fibaro:setGlobal("KEYFOB", "-3") elseif (tostring(pressSource["keyAttribute"]) == "HeldDown") then fibaro:debug('Moins long') fibaro:setGlobal("KEYFOB", "-long") elseif (tostring(pressSource["keyAttribute"]) == "Released") then fibaro:debug('Moins long relaché ') fibaro:setGlobal("KEYFOB", "-relache") end elseif (tostring(pressSource["keyId"]) == "6") then if (tostring(pressSource["keyAttribute"]) == "Pressed") then fibaro:debug('+ 1 click') fibaro:setGlobal("KEYFOB", "+1") elseif (tostring(pressSource["keyAttribute"]) == "Pressed2") then fibaro:debug('+ 2 click') fibaro:setGlobal("KEYFOB", "+2") elseif (tostring(pressSource["keyAttribute"]) == "Pressed3") then fibaro:debug('+ 3 click') fibaro:setGlobal("KEYFOB", "+3") elseif (tostring(pressSource["keyAttribute"]) == "HeldDown") then fibaro:debug('+ long') fibaro:setGlobal("KEYFOB", "+long") elseif (tostring(pressSource["keyAttribute"]) == "Released") then fibaro:debug('+ long relaché ') fibaro:setGlobal("KEYFOB", "+relache") end end end -
La dernier foi que j'ai eu un problème à peu près similaire, j'ai débranché le cable réseau RJ45 et redémarrer la HC2 et elle la redémarrer très bien . Il s'agissait d'un conflit ip avec un autre périphérique Envoyé de mon iPhone en utilisant Tapatalk
-
Tuto Multimédia Enregistrer Datas Sur Mysql Synology
971jmd a répondu à un(e) sujet de mikael2235 dans Tutoriels
pour info je suis sur WAMPSERVEUR 3.0.6 -
Tuto Multimédia Enregistrer Datas Sur Mysql Synology
971jmd a répondu à un(e) sujet de mikael2235 dans Tutoriels
salut et merci pour ton aide il y quel que chose qui bloque j'ai tester manuellement avec: pour info mon fichier PHP est INDEX.PHP http://localhost:8080/domotiquefibaro/index.php?timestamp=20170413061440&type=salon&value=10 il manque quel que chose a ma table a tu possibilité d'exporter un table pour que je cherche a comprend la chose -
Tuto Multimédia Enregistrer Datas Sur Mysql Synology
971jmd a répondu à un(e) sujet de mikael2235 dans Tutoriels
@mikael2235 salut j'ai quel que soucie avec la création de la base MSQL aurait tu quel que captures d’écran -
Tuto Multimédia Enregistrer Datas Sur Mysql Synology
971jmd a répondu à un(e) sujet de mikael2235 dans Tutoriels
-
Tuto Multimédia Enregistrer Datas Sur Mysql Synology
971jmd a répondu à un(e) sujet de mikael2235 dans Tutoriels
@mikael2235. salut je comprend pas tout le code suivant je la place ou ? je supose que ce code s'appelle : fibaro_add.php et qu'il faut le placer dans un fichier <?php $timestamp = $_GET["timestamp"]; $type = $_GET["type"]; $value = $_GET["value"]; // on se connecte à MySQL $db = mysql_connect('localhost', 'root', 'password'); // on sélectionne la base mysql_select_db('fibaro',$db); // on crée la requête SQL $sql = "INSERT INTO records(timestamp,type,value) VALUES('$timestamp','$type','$value')"; // on envoie la requête $req = mysql_query($sql) or die('Erreur SQL !<br>'.$sql.'<br>'.mysql_error()); // on ferme la connexion à mysql mysql_close(); ?> -
je tout même essayer je commence par télécharger : Wampserver serveur virtuel MSQL...... https://craym.eu/tutoriels/developpement/site_local_avec_wamp.html#interface
-
Salut Moi j'en rêve, mai seul je ne vais pas aboutir à grand chose. Moi c'est plus pour la remonte d'info comme la consommation Electrique et de l'eau, un tableau de bord eco Envoyé de mon iPhone en utilisant Tapatalk
-
Sur iPhone et Android ? Envoyé de mon iPhone en utilisant Tapatalk
-
@flechg il y a une solution en réalisant une petit scène bloc associe à GEA une scène qui ouvre les trois volet à intervalle de 15s et GEA ce charge d’exécuter la scène . GEA.add({LeverWeekend, {"Value-",id['VOLET_PARENT'],55}}, 10*60, "", {{"Time", "07:30", "10:35"}, {"Scenario", <id>}}) GEA.add({LeverWeekend, {"Value-",id['VOLET_EMMA'],55}}, 10*60, "", {{"Time", "07:30", "10:35"}, {"Scenario", <id>}}) GEA.add({LeverWeekend, {"Value-",id['VOLET_SALON'],55}}, 10*60, "", {{"Time", "07:30", "10:35"}, {"Scenario", <id>}})
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
Non effectivement Envoyé de mon iPhone en utilisant Tapatalk
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
Non effectivement Envoyé de mon iPhone en utilisant Tapatalk
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
salut alors j'ai eu il y a quel que temps, un soucie avec mon GEA. j'ai résolut le probleme créant un autre GEA identique donc un nouvelle ID et désactivé l'autre. alors peut être le faite de changer GEA de ID....
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
merci je regarde tout ça
-
ok GRAND MERCI je serai pas arriver sans toi la nous avons récupérée la valeur d'un variable, est il est possible de récupérée la valeur d'une cellule et l'envoyer dans la variable de la HC 2
-
-
-
mon TRIGGER est crée maintenant il fait crée l'action
-
oui pour la premier étape : Test Successful!