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

Programmatically altering the polling interval


gfoden@bit.org.uk
 Share

Question

I have a device, a burglar alarm that has a Zwave interface but needs to be polled because I am unable to instruct it to post status on change. 

 

My system has about 32 devices all Fibaro apart from the alarm so the Zwave radio load is high. I understand this and will perhaps post some further information and research I have done on this. Needless to say a system of this size is at the practical limit, if anything in the system plays up - as they do from time to time. (As systems like this get to higher utilisation queueing theory breaks down and it becomes necessary to wait for everyone else to finish and of course the delay in getting results triggers retries. Furthermore systems like this display Hysteresis in that once they get in this state they have to get to a very low state of utilisation before the system drops out of the finite queue morass.  My Zwave sniffer was showing around 2 to 3 messages per second whereas  zwave monitor @cag014was showing 1 message every 6 seconds. (This is still a great starting point to clean up your network.)

 

Anyway I need to have polling on the alarm status. Normally I don't care about the alarm state and an update of once every 15 minutes is fine. (This allows the system to determine if we are just temporarily away or away over two nights or more, which info it uses to put the heating to standby.) However, I have a virtual device that reports alarm status and allows me to set, reset or cancel the alarm. This virtual device is used on my phone and I would like to have confirmation of the changes I command, back from the alarm. To do this I would like to change the polling interval to say 10 seconds until I get status back then I can reset it to 15 minutes.

 

The device parameter is "polling Interval" and can be displayed using the FIBARO System API. However my object programming capability is nil! (I'm very old) I don't know if HC2 will let you play with this parameter and I certainly don't know how to code it in LUA. Do I have to use json whatever that is? Could some kind soul please give me a clue to the actual LUA statement I need to read the parameter and set it in a scene or Virtual Device.

 

Many thanks in advance to anyone who can help. 

 

Geoff

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.

 Share

×
×
  • Create New...