Aller au contenu

Rem's

Membres confirmés
  • Compteur de contenus

    949
  • Inscription

  • Dernière visite

Tout ce qui a été posté par Rem's

  1. Rem's

    Périphérique Swiidinter

    Bonsoir à tous, en me baladant sur le web j.ai remarqué un interrupteur de chevet de la marque SWIID. Savez vous ou peut on se le procurer ...? Merci de vos réponses. ðŸ˜
  2. Rem's

    Scène automatique (quotidienne)

    Bonjour à tous, Cela fait quelques temps que je n'avais rien posté sur le fofo; depuis que j'ai du tout réinstaller sur une nouvelle box (encore merci à Lazer) ! J'ai un soucis de scène. Ne sachant pas écrire proprement, je convertis la scène bloc, et je m'en sert de trame pour faire mon script. Seulement voilà, ça bug Il y aurai-il une âme charitable pour me filer un coup de main ... ? Cette scène me permet d'allumer tout seul la TV à l'heure TLMVP (FR2), puis à 12:45 le Journal de M6, puis le journal de 13h, puis le journal de 20h et enfin l'émission quotidien à 20:45. Je souhaite rajouter une interrogation afin de savoir si la TV est déjà allumé, sinon dérouler la suite en allumant la box, bouton "Ok", et bouton 1 (freebox). --[[ %% autostart %% properties %% weather %% events %% globals --]] local sourceTrigger = fibaro:getSourceTrigger(); function tempFunc() local currentDate = os.date("*t"); local startSource = fibaro:getSourceTrigger(); fibaro:startScene(8); -- MAJ Freebox player if ( ( ((currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == "17:20") ) ) and ( fibaro:getGlobalValue("TV") == "On" ) then -- fibaro:call(78, "pressButton", "2") fibaro:debug("TLMVP") else fibaro:debug("Cas N° 2, TV éteinte-1") -- fibaro:call(77, "pressButton", "1") -- Freebox power fibaro:sleep(10*1000); -- fibaro:call(77, "pressButton", "15") fibaro:sleep(3*1000) -- fibaro:call(77, "pressButton", "11") -- TLMVP end if ( ( ((currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == "17:22") ) ) then -- fibaro:call(77, "pressButton", "1"); -- fibaro:call(98, "pressButton", "1"); fibaro:debug("12.45 : M6-1") end if ( ( ((currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == "17:24") ) ) then -- fibaro:call(77, "pressButton", "1"); -- fibaro:call(98, "pressButton", "1"); fibaro:debug("Journal 13h : TF1 13h-1") end if ( ( ((currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == "17:26") ) ) then -- fibaro:call(77, "pressButton", "1"); -- fibaro:call(98, "pressButton", "1"); fibaro:debug("Journal 20h : TF1 20h-1") end if ( ( ((currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == "17:28") ) ) then -- fibaro:call(77, "pressButton", "1"); -- fibaro:call(98, "pressButton", "1"); fibaro:debug("Journal 20h : TMC 20h45-1") end setTimeout(tempFunc, 60*1000) end if (sourceTrigger["type"] == "autostart") then tempFunc() else local currentDate = os.date("*t"); local startSource = fibaro:getSourceTrigger(); if ( startSource["type"] == "other" ) and ( fibaro:getGlobalValue("TV") == "On" ) then -- fibaro:call(77, "pressButton", "1"); -- fibaro:call(98, "pressButton", "1"); fibaro:debug("12h : TLMVP-2") -- end else fibaro:debug("Cas N° 2, TV éteinte-2") -- fibaro:call(77, "pressButton", "1") -- Freebox power fibaro:sleep(10*1000); -- fibaro:call(77, "pressButton", "15") fibaro:sleep(3*1000) -- fibaro:call(77, "pressButton", "11") -- TLMVP end if ( ( ((currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == "15:10") ) ) then -- fibaro:call(77, "pressButton", "1"); -- fibaro:call(98, "pressButton", "1"); fibaro:debug("12.45 : M6-2") end if ( ( ((currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == "15:15") ) ) then -- fibaro:call(77, "pressButton", "1"); -- fibaro:call(98, "pressButton", "1"); fibaro:debug("Journal 13h : TF1-2") end if ( ( ((currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == "15:15") ) ) then -- fibaro:call(77, "pressButton", "1"); -- fibaro:call(98, "pressButton", "1"); fibaro:debug("Journal 20h : TF1 20h-2") end if ( ( ((currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == "15:15") ) ) then -- fibaro:call(77, "pressButton", "1"); -- fibaro:call(98, "pressButton", "1"); fibaro:debug("Journal 20h : TMC 20h45-2") end fibaro:sleep(60*1000) Je joint ma scène ci dessous, d'avance merci du coup de main
  3. Rem's

    Panne HS … au secours

    Bonjour à tous, il semblerait que ma HC2 ne veuille plus fonctionner. Lorsque je rebranche l’alimentation, les diodes s’allument et clignotent, et restent fixe les unes après les autres. sauf arrivée à la dernière à ce moment-là tout s’éteint. Pensez-vous que cela vienne de la box, ou plutôt de l’alimentation ? D’avance, merci pour votre aide, car je ne sais pas quoi acheter. Une bonne soirée à tous, et joyeux Noël
  4. Rem's

    Panne HS … au secours

    Bonjour, je t’ai envoyé un message en MP, je ne sais pas si tu l’as reçu ??
  5. Rem's

    Panne HS … au secours

    Merci pour votre réponse. Avez-vous une idée où est-ce que je peux commander une alimentation Ce sera plus simple pour moi, pas de migration, juste une remise en service. Bonne soirée, et joyeux Noël
  6. Rem's

    Quel Câble Choisir Pour Mon Réseau?

    25 caméras, tu rigoles pas quand tu t’équipes !!! Bravo
  7. Rem's

    Parametrage Dimmer 2

    Bonjour à tous, J’ai eu FGD 211 qui m’a lâché. J’ai commandé un Dimmer 2. Lors de l’installation, je ne comprends pas, j’ai une espèce de sirène alarme, et j’ai surtout le module de cette sirène qui sont en doublon. Cela me fait donc quatre ID De plus, je ne comprends pas pourquoi je tombe sur ce panneau de paramétrage, est-il possible d’afficher l’ancien avec les réglages ligne à ligne ? Merci d’avance pour le coup de main, bonne journée à tous
  8. Rem's

    Parametrage Dimmer 2

    J’y croyais pas mes yeux, je pensais avoir double cliquer par inadvertance et qu’il m’avait ajouté deux fois le module. J’ai donc tout supprimé, j’ai refait l’inclusion, et c’est la photo que j’ai joint au-dessus. Je ne comprends pas non plus la présence de modules esclave de type sirène, puisque c’est simplement un Dimmer Merci encore du coup demain, bon week-end à tous
  9. Rem's

    Erreur scène porte d'entrée

    Bonjour à tous, j'espère que la communauté va bien ... Je sollicite un coup de main car j'ai voulu modifié je ne sais pas quoi et ma scène est en erreur D'avance merci, bon week end à tous ! --[[ %% properties 772 value Jour-Nuit %% globals --]] -- Ce scénario sera executé uniquement à l'ouverture / fermeture -- du décteur de porte ID 772 (porte d'entrée) local door = 772 local light = 459 -- Spots hall -- local startSource = fibaro:getSourceTrigger(); local heure = os.date("%R"); date = os.date("%d/%m/%Y"); local Message = string.format("Lancement du %s a %s", date, heure) fibaro:debug(Message) -- local heure = string.format(os.date("%H"), "%2d")..string.format(os.date("%M"), "%2d") -- local heureValable = heure >= "1830" or heure < "2115" local enAlerte = (tonumber(fibaro:getValue(door, "value")) > 0) local heureValable = fibaro:getGlobalValue("Jour-Nuit")== ("Jour") -- à partir de 6h30 local heureValable1 = fibaro:getGlobalValue("Jour-Nuit")== ("Matin") -- à partir de 9h00 local heureValable2 = fibaro:getGlobalValue("Jour-Nuit")== ("Midi") -- à partir de 12h00 local heureValable3 = fibaro:getGlobalValue("Jour-Nuit")== ("Après-midi") -- à partir de 14h300 local heureValable4 = fibaro:getGlobalValue("Jour-Nuit")== ("Soir") -- à partir de 17h00 local heureValable5 = fibaro:getGlobalValue("Jour-Nuit")== ("Soirée") -- à partir de 21h00 local heureValable6 = fibaro:getGlobalValue("Jour-Nuit")== ("Nuit") -- à partir de 23h59 if enAlerte and heureValable -- Jour -- then -- fibaro:startScene(370); fibaro:call(light, "turnOn") else fibaro:call(light, "turnOff") -- Spot Hall end if fibaro:getGlobalValue("TV")== ("On") then fibaro:call(56, "pressButton", "1") fibaro:debug("TV extinction") else fibaro:debug("TV déjà éteinte") fibaro:debug("Porte ouverte Jour") end elseif enAlerte and heureValable1 -- Matin -- then if tonumber(fibaro:getValue(459, "value")) > 0 then fibaro:debug("lumière déjà allumée") fibaro:killScenes(439) else fibaro:call(light, "setValue", "30"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(light, "turnOff") -- Spot Hall fibaro:debug("Porte ouverte matin") end elseif enAlerte and heureValable2 -- Midi -- then fibaro:sleep(10*1000); fibaro:debug("Porte ouverte à midi") elseif enAlerte and heureValable3 -- Après-midi -- then -- fibaro:call(401, "pressButton", "8") -- Annonce Petula fibaro:debug("Porte ouverte à Après-midi") elseif enAlerte and heureValable4 -- Soir -- then if tonumber(fibaro:getValue(459, "value")) > 0 then fibaro:debug("lumière déjà allumée") fibaro:killScenes(439) else fibaro:call(light, "setValue", "40"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(light, "turnOff") -- Spot Hall fibaro:debug("Porte ouverte le soir") elseif enAlerte and heureValable5 -- Soirée then if tonumber(fibaro:getValue(459, "value")) > 0 then fibaro:debug("lumière déjà allumée") fibaro:killScenes(439) else fibaro:call(light, "setValue", "50"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(light, "turnOff") -- Spot Hall fibaro:debug("Porte ouverte en soirée") elseif enAlerte and heureValable6 -- Nuit -- then fibaro:call(light, "setValue", "20"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(659, "turnOff") -- Lampe boule fibaro:debug("Porte ouverte la nuit") -- Nuit -- -- fibaro:killScenes(439) else fibaro:debug("Porte fermée") end
  10. Rem's

    Erreur scène porte d'entrée

    De retour après un WE chargé ... j'ai compris vos remarques !! Ça marche !! Je peaufine tout ça et vous fait un retour. Merci
  11. Rem's

    Erreur scène porte d'entrée

    En fait , dans le 1er cas après fermeture de la porte (else, je voudrais éteindre les lampes --[[ %% properties 772 value %% globals --]] local door = 772 local light = 459 -- Spots hall local startSource = fibaro:getSourceTrigger(); local heure = string.format(os.date("%H"), "%2d")..string.format(os.date("%M"), "%2d") local enAlerte = (tonumber(fibaro:getValue(door, "value")) > 0) local heureValable = fibaro:getGlobalValue("Jour-Nuit")== ("Jour") -- à partir de 6h30 local heureValable1 = fibaro:getGlobalValue("Jour-Nuit")== ("Matin") -- à partir de 9h00 local heureValable2 = fibaro:getGlobalValue("Jour-Nuit")== ("Midi") -- à partir de 12h00 local heureValable3 = fibaro:getGlobalValue("Jour-Nuit")== ("Après-midi") -- à partir de 14h30 local heureValable4 = fibaro:getGlobalValue("Jour-Nuit")== ("Soir") -- à partir de 17h00 local heureValable5 = fibaro:getGlobalValue("Jour-Nuit")== ("Soirée") -- à partir de 21h00 local heureValable6 = fibaro:getGlobalValue("Jour-Nuit")== ("Nuit") -- à partir de 23h59 if enAlerte and heureValable then fibaro:call(459, "setValue", "40") -- Spots Hall fibaro:sleep(2*1000); fibaro:call(592, "turnOn") -- Plante 1 fibaro:call(593, "turnOn") -- Plante 2 fibaro:debug("Porte ouverte") else fibaro:call(592, "turnOff") -- Plante 1 fibaro:call(593, "turnOff") -- Plante 2 fibaro:sleep(2*1000); fibaro:call(459, "turnOff") -- Spot Hall fibaro:debug("Porte fermée Var") end elseif enAlerte and heureValable4 then if tonumber(fibaro:getValue(459, "value")) > 0 then fibaro:debug("lumière déjà allumée") fibaro:killScenes(427) else fibaro:call(light, "setValue", "30"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(light, "turnOff") -- Spot Hall fibaro:debug("Porte fermée Var4") end fibaro:debug("Fin de script") fibaro:sleep(60*1000); DEBUG] 20:07:56: 2021-12-11 20:07:56.868878 [ fatal] Unknown exception: /opt/fibaro/scenes/427.lua:34: expected near 'elseif' Encore merci pour ton aide
  12. Rem's

    Erreur scène porte d'entrée

    DEBUG] 17:50:29: 2021-12-11 17:50:29.640256 [ fatal] Unknown exception: /opt/fibaro/scenes/427.lua:38: expected near 'elseif'
  13. Rem's

    Erreur scène porte d'entrée

    J'ai essayé de simplifier la scène pour m'y retrouver et suivre tes conseils ... Ça donne ça --[[ %% properties 772 value %% globals --]] local door = 772 local light = 459 -- Spots hall local startSource = fibaro:getSourceTrigger(); local heure = string.format(os.date("%H"), "%2d")..string.format(os.date("%M"), "%2d") local enAlerte = (tonumber(fibaro:getValue(door, "value")) > 0) local heureValable = fibaro:getGlobalValue("Jour-Nuit")== ("Jour") -- à partir de 6h30 local heureValable1 = fibaro:getGlobalValue("Jour-Nuit")== ("Matin") -- à partir de 9h00 local heureValable2 = fibaro:getGlobalValue("Jour-Nuit")== ("Midi") -- à partir de 12h00 local heureValable3 = fibaro:getGlobalValue("Jour-Nuit")== ("Après-midi") -- à partir de 14h30 local heureValable4 = fibaro:getGlobalValue("Jour-Nuit")== ("Soir") -- à partir de 17h00 local heureValable5 = fibaro:getGlobalValue("Jour-Nuit")== ("Soirée") -- à partir de 21h00 local heureValable6 = fibaro:getGlobalValue("Jour-Nuit")== ("Nuit") -- à partir de 23h59 if enAlerte and heureValable then fibaro:call(459, "setValue", "40") -- Spots Hall fibaro:sleep(2*1000); fibaro:call(592, "turnOn") -- Plante 1 fibaro:call(593, "turnOn") -- Plante 2 fibaro:debug("Porte ouverte") else fibaro:call(592, "turnOff") -- Plante 1 fibaro:call(593, "turnOff") -- Plante 2 fibaro:sleep(2*1000); fibaro:call(459, "turnOff") -- Spot Hall fibaro:debug("Porte fermée") end elseif enAlerte and heureValable4 then if tonumber(fibaro:getValue(459, "value")) > 0 then fibaro:debug("lumière déjà allumée") fibaro:killScenes(427) else fibaro:call(light, "setValue", "30"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(light, "turnOff") -- Spot Hall fibaro:debug("Porte ouverte matin") end fibaro:debug("Fin de script") fibaro:sleep(60*1000); end D'avance merci de ton aide, précieuse !!
  14. Rem's

    Erreur scène porte d'entrée

    --[[ %% properties 772 value Jour-Nuit %% globals --]] -- Ce scénario sera executé uniquement à l'ouverture / fermeture -- du décteur de porte ID 772 (porte d'entrée) local door = 772 local light = 459 -- Spots hall -- local startSource = fibaro:getSourceTrigger(); local heure = os.date("%R"); date = os.date("%d/%m/%Y"); local Message = string.format("Lancement du %s a %s", date, heure) fibaro:debug(Message) -- local heure = string.format(os.date("%H"), "%2d")..string.format(os.date("%M"), "%2d") -- local heureValable = heure >= "1830" or heure < "2115" local enAlerte = (tonumber(fibaro:getValue(door, "value")) > 0) local heureValable = fibaro:getGlobalValue("Jour-Nuit")== ("Jour") -- à partir de 6h30 local heureValable1 = fibaro:getGlobalValue("Jour-Nuit")== ("Matin") -- à partir de 9h00 local heureValable2 = fibaro:getGlobalValue("Jour-Nuit")== ("Midi") -- à partir de 12h00 local heureValable3 = fibaro:getGlobalValue("Jour-Nuit")== ("Après-midi") -- à partir de 14h300 local heureValable4 = fibaro:getGlobalValue("Jour-Nuit")== ("Soir") -- à partir de 17h00 local heureValable5 = fibaro:getGlobalValue("Jour-Nuit")== ("Soirée") -- à partir de 21h00 local heureValable6 = fibaro:getGlobalValue("Jour-Nuit")== ("Nuit") -- à partir de 23h59 if enAlerte and heureValable -- Jour -- then -- fibaro:startScene(370); fibaro:call(light, "turnOn") else fibaro:call(light, "turnOff") -- Spot Hall -- if fibaro:getGlobalValue("TV")== ("On") -- then -- fibaro:call(56, "pressButton", "1") -- fibaro:debug("TV extinction") -- else -- fibaro:debug("TV déjà éteinte") -- fibaro:debug("Porte ouverte Jour") elseif enAlerte and heureValable1 -- Matin -- then if tonumber(fibaro:getValue(459, "value")) > 0 then fibaro:debug("lumière déjà allumée") fibaro:killScenes(439) else fibaro:call(light, "setValue", "30"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(light, "turnOff") -- Spot Hall fibaro:debug("Porte ouverte matin") elseif enAlerte and heureValable2 -- Midi -- then fibaro:sleep(10*1000); fibaro:debug("Porte ouverte à midi") elseif enAlerte and heureValable3 -- Après-midi -- then -- fibaro:call(401, "pressButton", "8") -- Annonce Petula fibaro:debug("Porte ouverte à Après-midi") elseif enAlerte and heureValable4 -- Soir -- then if tonumber(fibaro:getValue(459, "value")) > 0 then fibaro:debug("lumière déjà allumée") fibaro:killScenes(439) else fibaro:call(light, "setValue", "40"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(light, "turnOff") -- Spot Hall fibaro:debug("Porte ouverte le soir") elseif enAlerte and heureValable5 -- Soirée then if tonumber(fibaro:getValue(459, "value")) > 0 then fibaro:debug("lumière déjà allumée") fibaro:killScenes(439) else fibaro:call(light, "setValue", "50"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(light, "turnOff") -- Spot Hall fibaro:debug("Porte ouverte en soirée") elseif enAlerte and heureValable6 -- Nuit -- then fibaro:call(light, "setValue", "20"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(659, "turnOff") -- Lampe boule fibaro:debug("Porte ouverte la nuit") -- Nuit -- -- fibaro:killScenes(439) else fibaro:debug("Porte fermée") end J'ai retrouvé le bouton, et le code Lua !!
  15. Rem's

    Erreur scène porte d'entrée

    Merci pour ta réponse Barelle !! J'ai essayé de faire le ménage mais j'ai une erreur : [DEBUG] 16:42:53: 2021-12-11 16:42:53.320872 [ fatal] Unknown exception: /opt/fibaro/scenes/100.lua:44: 'end' expected (to close 'if' at line 31) near 'elseif' --[[ %% properties 772 value Jour-Nuit %% globals --]] local door = 772 local light = 459 -- Spots hall -- local startSource = fibaro:getSourceTrigger(); local heure = os.date("%R"); date = os.date("%d/%m/%Y"); local Message = string.format("Lancement du %s a %s", date, heure) fibaro:debug(Message) local enAlerte = (tonumber(fibaro:getValue(door, "value")) > 0) local heureValable = fibaro:getGlobalValue("Jour-Nuit")== ("Jour") -- à partir de 6h30 local heureValable1 = fibaro:getGlobalValue("Jour-Nuit")== ("Matin") -- à partir de 9h00 local heureValable2 = fibaro:getGlobalValue("Jour-Nuit")== ("Midi") -- à partir de 12h00 local heureValable3 = fibaro:getGlobalValue("Jour-Nuit")== ("Après-midi") -- à partir de 14h300 local heureValable4 = fibaro:getGlobalValue("Jour-Nuit")== ("Soir") -- à partir de 17h00 local heureValable5 = fibaro:getGlobalValue("Jour-Nuit")== ("Soirée") -- à partir de 21h00 local heureValable6 = fibaro:getGlobalValue("Jour-Nuit")== ("Nuit") -- à partir de 23h59 if enAlerte and heureValable -- Jour -- then fibaro:call(light, "turnOn") else fibaro:call(light, "turnOff") -- Spot Hall elseif enAlerte and heureValable1 -- Matin -- then if tonumber(fibaro:getValue(459, "value")) > 0 then fibaro:debug("lumière déjà allumée") else fibaro:call(light, "setValue", "30"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(light, "turnOff") -- Spot Hall fibaro:debug("Porte ouverte matin") elseif enAlerte and heureValable2 -- Midi -- then fibaro:sleep(10*1000); fibaro:debug("Porte ouverte à midi") elseif enAlerte and heureValable3 -- Après-midi -- then fibaro:call(401, "pressButton", "8") -- Annonce Petula fibaro:debug("Porte ouverte à Après-midi") elseif enAlerte and heureValable4 -- Soir -- then if tonumber(fibaro:getValue(459, "value")) > 0 then fibaro:debug("lumière déjà allumée") fibaro:killScenes(439) else fibaro:call(light, "setValue", "40"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(light, "turnOff") -- Spot Hall fibaro:debug("Porte ouverte le soir") elseif enAlerte and heureValable5 -- Soirée then if tonumber(fibaro:getValue(459, "value")) > 0 then fibaro:debug("lumière déjà allumée") fibaro:killScenes(439) else fibaro:call(light, "setValue", "50"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(light, "turnOff") -- Spot Hall fibaro:debug("Porte ouverte en soirée") elseif enAlerte and heureValable6 -- Nuit -- then fibaro:call(light, "setValue", "20"); -- Spots Hall fibaro:sleep(15*1000); fibaro:call(659, "turnOff") -- Lampe boule fibaro:debug("Porte ouverte la nuit") -- Nuit -- -- fibaro:killScenes(439) else fibaro:debug("Porte fermée") end
  16. Rem's

    IFTT

    Bonjour à tous, J'utilisais pas mal IFTT, du style : "je vais me coucher", cela déclenchait un module virtuel sur ma HC2. Il semblerait que ce service soit devenu payant au dela de 3 requêtes .... !! Insuffisant pour moi,car j'ai d'autres scènes de feignant !!! Auriez vous une solution ? D'avance merci du coup de main, et ...... prenez soin de vous, covid oblige
  17. Rem's

    Bonsoir David, excuse-moi de te déranger, je suis en cours demain à mon bureau pour installer une baie informatique avec 60 000 € de matériel à l’intérieur. Il faut que j’amène deux alimentations électriques. Ma question est quel est le type de disjoncteur que je dois utiliser, type de différentiel, la puissance étant de 2500 ouates environPar ligne.

    Merci de ta réponse, je te c’est fin limier sur le forum, et toujours de bon conseil. Prends soin de toi et de ta famille et bonnes fêtes

    1. Rem's

      Rem's

      Siri écrit vraiment n’importe comment !Siri écrit vraiment n’importe comment !

    2. Did

      Did

       Salut,

       

      2500W trop fort pour utiliser du 1,5mm2 donc prévoir du câble RO2V 3x2,5mm2 pour les deux alimentations.

      Pour être tranquille au niveau de la protection, je passerais sur deux disjoncteurs différentiels 16A - 30mA type F (anciennement appelé Hpi, immunité renforcée aux déclenchements intempestifs).

       

      Bonnes fêtes à toi aussi (pas plus de six à table et papi, mamie à la niche). :P

       

    3. Rem's

      Rem's

      Merci Didier, tu es au top ! Passe une bonne soirée, à bientôt

  18. Rem's

    Avis sur Planète Domotique

    Ta démarche n'a rien à voir avec le fonctionnement de ce forum. Tu es grand, fais ce que tu as à faire, et tu sais quoi, si c'est un bon tuyau, alors fais nous en part. Tes histoires de moralité et d'équité commerçante sont du ressort de BFM TV. Effectivement, tout le monde à le droit de s'exprimer (moi y compris), ceci étant pour de la domotique, on est loin TRES loin du sujet Bonne journée
  19. Rem's

    IFTT

    Bonsoir à tous, Pouvez vous m'aider à corriger cette ligne qui est censé déclencher dans IFTT Il faut bien mettre la methode : POST et le contenu : application/Json ? http://XXXX:YYYY@00.123.45.678:8081/api/callAction?deviceID=319&amp;name=pressButton&arg1=6 D'avance merci du coup de main !!
  20. Rem's

    IFTT

    Merci, du conseil. En fait j'utilisais celui là avant que Google home et IFTT se démocratise. Je trouvais cela plus simple que de dire "Ok Google, jarvis allume la lampe. Je vais m'y repencher dessus, merci
  21. Rem's

    [Rumeurs] IPX800 v5

    Ça a l’air bien tout ça ……… À suivre !!
  22. Bonjour à tous, J'essaye de faire le ménage dans mes comptes sur les téléphone, et je ne comprends rien !! Est ce qu'il existe un tutos là dessus ? Mon soucis est le suivant : Firmware : 4.580. Sur l'ordi je me log en user : "XXXX" et password "xxxx". Je ne comprend pas la fonction l'onglet contrôle d'acces : Pouvez vous m'expliquer à quoi sert le Super user ? - Chez moi "XXXX" et password "cheval". Pouvez vous m'expliquer à quoi sert Utilisateur ? - Chez moi Remy "adresse mail" et password "mouton", password confirm "mouton". DONC, sur l'iPhone (j'ai toujours l'ancienne appli) : Je vais dans paramètres, et je rentre quel compte ? Comment fait-il pour différencier mon tél et celui de ma femme ? Mon iPad est lui comme le super user, il reçoit correctement les notif, lorsque je sélectionne dans ma scène le block "iPad de Rémy". Pourquoi le "mode Hôtel", à quelle moment on le configure et surtout OU ? Rmq : je n'arrive pas à différencier mes tél et ma tablette. la géolocalisation fonctionne mais me dit n'importe quoi puisque je dois avoir un ambroglio dans les compte. Je ne comprend pas ou renseigner les différent utilisateur pour bénéficier des compte et réglages d'accès aux scènes et modules (pour ne pas saturer l'affichage selon les utilisateurs). Ok, l'adresse MAC fait son job, alors pourquoi les copte utilisateur ? Je ne sais pas si j'ai été suffisamment explicite, d'avance merci du coup de main. Prenez soin de vous.
  23. Rem's

    Certificat synology

    Bonjour à tous, J'en ai marre d'avoir cette page qui me prévient "d'un problème de sécurité avec cette page". J'ai essayé d'installer un certificat let's encrypt, ... à priori c'est bon, sauf que toujours le même problème. J'utilise aussi bien internet explorer que Google Chrome. Il y aurait-il une âme charitable pour me filer un coup de main, je trouve de tout et de rien sur le web, sans savoir vraiment quoi chercher. D'avance merci pour votre aide. Prenez soin de vous et , ..... restez chez vous !
  24. Rem's

    Certificat synology

    Voila ce que j'ai comme paramétrage. Je suis une quiche, mais il me semble que j'ai bien renseigné(sinon case rouge). Si vous avez une idée ... d'avance merci du coup de main
  25. Ton l’installation est magnifique, tu as du en avoir pour un paquet d’oseille ! Quel type d’enceintes as-tu branché avec les sonos, elles sont encastrés dans le plafond ! Pour la diffusion de la vidéo, c’est l’espèce de switch noir qui sert de répartiteurs ?
×