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

hi jgab

msg not working in new EventRunner4 v0.69 version

Have you changed the way it works?

 

 

rule("phoneID={1595}")

 

rule("et.DoorBell:isOn =>  phoneID:msg=log(‘Main DoorBell!’)”)

Link to comment
Share on other sites

@minsad

Please login or register to see this code.

Its working here on ER4 v0.69

Link to comment
Share on other sites

  • Topic Author
  • 2 hours ago, Sjakie said:

    @minsad

    Please login or register to see this code.

    Its working here on ER4 v0.69

    Yes, a <ID>:msg="Hello" is translated to 

    fibaro.alert("push",{<ID>},"Hello",false)

    and if I put my iosDevice ID it works for me.

    Link to comment
    Share on other sites

    hi jgab

    I wonder

    old version of notice

    rule("once(09:00..22:30 & kidCo2:value>1000) => phoneID:msg=log('House Co2 is over 1,000!: %s', kidCo2:value)")


    new version

    rule("once(09:00..22:30 & kidCo2:value>1000) => phoneID:msg ='House Co2 is over 1,000!: %s'; kidCo2:value")


    I want to send kidCo2:value to the notification

    can you give me an example ?

    Link to comment
    Share on other sites

  • Topic Author
  • 9 minutes ago, minsad79 said:

    hi jgab

    I wonder

    old version of notice

    rule("once(09:00..22:30 & kidCo2:value>1000) => phoneID:msg=log('House Co2 is over 1,000!: %s', kidCo2:value)")


    new version

    rule("once(09:00..22:30 & kidCo2:value>1000) => phoneID:msg ='House Co2 is over 1,000!: %s'; kidCo2:value")


    I want to send kidCo2:value to the notification

    can you give me an example ?

    it should be like old version

    rule("once(09:00..22:30 & kidCo2:value>1000) => phoneID:msg =log('House Co2 is over 1,000!: %s',kidCo2:value)")

    phoneID should be the one you find at api.get("/iosDevices") for your user

    Link to comment
    Share on other sites

    12 minutes ago, jgab said:

    it should be like old version

    rule("once(09:00..22:30 & kidCo2:value>1000) => phoneID:msg =log('House Co2 is over 1,000!: %s',kidCo2:value)")

    phoneID should be the one you find at api.get("/iosDevices") for your user

    jgab

    Noti works fine
      -----Test-------------
      rule("@@00:00:10 => phoneID:msg = 'House Co2 is over 1,000!: %s,BedCo2:value'; log('House Co2 is over 1,000!: %s', BedCo2:value)")


    [17.11.2021] [15:47:09] [ [32mDEBUG [0m] [QUICKAPP1001]: [true]>>'Rule:46[@@00:00:10 => phoneID:msg = 'Home Co2 has exceeded 1,000!: %s,BedCo2:va...]'
    [17.11.2021] [15:47:09] [ [34;1mTRACE [0m] [QUICKAPP1001]: House Co2 is over 1,000!: 450.0

      450.0 <= How to send?

     

     

     

     450.0 =< 

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

  • Topic Author
  • I don't think I understand you...

    phoneID:msg = "Hello"

    sends the string "Hello"

    log("Value is %s",45)

    logs the string "Value is 45" to the console, but also returns the string "Value is 45"

    so...

    phoneID:msg = log("Value is %s",45)

    logs the string "Value is 45" and sends the same string 

    Link to comment
    Share on other sites

  • Topic Author
  • On 10/31/2021 at 6:16 PM, ChristianSogaard said:

    Could you also make COH, so it will update from Github like EV4 :-) its a mess to upgrade because too many EV4 rules depends on the HUE device ID :-). And i found a few bugs in COH, and know it will take me hours to update ;-) when reinstalling COH

    Yes it works now with QAUpdater - but only for versions I release. However, TQAE also have a feature to copy files to the QA on HC3. This means that you can easily fix bugs in the code in TQAE and when it works “patch” the real version on the HC3 with the working code.

     

    If you have fixes for bugs I can add them  to the code and release a new version (with QAUpdater)

    Link to comment
    Share on other sites

    Jan, I have this error since new version I think

    Please login or register to see this attachment.

     

    Link to comment
    Share on other sites

    mmmh I am lost a bit

    I wanted to downgrade QA 1302 but its on fix v5 fix80???

    I thought to downgrade to see if the error is there or can I figer out what cause this error

    Now QAUpdater only give 0.7

    Unable to see/select QA 1302

     

    Please advice,

    //Sjakie

    Link to comment
    Share on other sites

  • Topic Author
  • You can't downgrade v5 versions.

    You can only downgrade v0.7 (0.70) to 0.69

     

    Link to comment
    Share on other sites

    ok

    How to downgrade from 80?

    He is not visable in QA updater

    Please login or register to see this image.

    /monthly_2021_11/image.png.7cc8bd74a2a2f4256e281fdd2a2321ed.png" />

    sorry Jan got it.

    Error was also present in fix80

    Dont know how to find the cause

    //Sjakie

    Link to comment
    Share on other sites

  • Topic Author
  • I pushed 0.72 with hopefully better error messages - and hopefully it will report your "empty" error and give us a clue.

    Link to comment
    Share on other sites

  • Topic Author
  • 6 minutes ago, Sjakie said:

    Jan, great and thanks

    Version 0.7 is still the highest.

    //Sjakie

    Forgot to push - try again.

    Link to comment
    Share on other sites

    Jan, all QA's are now on .072

    I see only errors from removed devices for my upcommimg move to another house.

    Lets see after 24 hours run what pops up.

    Thanks!

    //Sjakie

    Link to comment
    Share on other sites

    On 11/15/2021 at 1:40 PM, Sjakie said:

    Wowwww Jan now it will become more easy  for us, thanksssss!

    COH1.18 no action thats a pitty because I use this version, some quick fix?

    COH1.19 it shows in QAUpdater and if I click update it uodates the older version

    ER I dont see anymore???

     

    //Sjakie

    ER still 05 fix 79

     

    Please login or register to see this link.

    Thank you @jgab I love the updater :-) and COH as well

    Just update to newest COH.

     

    I have a small BUG in COH v1.20 and former versions.

    Its when you have more than one light in a ZONE - AND you turn off the POWER /240v to one of the lights in the ZONE.

    Then when you trying to turn off the rest of the light with COH in the ZONE, Turn OFF dont work.

    Turn ON a ZONE where one Bulb has no power/240v works fine - but turn off dont work for all if one of the bulbs in the zone has no power.

     

     

     

    Please login or register to see this attachment.

     

     

     

     

     

     

    Edited by ChristianSogaard
    P
    Link to comment
    Share on other sites

  • Topic Author
  • 1 hour ago, ChristianSogaard said:

    Thank you @jgab I love the updater :-) and COH as well

    Just update to newest COH.

     

    I have a small BUG in COH v1.20 and former versions.

    Its when you have more than one light in a ZONE - AND you turn off the POWER /240v to one of the lights in the ZONE.

    Then when you trying to turn off the rest of the light with COH in the ZONE, Turn OFF dont work.

    Turn ON a ZONE where one Bulb has no power/240v works fine - but turn off dont work for all if one of the bulbs in the zone has no power.

     

     

     

    Please login or register to see this attachment.

     

    Ok, the group/room/zone code is a bit strange and I guess there can be something there. 

    However, I'm experimenting with the v2 api and I've made a lot of progress so next version may be a v2 api.

    The api is a bit more consistent than v1 and there is a way to get events/changes resembling how we use the HC3 /refreshState which is less cpu consuming then polling the Hue Hub every second. So, I'm optimistic that v2 will be better....

    • Like 1
    Link to comment
    Share on other sites

    14 minutes ago, jgab said:

     

    Ok, the group/room/zone code is a bit strange and I guess there can be something there. 

    However, I'm experimenting with the v2 api and I've made a lot of progress so next version may be a v2 api.

    The api is a bit more consistent than v1 and there is a way to get events/changes resembling how we use the HC3 /refreshState which is less cpu consuming then polling the Hue Hub every second. So, I'm optimistic that v2 will be better....

    Ready for testing when you are :-) 

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