I've been working a bunch with the HAI SDK over the past couple years. Just getting back to modifying a bunch of stuff in my app and have run into a problem with setting the scene on a specific room.
In C# the command is:
HAC.SendCommand(enuUnitCommand.SceneSet, 0, 9);
The second argument (byte Par), which is set to 0, should be the scene number. At least, that's what I'm guessing. Or it needs to be some other number I can't seem to figure out. I figured it might be 2-5 for A-D, since the unit.Status comes back as 2-5 for those scene settings. But no matter what value I send, the scene does not change.
9, the third argument, is Room #2, which is unit #9.
Any idea what the second argument needs to be set to in order to set a specific scene?
In C# the command is:
HAC.SendCommand(enuUnitCommand.SceneSet, 0, 9);
The second argument (byte Par), which is set to 0, should be the scene number. At least, that's what I'm guessing. Or it needs to be some other number I can't seem to figure out. I figured it might be 2-5 for A-D, since the unit.Status comes back as 2-5 for those scene settings. But no matter what value I send, the scene does not change.
9, the third argument, is Room #2, which is unit #9.
Any idea what the second argument needs to be set to in order to set a specific scene?