Hello,
I'm new to homeseer and trying to figure out CAPI control. I have the tenholder app which is wonderful, but I would like to understand what the code is sending. For instance,
hs.CAPIControlHandler(hs.CAPIGetSingleControl(704,True,"on", False,False))
704 - device reference id
True - ?
On - command string
False - ?
False - ?
Can I send values to a device instead of strings? Ex: 69 instead of dim 69%
Thanks,
Jon
I'm new to homeseer and trying to figure out CAPI control. I have the tenholder app which is wonderful, but I would like to understand what the code is sending. For instance,
hs.CAPIControlHandler(hs.CAPIGetSingleControl(704,True,"on", False,False))
704 - device reference id
True - ?
On - command string
False - ?
False - ?
Can I send values to a device instead of strings? Ex: 69 instead of dim 69%
Thanks,
Jon
Comment