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

Get value off alarm


juulspind

Question

Hello

 

I'm trying to learn simple LUA code, just bought my HC3, but I cannot get the value from my alarm?

I've tried this;

 

Please login or register to see this code.

 

but when I print 'alarm' in console is says the value I nil.

Can anybody tell me what to do?

 

Thanks

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
35 minutes ago, juulspind said:

Hello

 

I'm trying to learn simple LUA code, just bought my HC3, but I cannot get the value from my alarm?

I've tried this;

 

Please login or register to see this code.

 

but when I print 'alarm' in console is says the value I nil.

Can anybody tell me what to do?

 

Thanks

You have a different alarm model on the HC3. Devices belongs to alarm zones, and you arm/disarm alarm zones. On the HC2 you armed/disarmed devices directly.

Link to comment
Share on other sites

  • 0

I posted in November some Lua functions to deal with alarms own the HC3

 

 

Link to comment
Share on other sites

  • 0

Jan,

I know this is not ER4 but the APP, I hope your expertise can support to solve me issue?

the APP shows sometimes not if my complex is armed>>>I noticed Fibaro about this.

I have no clue when sometimes is. As bypass I have a door who is armed giving me a Telegram msg so I am no complete blind about the status.

If I use API>>

Please login or register to see this code.

It shows in the APP partition1 >>armed but it will not color green the main slider.

Do you have an idea how to turn this slider into green??

//Sjakie

 

Link to comment
Share on other sites

  • 0
On 5/3/2021 at 12:55 PM, Sjakie said:

Jan,

I know this is not ER4 but the APP, I hope your expertise can support to solve me issue?

the APP shows sometimes not if my complex is armed>>>I noticed Fibaro about this.

I have no clue when sometimes is. As bypass I have a door who is armed giving me a Telegram msg so I am no complete blind about the status.

If I use API>>

Please login or register to see this code.

It shows in the APP partition1 >>armed but it will not color green the main slider.

Do you have an idea how to turn this slider into green??

//Sjakie

 

Sorry, I have no idea.

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