PDA

View Full Version : LUA script at startup problem



harleydude
July 26th, 2004, 05:22 PM
I am running a LUA script when NR starts up, the script is as follows:

function OnPanelLoad()
local pn = NetRemote.GetVariable("NR.PanelName")
if (pn=="Home") then
NetRemote.ExecuteAction(-1,0,1,"LCARS_Start")
end;
end;

The script runs when NR starts, however it appears that there is 2 connection attempts to hsGirder. hsGirder is a girder emulator developed for integrating NR with HomeSeer. If I load NR and select another panel name in the script, all works fine. The only time I see a problem is if the script is run prior to or during the initial connection to hsGirder.

I know what is coming next, does it work with Girder. I do not know, my version of girder has expired. However I have been running NR with hsGirder for 2 months without any problems. Can someone with a valid copy of girder run this test and verify my problem with girder?

Any help appreciated.

Thanks HD

Ben S
July 26th, 2004, 05:46 PM
Hi HD - This was a timing bug relating to NetRemote initialization, and has been resolved.

Thanks HD!

harleydude
July 27th, 2004, 02:00 AM
Thanks for the fast response Ben.

Resolved with 1.0?

Jlee
July 27th, 2004, 02:15 AM
It will be but the problem still exists in the current build of 1.0. We are waiting for a new one. Maybe this week.

Ben S
August 1st, 2004, 04:08 AM
It's fixed, and available to the prerelease group.