I have a script that runs in the AM to do various things, one of them to turn off specific lights. I know I can do this through the event GUI, but for organization purposes I'm doing it through vb.net scripting. Here's one of the commands I run.
hs.setDeviceValueByRef(110,0,True) 'turn off the lights
It does work. However, the light randomly turns back on a few minutes later. This happens to all of the lighting in this script. It makes no sense. I looked in the debug logs and I see the lights being turned off by the script. But then the values change a few minutes later and I cannot tell what is changing it. Any help would be appreciated.
hs.setDeviceValueByRef(110,0,True) 'turn off the lights
It does work. However, the light randomly turns back on a few minutes later. This happens to all of the lighting in this script. It makes no sense. I looked in the debug logs and I see the lights being turned off by the script. But then the values change a few minutes later and I cannot tell what is changing it. Any help would be appreciated.
Comment