HomeGenie Forum

General Category => General Discussion => Topic started by: chrispazz on December 11, 2015, 07:00:12 PM

Title: Latency in reading states
Post by: chrispazz on December 11, 2015, 07:00:12 PM
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
Title: Re: Latency in reading states
Post by: Gene on December 12, 2015, 12:01:59 AM
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.
Title: Re: Latency in reading states
Post by: bkenobi on December 12, 2015, 12:37:06 AM
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.
Title: Re: Latency in reading states
Post by: Gene on December 12, 2015, 05:46:01 PM
Hi chrispaz,

please read this:

http://www.homegenie.it/forum/index.php?topic=129.msg8131#msg8131 (http://www.homegenie.it/forum/index.php?topic=129.msg8131#msg8131)

Cheers,
g.