Hello, I have a Aeotec Smart Strip. I am having trouble configuring an individual receptacle (Instance) to turn on or off in the Scheduler using the cron event wizard.
If I enter: $$.boundModules.off(); , all receptacles on the strip turn OFF.
If I enter: $$.boundModules.on(); , all receptacles on the strip turn ON.
How do I configure it to turn off the first receptacle (Instance 1)?
More info: If I enter the widget settings, Setup, and scroll down to Multi Instance Channel, I can manually individually turn on and off each receptacle (Instance).
Also tried:$$.boundModules.Command(‘MultiInstance.Set/Switch.Binary/1’).Set(0); The light plugged into the first receptacle (Instance 1) did not turn off.
Well, @Dave, the command definitely should look like $$.boundModules.Command('MultiInstance.Set/Switch.Binary/1').Set(0);
but maybe I was wrong about the numbering of instances and they start from 0.
So for the first instance it may be this: $$.boundModules.Command('MultiInstance.Set/Switch.Binary/0').Set(0);
Also, if you have time, please give it a try and check this commands with different sockets in Smart Strip. For example, if you have a number of table lamps you can plug them in simultaneously and then check which one will turn off.
Thanks, I’ll give that a shot. I know when I go to the widget settings, Setup, and scroll down to Multi Instance Channel, I can turn the first socket on and off with instance 1, and the second socket with instance 2. To set it on, would it be 1 or 255?
I do have another issue I have to fix first. I set the password, and it has crashed HomeGenie, The web interface page wont display.
Hmm, it’s quite strange.
I checked the code of Setup window and it emits the same command I told you the first time (with instance Id = 0).
Are you sure that you have correctly configured a schedule item and bound devices to it?
I’ll try to find is there any logs related to starting schedules and emitting commands to devices.
Well, it’s good that scheduler works, but, unfortunately, I don’t have any multi-instance device to test it on my on.
About turning instance on: use value 255.
Could you please make some experiments as I offered earlier and write results here?
P.S. According to the documentation, this device should work with following commands:
Basic set 0x00/0xff
Switch Binary set 0x00/0xff
Scene Activation set 0x00/0xff
So, it has to respond to the Switch.Binary command…