more G-Labs products

Author Topic: Latency in reading states  (Read 994 times)

December 11, 2015, 07:00:12 PM
Read 994 times

chrispazz

  • **
  • Information
  • Jr. Member
  • Posts: 38
Hi Gene,
I saw that if I test events during "capturing" sessions in creating wizards, my raspberry never loose a command in my network (X10 or SC9000 RF codes).

In normal use instead it always loose fastest events.
I think that during "event capture" the program code is doing fastest program loops to test events.
Is there any way to make my raspberry more responsive also in "normal life"?

Thank you

December 12, 2015, 12:01:59 AM
Reply #1

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi chrispaz,

there's no looping, everything is event based. But I think this issue is due to this change:

https://github.com/genielabs/HomeGenie/issues/237#issuecomment-157368806

after that fix all events are now firing asynchronously, so if the wizard script is busy evaluating an event, it will just loose any other event coming in the meantime. I will think of a fix for it.

Cheers,
g.

December 12, 2015, 12:37:06 AM
Reply #2

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
X10 seems to be working on my end with that fix.  I do have some instances of RF motion sensors not responding, but I think that's the same issue I've always had with them (range, quality, weather, etc) and not due to HG.

December 12, 2015, 05:46:01 PM
Reply #3

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer