Aller au contenu

UKCamaroSS

Membres confirmés
  • Compteur de contenus

    3
  • Inscription

  • Dernière visite

Profile Information

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

UKCamaroSS's Achievements

Newbie

Newbie (1/14)

0

Réputation sur la communauté

  1. UKCamaroSS

    Support Gea

    Thank you very much - I have now got that to work. However, I am stuck with the following: I want to have the virtual device #41 button #6 pressed only if all 3 Global Variables match (Global Blinds Closed, Global Darkness 0, Global DemoMode No) This is what I have tried: local condition = {"If",{{"Global", "Blinds", "Closed"},{"Global", "Darkness", "0"},{"Global", "DemoMode", "No"}}} GEA.add("VirtualDevice", 41, 6, "The Rear Kitchen Blinds have been opened at sunrise", condition) I get the following error: [Debug] 18:16:18 line 245: attempt to index field '?' (a nil value) What am I doing wrong? Thank you
  2. UKCamaroSS

    Support Gea

    Hello, I am new to GEA today - I want the light to turn on at sunset, if sunset is before 7pm and secondly, I then want the light to turn off at 7:30pm. Below is what I am thinking will work -- is this correct? GEA.add (96, 60, "The Kitchen Lamp has been turned on at sunset", {{"Time", "Sunset< 19:00", "19:05"}, {"turnOn"}}) GEA.add (96, 60, "The Kitchen Lamp has been turned off", {{"Time", "19:30"}, {"turnOff"}}) I keep getting the error below? Also, if I want to have a separate light turned off 10 minutes after it has been turned on, what would the code be? Using this: GEA.add (96, 10*60, "The Kitchen Lamp has been on for more than 10 minutes", {{ "turnOff", 96}}) The lamp turns off after 10 minutes, from the start of the scene -- the 10 minutes does not start from the lamp being turned on -- how do I add something like the LUA code: if (( tonumber(fibaro:getValue(96, "value")) > 0 )) then? Thank you,
  3. Hello, New user here, hoping to understand particularly GEA, to help my system work better! Thanks
×
×
  • Créer...