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

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

    Jan no idea where to fix. Have a few in different QA's

    Please login or register to see this code.

     

    no rule src printed with the error message?

  • Topic Author
  • Posted
    6 minutes ago, jgab said:

    no rule src printed with the error message?

    v0.1.23 should log the offending rule src.

    Posted

    Jan first time I see this rule disabled?

    Please login or register to see this code.

     

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

    Jan first time I see this rule disabled?

    Please login or register to see this code.

     


    This rule looks ok - I tested it myself. No disabling of the rule. Are you sure it's this rule?

    The error should be on the line above...

    Please login or register to see this code.

    • Like 1
    Posted

    Yep that is the rule. There is only one rule with @{05

    I can't scroll back because I restarted HC3

     

    What is the alternative for "once(.....)"

    Give also error(s)

  • Topic Author
  • Posted (edited)
    6 minutes ago, Sjakie said:

    Yep that is the rule. There is only one rule with @{05

    I can't scroll back because I restarted HC3

     

    What is the alternative for "once(.....)"

    Give also error(s)


    once would work as previous. How does your once rule look like?

    Edited by jgab
  • Topic Author
  • Posted

    Ok, there was a bug introduced in once. Fixed in 0.1.25

    Posted

    Jan I deleted "once" or replaced with truFor

    sorry I can't show because I am still correcting error's where they come from .....

    Please login or register to see this code.

     

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

    Jan I deleted "once" or replaced with truFor

    sorry I can't show because I am still correcting error's where they come from .....

    Please login or register to see this code.

     

    post bug fixed in v0.1.26

    Posted

    will try.

    Excellent error discovering!!!

    Is it possible to mention with device is having  a nil value???

    Please login or register to see this code.

     

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

    will try.

    Excellent error discovering!!!

    Is it possible to mention with device is having  a nil value???

    Please login or register to see this code.

     

    Don't you get the source and a marker on the line below?
    If I run
    rule("a = nil; return a:value") 
    I get

    Please login or register to see this code.

    If possible, I write the source line and a  '^' under the problematic part.

    Posted (edited)

    Please login or register to see this code.

     

    Is it possible to detect in HC3 if light is switched on with Hue app???

    Edited by Sjakie
    Heu app
  • Topic Author
  • Posted
    49 minutes ago, Sjakie said:

    Please login or register to see this code.

     

    Is it possible to detect in HC3 if light is switched on with Hue app???

     

    It was the comment --fibaro...
    that crashed. Added -- comments in v0.1.28.

    Let me think about the Hue app. You mean turned on from the app instead of from a rule?

    Posted

    Jan, mostly HC3 is switching the lights, I want to catch the rare occasions when light with Hue app will be switched on/off.

    It will also minimize my debug. lamp:isOn => debug lamp is on. It will give a lot of lines if lamp will dim.

    Thanks for your cooperation.

     

    If I restart HC3 no error(s)

    So now I must see if all component has been used if some error will occur.

    Thanks for your speedy replies and solutions.

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

    Jan, mostly HC3 is switching the lights, I want to catch the rare occasions when light with Hue app will be switched on/off.

    It will also minimize my debug. lamp:isOn => debug lamp is on. It will give a lot of lines if lamp will dim.

    Thanks for your cooperation.

     

    If I restart HC3 no error(s)

    So now I must see if all component has been used if some error will occur.

    Thanks for your speedy replies and solutions.

    Well, thank you! When ER7 can run your rules it can run anything :-) 

  • Topic Author
  • Posted (edited)
    1 hour ago, Sjakie said:

    Jan, mostly HC3 is switching the lights, I want to catch the rare occasions when light with Hue app will be switched on/off.

    It will also minimize my debug. lamp:isOn => debug lamp is on. It will give a lot of lines if lamp will dim.

    Thanks for your cooperation.

     

    If I restart HC3 no error(s)

    So now I must see if all component has been used if some error will occur.

    Thanks for your speedy replies and solutions.

    There is the :manual property that is negative if the script change the state of the device and >= 0 if it was not the script.
    So if another QA or the Hue app changes the state, it's >= 0, if ER7 changes the script it's <0
    Ex.

    Please login or register to see this code.

    The value returned by :manual is the seconds since last changed externally or by ER (but for ER a negative value)
    It only works for commands that becomes a fibaro.call with action  turnOff, turnOn, on, toggle, off, and setValue, and changes the value property of a device.

    Edited by jgab
    Posted
    On 5/27/2026 at 3:01 PM, jgab said:

    'restart' is a reserved keyword now, and can't be used as the name of a event or variable. ER7 will give a better error message now that the word is reserved.
    There was a bug in all the arm functions, fixed.

    v0.1.17 uploaded.


    I have this rules in ER7 v0.1.27

    Please login or register to see this code.

    and I am getting this error:

     

    Please login or register to see this code.

    Does this mean that I can no longer restart the QA for nextDST?

  • Topic Author
  • Posted
    10 minutes ago, KaWi said:


    I have this rules in ER7 v0.1.27

    Please login or register to see this code.

    and I am getting this error:

     

    Please login or register to see this code.

    Does this mean that I can no longer restart the QA for nextDST?

    Well, you have to write plugin['restart']()
    ...which is inconvenient. I have renamed the keyword 'restart' to 'single' in v0.1.29, so you are free to use 'restart' as an identifier, and plugin.restart()

    • Thanks 1
    Posted

    Jan, about the restart it's for summer/winter time or did you implement it in ER7?

     

    The external Hue is excellent but perhaps a challenge?

    Please login or register to see this code.

    Zithoek_Verlichting  & Licht_Show  are zones.

    In this example I switch Studio what is a room 

    Can you separate it or is Hue giving the same signal out?

    Posted

    Please login or register to see this code.

     

    Please login or register to see this code.

    Is wday('last') no longer available?

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