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

Netatmo CO2 scene trigger?


Question

Posted

I'm trying to trigger something with a small LUA script monitoring Netatmo's CO2 value.

 

Unfortunately the LUA script does not get triggered.

 

Even the small "test" scene does not get triggered. (see example below)

229 is the ID of the Netatmo CO2 value (plugin)

 

Anyone here who might know why?

Please login or register to see this code.







5 answers to this question

Recommended Posts

  • 0
Posted

i think your code needs to look like this:

Please login or register to see this code.

%% events is new and only applies to some devices e.g. fibaro swipe. I don't think it applies to Netatmo.

  • 0
Posted

what's the %% events doing in the header? 

 

the scene should works fine in my HC2 without the %% events

 

cheers

emiel

  • 0
  • Inquirer
  • Posted

    The percentage (%) signs and event triggers are in all my scripts and do not effect them.

     

    For some reason when the 229 value is changed by Netatmo itself the above script does not get triggered!

    • 0
    Posted

    Does it work if you put the trigger in the properties section, ie:

    Please login or register to see this code.

    • 0
  • Inquirer
  • Posted

    Thank you aleks and Dave.

     

    Please login or register to see this code.

     

    I needed to move the 229 value within the %%properties section!

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