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


Recommended Posts

Posted

Jan sorry but I don't get it working.

As mentioned I have a QA named HomeTable  and the info is stored in a Global Variable >> is working in ER 5 with:

Please login or register to see this code.

 

 

 

  • Topic Author
  • Posted
    Just now, Sjakie said:

    Jan sorry but I don't get it working.

    As mentioned I have a QA named HomeTable  and the info is stored in a Global Variable >> is working in ER 5 with:

    Please login or register to see this code.

     

    If it works with the code you show there, you must have read in the table into a lua variable named 'HT'.
    Ex. 
    local HT = json.decode((fibaro.getGlobalVariable(<name of your HT GV>)))
    So, somewhere in your ER5 code you have something like that?
    Then you loop over that variable and put it in er.variables (or just 'var' if you did, local var = er.variables)
    for k,v in pairs(HT) do var[k]=v end
    That's it. NO er.defvars or er.reverseMapDef....

    Posted

    Thanks for HT!

    No support for HUE dimmer?

    [QUICKAPP503]: rule.lua:320: Unknown property in getprop trigger: key

  • Topic Author
  • Posted
    1 minute ago, Sjakie said:

    Thanks for HT!

    No support for HUE dimmer?

    [QUICKAPP503]: rule.lua:320: Unknown property in getprop trigger: key

    You have to show me the rule. Hue is a separate QA these days...

    Posted

    Please login or register to see this code.

     

  • Topic Author
  • Posted
    2 minutes ago, Sjakie said:

    Please login or register to see this code.

     

    The :key property is not implemented - should be - I 'll add it to my todo list.

    Posted (edited)

    Jn can this cause error in handling?

    Please login or register to see this code.

    same error in handling and not implemented putprop

    Please login or register to see this code.

     

    Edited by Sjakie
    add put prop
  • Topic Author
  • Posted

    The ||>> looks different in ER6. See ch. on upgrading ER5 -> ER6.
    The log don't support the #color tag.

  • Topic Author
  • Posted

    Installation tips

     

    There is a ERUpdater.fqa QA that can be installed. It allows to upgrade/downgrade EeventRunner 6, and install new copies of EventRunner6.

    The QA shows available versions and installed EventRunner 6 on the HC3.
    Select version and which installed EventRunner 6 you want to upgrade and click "Upgrade"
    Select version and click "Install" if you want to install a new version.
    Button "Refresh" updates the dropdown menus.
     

    It will download the version from my GitHub and update/replace the files:

    Please login or register to see this code.

    It will leave all other files untouched, including 'main'

    • Like 1
    Posted

    Please login or register to see this code.

    rule.lua:9: bad argument #2 to 'format' (number has no integer representation)

    Posted

    Jan can I get back color in debug?

    Please login or register to see this code.

     

    Please login or register to see this attachment.

    Posted

    Jan,

    I saw some newer versions.

    I uploaded the 2 ER6 QA's from yesterday.

    If I want to update the Updater does't find them perhaps due to the renaming I did?

    ER6-.......
     

  • Topic Author
  • Posted

    You can rename them. The updater have other means to find them.
    I think it's the drop down menu that doesn't update correctly (always a bit buggy). It usually helps if you reload the browser page.

    Posted (edited)

    Please login or register to see this code.

    Error table is nil

    Please login or register to see this code.

    Error

     rule.lua:112: bad argument #2 to 'date' (number has no integer representation)

    Please login or register to see this code.

     

    Edited by Sjakie
    add error
  • Topic Author
  • Posted
    29 minutes ago, Sjakie said:

    Please login or register to see this code.

    Error table is nil

    Please login or register to see this code.

    Error

     rule.lua:112: bad argument #2 to 'date' (number has no integer representation)

    Please login or register to see this code.

     

    You must tell me what version you are running

    Posted

    You can rename them. The updater have other means to find them.
    I think it's the drop down menu that doesn't update correctly (always a bit buggy). It usually helps if you reload the browser page.

     

    2 ER-6 Visuable

    1 ER- 6 not visable

    Refreshed browser >> nada

    Switched from Safari >> Google chrome >> nada

     

    You must tell me what version you are running

    latest version 0.0.14

    Posted
    18 hours ago, jgab said:

    The :key property is not implemented - should be - I 'll add it to my todo list.

    @jgab

    The key property is a really needed one. This is one of the reasons i use almost everywhere ER5. Customers installtions where they have 30-40 pcs od 5-6 buttoned wall switches, plus remote controllers to most of them, it is an absolute disaster doing it in some block scenes or other LUA way. Thanks for adding it to ER6

    Posted

    @Neo Andersson, its on the list see some remark before

    Posted
    3 minutes ago, Sjakie said:

    @Neo Andersson, its on the list see some remark before

    Yeah i saw it, i just wanted to thank to JGAB for adding it

    Posted (edited)

    Jan, must I give you also those error in handling?

    I have a lot of them

    3 QA's with ER6 running with errors --[[blocked]]

    >> will wait till the known issues are solved to continue

    Edited by Sjakie
    blocked

    Join the conversation

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

    Guest
    Reply to this topic...

    ×   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...