Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Włączenie 2-ch Fgd-212


Thomson

Question

Witam,

pomóżcie mi proszę w jaki sposób podpiąć do sceny, którą posiadam drugie urządzenie dimmer (FGD-212)

 

Please login or register to see this code.

 

Link to comment
Share on other sites

Recommended Posts

  • 0

Hej @Thomson , dodaj po przecinku kolejny id włącznika, oraz jeśli potrzebuje tego jako wyzwalacza sceny to też

4 godziny temu, Thomson napisał:

local lightID = 132 --ID Światła

mocą światła sterujesz podstawiając odpowiednią wartość w miejsce "1"

4 godziny temu, Thomson napisał:

setPowerState( {lightID}, 1)

 

daj znać czy zadziałało.

Link to comment
Share on other sites

  • 0
  • Inquirer
  • cześć zrobiłem @domin12 jak pisałeś, dodałem po przecinku ID kolejnego światła, dodałem też wyzwalacz i włącza mi się tylko jedno światło, oczywiście to co jest przed przecinkiem :/

     

    jakieś pomysły?

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

    • 0

     

    blad 

    Please login or register to see this code.

     

    Please login or register to see this code.

    blad

    Please login or register to see this code.

    Please login or register to see this code.

    local isLightOn = getPowerState(lightID)

     

    blad

    Please login or register to see this code.

     

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Sprawdź proszę czy poprawność jest ok

     

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

    • 0

    5 min

    jestem zlym LUA debuggerem kodu :D

    blad

    Please login or register to see this code.

    powinno byс

    Please login or register to see this code.

     

    blad

    Please login or register to see this code.

     

    powinno byс

     

    setPowerState( lightID, 0)

     

     

    e pytanie:

     

    101 value

    132 value

    123 value

     

    dla czego?

     

    Please login or register to see this code.

    nie?

     

     

     

    Please login or register to see this code.

     

    Edited by 10der
    fixed some minor issues
    • Like 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Dziękuje, że poświęciłeś czas na modyfikację sceny.

    Zastosowałem ją i mam błąd

    Please login or register to see this image.

    /monthly_2018_03/image.png.fb165c4941a7462e8366bd678550f4a6.png" alt="image.png.fb165c4941a7462e8366bd678550f4a6.png" />

    Link to comment
    Share on other sites

    • 0

    fixed!

     

    powinno byс

    Please login or register to see this code.

     

    Edited by 10der
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • teraz nie wie co to luxus :/

     

    image.png.000a237e615a15eb61ec4717f8de2c6b.png

    Link to comment
    Share on other sites

    • 0

     

    Please login or register to see this code.

    Nie zapomnij zmienic wartosci w nagłowku i na poczatku scriptu

    Please login or register to see this image.

    Edited by 10der
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • super dzięki, a mogę ustawić z jaką jasnością ma być włączone?

    Link to comment
    Share on other sites

    • 0

    masz dimmer?

    Edited by 10der
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • no tak..FGD-212, tylko wartość może być włączona na 100%

    a scena mogła by np na 50% :)

    Link to comment
    Share on other sites

    • 0

     

    setPowerState(powerId, 99)

     

    setPowerState(powerId, 50)

    :)

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Bardzo Ci dziękuje.

     

    Powiedz mi proszę czy scenę mógłbym wykorzystać do dwóch czujników FGMS?

    mam długi korytarz i zastanawiam się czy gdybym dał też po przecinku kolejny czujnik ruchu czy by zadziałało?

     

     

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • w sobotę przetestuję do dwóch czujników ruchu, dziękuję Tobie bardzo za pomoc

    Link to comment
    Share on other sites

    • 0

    mozesz ustawic poziom dla rożnych por dnia

     

    Please login or register to see this code.

     

    Edited by 10der
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Cześć @10der

    wiesz znalazłem pewien niuans.

    Mianowicie jeśli mam ustawioną scenę by działała do 20, a o 21 syn włączy mi światło, to lampa już się nie wyłączy.

    Czy możemy to jakoś udoskonalić?

    Link to comment
    Share on other sites

    • 0
    1 minute ago, Thomson said:

    Cześć @10der

    wiesz znalazłem pewien niuans.

    Mianowicie jeśli mam ustawioną scenę by działała do 20, a o 21 syn włączy mi światło, to lampa już się nie wyłączy.

    Czy możemy to jakoś udoskonalić?

    witam. dziwne. bardzo dziwne. OK!

    .tak. Zrozumiałem! *syn* włączył lampę.

    przekształcić scenę w nieskończoną pętlę

     

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...