Aller au contenu

speedoxx007

Membres confirmés
  • Compteur de contenus

    276
  • Inscription

  • Dernière visite

  • Jours gagnés

    1

Tout ce qui a été posté par speedoxx007

  1. Version 4.113 Beta This update features migration process from version 3.600, reconfiguring every device, adjusting them for changes which took place in the system. This will assure a possibly smooth transition and continuous operation, allowing each device to work with old settings until reconfiguration is done. Please, refer to the message that appears in the interface and Notification Center for further instructions after finishing upgrade. Important! Updating from version 3.600 may take up to 30 minutes. Do not restart controller during update process. Resolved issues: - Firmware Update section is hidden from the devices configuration, - Weather plugins force the data refresh. Version 4.112 Beta Resolved issues: - Incorrect redirect after an update. - It is not possible to create scene with weather or weather plugins as a condition. - Information about the status change of some devices (e.g. Wall Plug) are not displayed in the event panel. - Devices with unticked "Show measurement of energy consumption" option are counted in the global power measurement. - You cannot edit the location points in the location panel. - No possibility of a simultaneous change in many blockade parameters of KeyFob. - Central Scene Events are sent twice. - Sending an unsupported action to a device can cause a crash of the Z-Wave service. New devices support: - Eurotronics Comet Z. - Eurotronics Stella Z. - Philio Technology Corp Multisensor PST02. - Philio Technology Corp PAN06. - Domitech LLC Smart LED Retrofit Kit ZE27EU. Other improvements: - The view of system update is now similar to configuration Wizard. Version 4.111 Beta Resolved issues: - Heating and cooling panels don't work with FGWP102 as an actor. - Problem with LUA code execution in virtual devices. - Lack of wind unit in API. - Z-Wave network reset doesn't delete device notifications. - Mobile devices containing Polish special characters in names are wrongly displayed. - Update hangs up. - Scale for power consumption is not displayed for RGBW. - Dashboard always displays sunday. - #0002626 deselecting notification of a low battery. - Weather can't be used as a condition in block scenes. - #0004014 Manual and holiday time rounds temperature sent to devices. - Unification of time display in the web interface. - Minor graphic fixes. Other improvements: - Fibaro Keyfob - the ability to use key sequences for executing the action in system. The ability to block device with key and unblock it with key sequence. - Magic scenes for devices which use Scene Controller or Scene Activation - the ability to add scenes in the configuration of device supporting Central Scene or Scene Activation. Devices already existing in Home Center require soft reconfiguration, after reconfiguration you will have new configuration options. - Remote support on demand - feature is default off, in LAN settings tab you can grant possibility to enable remote connection for Fibaro Support. - Functionality of temperature measurments export (CSV file) in temperature panel. CHANGES INTRODUCED IN VERSION 4.X: - Drag & Drop for devices and scenes - available on home, devices and rooms screens. Assigning devices to rooms and changing its order is now much easier and faster. - Temperature Panel - allows to see history of temperature changes in rooms and on each device. - Diagnostic Panel - general information about HC working condition like CPU & RAM usage, free space on hard drive. Will be extended in future versions. - Soft Device Reconfiguration - option allows to save settings, parameters and device ID. Thanks to that scenes with reconfigurable device will not require editing. Full reconfiguration will remove and add the device to the Z-Wave network, resulting in the loss of its settings, parameters and change the device ID.. - Mesh Network Reconfiguration - available on Configuration -> Z-Wave Network - New Z-Wave engine - redesigned and rewritten from the scratch. Now is faster and has better support for devices. - Z-Wave Door Locks support - controlling and PIN settings. - Thermostats - extended controlling for thermostats from manufacturers like: Honeywell, Trane Corporation. - Extended tamper for sensors - exclusive information for motion detection and violation of sensors. - Fibaro Smoke Sensor extended support - level of smoke and gap to alarm level is reported and visible on charts. Sensitivity level is now easier to set. - Fibro Motion Sensor new device - when seismometer mode is turned on new device reporting tremors is available. Charts for temperature and illuminance. Additionally information about sensor violation. - Device hiding - device that is not in use can be hide without removing it. - Device deactivation - deactivated device is visible in UI but can't be controlled. - Multithreading added for HC (server and z-wave) - now engines work much faster. - Event panel moved - for better usability now is available in menu on right side of screen. - Pre-Update Confirmation - installing update will prompt user additional confirmation. - Added support for American English (EN-US) - User rights management - moved to Configuration. - Recovery Memory Health - can be checked on Backup & Recovery - Backups has information about compatibility with current HC version - Block scenes improvements - for device only available actions are visible, scene activation block added and logical conditions grouping using brackets. - Lua Scenes - updated tool-tips for devices. - Rest API Active Documentation - documentation and ability to test REST API requests, access at HOME_CENTER_IP/docs Plugins: - Plugins are grouped in categories: Safety, Cameras, Climate, Multimedia, Others - Plugins search - Network devices search via ARP Plugins category Safety: - Modular Alarm Plugins category Cameras: - more than 130 devices from various manufacturers Plugin category Climate: - Carrier Furance - WS Davis Vantage - Nest - plugin for well-known thermostat - Netatmo - plugin for thermostat and weather station from netatmo Plugins category Multimedia - LG Bluray - LG TV* - NC + mediabox, compatible devices: mediaBOX+ (ITI-3740SX, ADB-3740SX) and turboBOX+ (ITI-5720SX, ADB-5720SX) - XBMC Remote Control - Denon Amplifier - LG Bluray - Onkyo Amplifier - Philips Bluray - Pioneer Amplifier - Samsung TV* - Sonos - Sony Bluray - Sony TV* - Logitech Harmony - DENON HEOS 3/link - Russound X5 Controller - Nuvo Gateway/NV-P3100/NV-P3500/P100/P200 * some TV Sets firmware version may not be supported Plugins category Other - Philips Hue - Wake on LAN - Planika Fireplace Other changes, many other improvements to the system. 0
  2. Pour moi ma HCL fonctionne bien, c'est juste pas beau de voir que la RAM dans le graphique est déjà utilisé à 90 voir 98%. Sur ma HC2 c'est affiché plus ou moins juste à 33%.
  3. Alors avec "Repair from File" ça fonctionne nickel. Je viens de passer der V4.112 à V4.110. Mais ce que je ne comprends pas pourquoi les RAM sont utilisé à plus de 90% et le CPU tourne sans arrêt vers 11%. Pourtant j'ai que 2 Smoke Sensor et 1 Water Sensor et rien d'autres et elle me sert de passerelle pour ma HC2...
  4. Alors sur la HC2 un recovery revient sur le Firmware d'usine et sur la HCL il revient a parrement sur la dernière Version que il y avait déjà dessus. Mais je vais essayer ce soir de faire le Recovery sur ma HCL avec le fichier patch que je télécharge sur http://updatehcl.fibaro.com/4.110/ Oui V4.110 c'est la dernière stable et V4.112 c'est une béta.
  5. Vue que j'ai des soucis Avec la V4.112 sur ma HCL qui me sert de passerelle, j'aimerai faire un Recovery vers 4.110. J'ai fait hier le Recovery Avec reset de la puce Z-Wave, mais il me fait un Recovery vers la derniere Version 4.112. Comment faire pour revenir en V4.110 stable? Merci pour vos idées :-)
  6. Cette fois je ne clique pas... Bonne Chance aux Beta-Testeur
  7. Alors même un autre Recovery Avec un Restore d'un Backup n'a pas fonctionné. Finalement c'est le Support Fibaro qui m'a supprimé directement dans la base de données.
  8. Oui ça j'avais aussi compris :-) Mais les icones avec les "x" qui restent je ne peu pas choisir pour supprimer. Tu comprends mon problème?
  9. J'ai fait un Recovery et j'ai fait Restore d'une sauvegarde de la V4.110. Tout fonctionne a part les images des VD's. J'ai beaucoup d'icônes qui sont obsoletes que je n'arrive pas à supprimer. Comment on peut faire? Car j'ai mes VD's qui ne veulent pas afficher les icônes juste.
  10. Hello Voici ma ligne 334: if (name == nil or name == string.char(0)) then Mais je vais encore vérifier mes ID's et d'abord faire un Recovery vers 4.110 stable car la V4.111 beta me fait planter le réseau Z-Wave de temps en temps....
  11. Quand la simu elle s'arrete ça devrait éteindre tout, et quand je désactive éteindre tout et allumer ID hall. Mais ça me mets une erreur: [DEBUG] 22:48:05: Fri 03/03 Presence Simulation | v3.6.1 Starting up [DEBUG] 22:48:05: Fri 03/03 -------------------------------------------------------------------------- [DEBUG] 22:48:05: Fri 03/03 Current Unix Time: 1488577685 [DEBUG] 22:48:05: Fri 03/03 converted Original planed End_simulation_time: 00:45 to Unix Time: 1488498300) [DEBUG] 22:48:05: Fri 03/03 converted Midnight: 0:0 to Unix Time: 1488495600) [DEBUG] 22:48:05: Fri 03/03 converted Sunset: 18:20 to Unix Time: 1488561600) [DEBUG] 22:48:05: Fri 03/03 stop hour <= 12, Added 24H to End_simulation_time (End_simulation_time is ending after midnignt) [DEBUG] 22:48:05: Fri 03/03 New End_simulation_time: 1488584700 [DEBUG] 22:48:05: Fri 03/03 Calculated sleeping between each turn off: 8 min [DEBUG] 22:48:05: Fri 03/03 End_simulation_time_with_random_max_TurnOff: 1488586140 [DEBUG] 22:48:05: Fri 03/03 Reverse converted Unix Time of Sunset unix time : 1488560700 To: 18:05 [DEBUG] 22:48:05: Fri 03/03 Reverse converted Unix Time of Sunset unix time : 1488560700 To: 18:05 [DEBUG] 22:48:05: Fri 03/03 Sunset is at 18:20 + Sunset Shift of -15min = Start Time at 18:05 [DEBUG] 22:48:05: Fri 03/03 Reverse converted Unix Time of End Simulation : 1488584700 To: 00:45 [DEBUG] 22:48:05: Fri 03/03 End of Simulation: 00:45 + random of 30min [DEBUG] 22:48:05: Fri 03/03 Checking for actions every minute. [DEBUG] 22:48:05: Fri 03/03 Current Unix Time: 1488577685 [DEBUG] 22:48:05: Fri 03/03 converted Original planed End_simulation_time: 00:45 to Unix Time: 1488498300) [DEBUG] 22:48:05: Fri 03/03 converted Midnight: 0:0 to Unix Time: 1488495600) [DEBUG] 22:48:05: Fri 03/03 converted Sunset: 18:20 to Unix Time: 1488561600) [DEBUG] 22:48:05: Fri 03/03 stop hour <= 12, Added 24H to End_simulation_time (End_simulation_time is ending after midnignt) [DEBUG] 22:48:05: Fri 03/03 New End_simulation_time: 1488584700 [DEBUG] 22:48:05: Fri 03/03 Calculated sleeping between each turn off: 2 min [DEBUG] 22:48:05: Fri 03/03 End_simulation_time_with_random_max_TurnOff: 1488585060 [DEBUG] 22:48:05: Fri 03/03 Simu_presence = 0, Aborting Simulation scene [DEBUG] 22:55:40: Fri 03/03 Presence Simulation | v3.6.1 Starting up [DEBUG] 22:55:40: Fri 03/03 -------------------------------------------------------------------------- [DEBUG] 22:55:40: Fri 03/03 Current Unix Time: 1488578140 [DEBUG] 22:55:40: Fri 03/03 converted Original planed End_simulation_time: 00:45 to Unix Time: 1488498300) [DEBUG] 22:55:40: Fri 03/03 converted Midnight: 0:0 to Unix Time: 1488495600) [DEBUG] 22:55:40: Fri 03/03 converted Sunset: 18:20 to Unix Time: 1488561600) [DEBUG] 22:55:40: Fri 03/03 stop hour <= 12, Added 24H to End_simulation_time (End_simulation_time is ending after midnignt) [DEBUG] 22:55:40: Fri 03/03 New End_simulation_time: 1488584700 [DEBUG] 22:55:40: Fri 03/03 Calculated sleeping between each turn off: 8 min [DEBUG] 22:55:40: Fri 03/03 End_simulation_time_with_random_max_TurnOff: 1488586140 [DEBUG] 22:55:40: Fri 03/03 Reverse converted Unix Time of Sunset unix time : 1488560700 To: 18:05 [DEBUG] 22:55:40: Fri 03/03 Reverse converted Unix Time of Sunset unix time : 1488560700 To: 18:05 [DEBUG] 22:55:40: Fri 03/03 Sunset is at 18:20 + Sunset Shift of -15min = Start Time at 18:05 [DEBUG] 22:55:40: Fri 03/03 Reverse converted Unix Time of End Simulation : 1488584700 To: 00:45 [DEBUG] 22:55:40: Fri 03/03 End of Simulation: 00:45 + random of 30min [DEBUG] 22:55:40: Fri 03/03 Checking for actions every minute. [DEBUG] 22:55:40: Fri 03/03 Current Unix Time: 1488578140 [DEBUG] 22:55:40: Fri 03/03 converted Original planed End_simulation_time: 00:45 to Unix Time: 1488498300) [DEBUG] 22:55:40: Fri 03/03 converted Midnight: 0:0 to Unix Time: 1488495600) [DEBUG] 22:55:40: Fri 03/03 converted Sunset: 18:20 to Unix Time: 1488561600) [DEBUG] 22:55:40: Fri 03/03 stop hour <= 12, Added 24H to End_simulation_time (End_simulation_time is ending after midnignt) [DEBUG] 22:55:40: Fri 03/03 New End_simulation_time: 1488584700 [DEBUG] 22:55:40: Fri 03/03 Calculated sleeping between each turn off: 2 min [DEBUG] 22:55:40: Fri 03/03 End_simulation_time_with_random_max_TurnOff: 1488585060 [DEBUG] 22:55:40: Fri 03/03 It's sunset time -> Simulation ON [DEBUG] 22:55:40: Fri 03/03 Reverse converted Unix Time of End_simulation_time : 1488584700 To: 00:45 [DEBUG] 22:55:40: Fri 03/03 Reverse converted Unix Time of End_simulation_time_with_random_max_TurnOff : 1488585060 To: 00:51 [DEBUG] 22:55:40: Fri 03/03 Reverse converted Unix Time of End_simulation_time : 1488584700 To: 00:45 [DEBUG] 22:55:40: Fri 03/03 Reverse converted Unix Time of End_simulation_time_with_random_max_TurnOff : 1488585060 To: 00:51 [DEBUG] 22:55:40: Fri 03/03 Presence Simulation started. Will stop at: 00:45 + rand(30min) : 00:51 [DEBUG] 22:55:40: Fri 03/03 Turning On Always_On lights: [DEBUG] 22:55:40: Fri 03/03 Device: Lampe LED Turned On [DEBUG] 22:55:40: Fri 03/03 Now randomizing other lights... [DEBUG] 22:55:41: Fri 03/03 light ID:Eclairage Entrée status:1 [DEBUG] 22:55:41: Fri 03/03 Entering loop of 23.05 minutes [DEBUG] 22:55:52: Scene already active! Aborting this new instance !! [DEBUG] 22:56:02: Fri 03/03 Exiting loop of 23.05 minutes [DEBUG] 22:56:02: Fri 03/03 TurnOff All Simulation lights! [DEBUG] 22:56:02: Fri 03/03 Device: Eclairage Salon Spot Off [DEBUG] 22:56:02: Fri 03/03 Sleeping 0 minute(s) before next TurnOff [DEBUG] 22:56:02: Fri 03/03 Device: Eclairage Entrée Off [DEBUG] 22:56:02: Fri 03/03 Sleeping 0 minute(s) before next TurnOff [DEBUG] 22:56:02: line 334: attempt to concatenate local 'deviceID' (a nil value) Voici mon code: Je suis en V4.111 béta... Quelqu'un peut m'aider?
  12. Moi je n'ai pas la keyfob. Je voulais reconfigurer le maillage du réseau Z-Wave et la LED z-wave est resté allumé. J'ai arrété la HC2, couper le courant pendant env. 15sec. et je l'ai démarré normalement. Maintenant ça fonctionne. Le réseau Z-Wave répond à sa vitesse normale. J'ai vu sur le forum officiel sous 4.111 beta d'autres qui ont le même souci.
  13. Réseau Z-Wave ne répond plus...même pas après un redémarrage.....
  14. Ben moi je suis en suisse et je n'ai pas de Freebox :-) Envoyé de mon SM-G900F en utilisant Tapatalk
  15. En V4.110 ça fonctionnait bien. Maintenant je suis en béta V4.111 et j'ai une Erreur: [ERROR] 07:31:18: line 15: unexpected symbol near 'local' -> sur cette ligne: local maxRetry_Process = 20; J'utilise la Version 2.31b Que est-ce que y a changé dans V4.111?
  16. Chez moi tout baigne... Pour le moment...
  17. Je vais tenter maintenant...
  18. speedoxx007

    Jour Chômé

    Hello @pepite Oui je travaille aujourdhui... Oups, j'ai trouvé: elseif ("2015-07-08"<=today and today<"2017-08-23") then vacances=true -- Vacances d'été -> Ce serai des longues vacances d'eté....
  19. speedoxx007

    Jour Chômé

    Hello J'ai quand même un souci. Aujourd'hui et demain chez c'est jours chomé...:-( Eh ben non ou est le souci? Voici mon Code: -- Retourne OUI si le jour courant et J+1 est un jour chômé (WE ou férié) -- Adapté de http://gurau-audibert.hd.free.fr/josdblog/2014/01/lua-vacances-jours-chomes-et-jours-feries/ -- Pour la HC2 par Hansolo -- V1 26/06/2014 Initié par HANSOLO -- V2 27/06/2014 Amélioré par STEVEN, gestion des JS SUISSE et calcul J et J+1 local france = false local suisse = true local geneve = false -- Retourne le jour de la semaine en clair function josdGetJourSemaine(jour) --fibaro:debug ("jour: ") josdGetJourSemaineTab={[0]="dimanche",[1]="lundi",[2]="mardi",[3]="mercredi",[4]="jeudi",[5]="vendredi",[6]="samedi"} return josdGetJourSemaineTab[tonumber(jour)] end -- Retourne le jour de Pâques au format epoch -- annee : année (Integer) dont on désire connaître le jour de Pâques (ex : 2014) function josdGetJourPaques(annee) local a=math.floor(annee/100); local b=math.fmod(annee,100); local c=math.floor((3*(a+25))/4); local d=math.fmod((3*(a+25)),4); local e=math.floor((8*(a+11))/25); local f=math.fmod((5*a+b),19); local g=math.fmod((19*f+c-e),30); local h=math.floor((f+11*g)/319); local j=math.floor((60*(5-d)+b)/4); local k=math.fmod((60*(5-d)+b),4); local m=math.fmod((2*j-k-g+h),7); local n=math.floor((g-h+m+114)/31); local p=math.fmod((g-h+m+114),31); local jour=p+1; local mois=n; josdGetJourPaquesAnnee=annee; josdGetJourPaquesEpochPaque=os.time{year=annee,month=mois,day=jour,hour=12,min=0}; return josdGetJourPaquesEpochPaque; end -- Retourne true si le jour courant est un jour férié function josdJourFerie(time) local today=os.date("%m-%d", time); local annee=tonumber(os.date("%Y", time)); -- Dates fixes josdJourFerieTab = {} local epochPaques=josdGetJourPaques(annee); if (france) then josdJourFerieTab["01-01"] = true; -- 1er janvier josdJourFerieTab["05-01"] = true; -- Fête du travail josdJourFerieTab["05-08"] = true; -- Victoire des alliés josdJourFerieTab["07-14"] = true; -- Fête nationale josdJourFerieTab["08-15"] = true; -- Assomption josdJourFerieTab["11-01"] = true; -- Toussaint josdJourFerieTab["11-11"] = true; -- Armistice josdJourFerieTab["12-25"] = true; -- Noà«l -- Dates variables josdJourFerieTab[os.date("%m-%d",epochPaques)] = true; -- Pâques josdJourFerieTab[os.date("%m-%d",epochPaques+24*60*60)] = true; -- Lundi de Pâques = Pâques + 1 jour josdJourFerieTab[os.date("%m-%d",epochPaques+24*60*60*39)] = true; -- Ascension = Pâques + 39 jours josdJourFerieTab[os.date("%m-%d",epochPaques+24*60*60*50)] = true; -- Pentecôte = Ascension + 50 jours end if (suisse) then josdJourFerieTab["01-01"] = true; -- 1er janvier josdJourFerieTab["08-01"] = true; -- Fête national josdJourFerieTab["12-25"] = true; -- Noà«l -- Dates variables if (geneve) then josdJourFerieTab[jeuneGenevois(time)] = true; -- jeunes genevois else josdJourFerieTab[jeuneFederal(time)] = true; -- jeunes genevois end josdJourFerieTab[os.date("%m-%d", epochPaques)] = true; -- Pâques josdJourFerieTab[os.date("%m-%d", epochPaques+24*60*60)] = true; -- Lundi de Pâques = Pâques + 1 jour josdJourFerieTab[os.date("%m-%d", epochPaques+24*60*60*39)] = true; -- Ascension = Pâques + 39 jours josdJourFerieTab[os.date("%m-%d", epochPaques+24*60*60*50)] = true; -- Pentecôte = Ascension + 50 jours josdJourFerieTab[os.date("%m-%d", epochPaques-48*60*60)] = true; -- Vendredi-saint = Pâques - 2 jour end return josdJourFerieTab[today]; -- (nldr : Both nil and false make a condition false) end -- Calcul le jeudi qui suit le 1er dimanche de septembre function jeuneGenevois(time) local jour = 1 local annee = tonumber(os.date("%Y", time)) while (os.date("%A", os.time{year=annee, month=9, day=jour}) ~= "Sunday") do jour = jour + 1 end return os.date("%m-%d", os.time{year=annee, month=9, day=(jour+4)}) end -- Calcul le lundi qui suit le 3ème dimanche de septembre function jeuneFederal(time) local jour = 1 local annee = tonumber(os.date("%Y", time)) while (os.date("%A", os.time{year=annee, month=9, day=jour}) ~= "Sunday") do jour = jour + 1 end return os.date("%m-%d", os.time{year=annee, month=9, day=(jour+15)}) end -- JOURS DE VACANCES ET SCOLAIRE function josdJourVacances() local today=os.date("%Y-%m-%d") local vacances=false -- 2016 if ("2016-07-09"<=today and today<"2016-08-24") then vacances=true -- Vacances d'été -- 2016-2017 elseif ("2016-10-18"<=today and today<"2016-11-03") then vacances=true -- Toussaint Zones elseif ("2016-12-20"<=today and today<"2017-01-05") then vacances=true -- Noël elseif ("2017-02-25"<=today and today<"2017-03-05") then vacances=true -- Hiver Zone C elseif ("2017-04-08"<=today and today<"2017-04-23") then vacances=true -- Printemps Zone C elseif ("2015-07-08"<=today and today<"2017-08-23") then vacances=true -- Vacances d'été -- 2017-2018 elseif ("2017-10-14"<=today and today<"2015-10-29") then vacances=true -- Toussaint elseif ("2017-12-23"<=today and today<"2018-01-07") then vacances=true -- Noël elseif ("2018-02-10"<=today and today<"2018-02-18") then vacances=true -- Hiver Zone C elseif ("2018-03-30"<=today and today<"2018-04-15") then vacances=true -- Printemps Zone C elseif ("2018-07-07"<=today and today<"2018-08-22") then vacances=true -- Vacances d'été -- 2018-2019 elseif ("2018-10-13"<=today and today<"2018-10-28") then vacances=true -- Toussaint elseif ("2018-12-22"<=today and today<"2019-01-06") then vacances=true -- Noël elseif ("2019-03-02"<=today and today<"2019-03-10") then vacances=true -- Hiver Zone C elseif ("2019-04-13"<=today and today<"2019-04-28") then vacances=true -- Printemps Zone C elseif ("2019-07-06"<=today and today<"2019-08-28") then vacances=true -- Vacances d'été end return vacances end -- Affiche le résultat function display(jour, result, label, variable, time) selfId = fibaro:getSelfId() fibaro:debug ("Jour chomé: " .. result) -- Mise à jour de la variable globale if (variable) then fibaro:setGlobal(variable, result) end -- Mise à jour du label du module virtuel fibaro:call(selfId,"setProperty","ui."..label..".value", jour .. " " .. os.date("%d.%m.%Y ",time).." Jour chomé: ".. result) end -- Lancement du calcul function doCalculate(time, label, variable) local jour = josdGetJourSemaine(os.date("%w", time)) josdJourChomeReturn = (jour=="samedi" or jour=="dimanche" or josdJourFerie(time) or josdJourVacances()) if josdJourChomeReturn then display(jour, "OUI", label, variable, time) else display(jour, "NON", label, variable, time) end end doCalculate(os.time(), "Label1", "JourChome") doCalculate(os.time()+24*60*60, "Label2", "JourChomeJ1") Je ne voit pas ou est le problème ? Merci pour l'aide :-)
  20. speedoxx007

    Jour Chômé

    hello @pepite C'est bon. C'est Parfait.
  21. speedoxx007

    Jour Chômé

    Hello, Moi j'ai une erreur sur: local f=math.fmod((5*a+,19); Error: [ERROR] 11:57:34: line 26: unexpected symbol near ',' -- Retourne le jour de Pâques au format epoch -- annee : année (Integer) dont on désire connaître le jour de Pâques (ex : 2014) function josdGetJourPaques(annee) local a=math.floor(annee/100); local b=math.fmod(annee,100); local c=math.floor((3*(a+25))/4); local d=math.fmod((3*(a+25)),4); local e=math.floor((8*(a+11))/25); local f=math.fmod((5*a+,19); local g=math.fmod((19*f+c-e),30); local h=math.floor((f+11*g)/319); local j=math.floor((60*(5-d)+b)/4); local k=math.fmod((60*(5-d)+,4); local m=math.fmod((2*j-k-g+h),7); local n=math.floor((g-h+m+114)/31); local p=math.fmod((g-h+m+114),31); local jour=p+1; local mois=n; josdGetJourPaquesAnnee=annee; josdGetJourPaquesEpochPaque=os.time{year=annee,month=mois,day=jour,hour=12,min=0}; return josdGetJourPaquesEpochPaque; end Ou est l'erreur?
  22. speedoxx007

    Support Gea

    J'ai mis l'id du Motion et LUX --[[ %% autostart %% properties 144 value 146 value %% globals --]] Voici mon bout de code: -- Escalier -- Exctinction automatique après 3 min local extinction = GEA.add( id["ECL__ESCALIER"], 3*60,"",{{"turnOff", id["ECL__ESCALIER"]}}) -- Allumage automatique lampe sur detection -- -- local detection = GEA.add( id["MOTION_ESCALIER"], -1,"", {{"turnOn", id["ECL__ESCALIER"]}, {"RestartTask", extinction}}) local detection = GEA.add( {id["MOTION_ESCALIER"]},{"Value-", id["DETECTEUR_LUX_ESCALIER"], 260}, -1,"", {{"turnOn", id["ECL__ESCALIER"]}, {"RestartTask", extinction}}) -- Allumage manuel lampe -- GEA.add(id["ECL__ESCALIER"], -1, "", {{"StopTask", extinction}, {"StopTask", detection}}) -- Exctinction de la lampe GEA.add(id["ECL__ESCALIER"], -1, "", {{"Inverse"}, {"RestartTask", detection}}) Maintenant il me mets une erreur: "Attempt to compare with nil" sur cette ligne -> if (GEA.source["type"] == "autostart" and tonumber(entry[GEA.keys["SECONDES"]]) >= 0) then Comprends pas... Désolé
  23. speedoxx007

    Support Gea

    Merci @Sakkhho . Je vais tester. Ben ça ne fonctionne pas. La valeur lux que le module me donne on ce moment est de 30 Lux. Mais ça ne s'allume pas.
  24. speedoxx007

    Support Gea

    Gestion allumage automatique cage escalier si LUX > 260 J'ai ce code pour allumer et etindre la lumiere de la cage d'escalier avec "Motion Escalier" et le bouton "ECL_ESCALIER" -- Escalier -- Exctinction automatique après 3 min local extinction = GEA.add( id["ECL__ESCALIER"], 3*60,"",{{"turnOff", id["ECL__ESCALIER"]}}) -- Allumage automatique lampe sur detection -- local detection = GEA.add( id["MOTION_ESCALIER"], -1,"", {{"turnOn", id["ECL__ESCALIER"]}, {"RestartTask", extinction}}) -- Allumage manuel lampe -- GEA.add(id["ECL__ESCALIER"], -1, "", {{"StopTask", extinction}, {"StopTask", detection}}) -- Exctinction de la lampe GEA.add(id["ECL__ESCALIER"], -1, "", {{"Inverse"}, {"RestartTask", detection}}) J'aimerai faire que si detection avec "MOTION_ESCALIER" et seulement si la Valeur Lux > 260 "DETECTEUR_LUX_ESCALIER" que la lumiere s'allume. Je nage un peu la. Quelqu'un peut m'aider?
  25. Trouvé est ça fonctionne. Super cet outil.
×
×
  • Créer...