NickLocke
11 Jul 08, 11:41 PM
First question, do I have to use logic at all for this - I might be missing something very simple!
What I am trying to do is get HomeGate to jump to a specific page when a particular event happens within the Security application. So far as I can see, that needs logic. Assuming it does.....
This works:
once (GetLightingState("Nick Study Fan") = ON) then
begin
ShowPage("Driveway");
end;
This does nothing:
once (GetCBusState("Local Network", "Security", "Front Study PIR") = ON) then
begin
ShowPage("Driveway");
end;
If I monitor C-Bus (using ToolKit), I can see messages like:
208 / 23 / Security Zone Unsealed
208 / 23 / Security Zone Sealed
056 / 200 / Group On
056 / 200 / Group Off
So, it looks as if either I have got the logic syntax wrong or HomeGate is not "seeing" the events on app 208. I'm a bit concerned about the usual confusion about zones/groups - and am a bit surpised to be seeing names for the "groups" in app 208. They can only be coming from where I (stupidly) named all the zones in ToolKit the other day.
Clues?
What I am trying to do is get HomeGate to jump to a specific page when a particular event happens within the Security application. So far as I can see, that needs logic. Assuming it does.....
This works:
once (GetLightingState("Nick Study Fan") = ON) then
begin
ShowPage("Driveway");
end;
This does nothing:
once (GetCBusState("Local Network", "Security", "Front Study PIR") = ON) then
begin
ShowPage("Driveway");
end;
If I monitor C-Bus (using ToolKit), I can see messages like:
208 / 23 / Security Zone Unsealed
208 / 23 / Security Zone Sealed
056 / 200 / Group On
056 / 200 / Group Off
So, it looks as if either I have got the logic syntax wrong or HomeGate is not "seeing" the events on app 208. I'm a bit concerned about the usual confusion about zones/groups - and am a bit surpised to be seeing names for the "groups" in app 208. They can only be coming from where I (stupidly) named all the zones in ToolKit the other day.
Clues?