Im having trouble using hs.sendIR in vb for the square connect.
I set up the unit to learn some IR commands for a bedroom table fan. I cant seem to get the vb syntax right for sending a power toggle IR command.
zone= BEDROOM FAN
signal/key=bedroom fanower toggle
This is what Homeseer does when I use events send IR:
[BEDROOM FAN]Bedroom_Fan,Power_Toggle
But hs.sendIR ([BEDROOM FAN]Bedroom_Fan,Power_Toggle) throws an error
Ive tried several different combinations, with no luck
edit:
got it (forgot to add the quotes):
hs.sendIR ("[BEDROOM FAN]Bedroom_Fan,Power_Toggle")
I set up the unit to learn some IR commands for a bedroom table fan. I cant seem to get the vb syntax right for sending a power toggle IR command.
zone= BEDROOM FAN
signal/key=bedroom fanower toggle
This is what Homeseer does when I use events send IR:
[BEDROOM FAN]Bedroom_Fan,Power_Toggle
But hs.sendIR ([BEDROOM FAN]Bedroom_Fan,Power_Toggle) throws an error
Ive tried several different combinations, with no luck
edit:
got it (forgot to add the quotes):
hs.sendIR ("[BEDROOM FAN]Bedroom_Fan,Power_Toggle")