I noticed that you can change the Device Values-Status/Graphics in a device now when you edit a device.
You can give it a value, Display status and Graphics file.
But how can I give it an command?
For example, I have the Marmitek LD11 dimming module.
This module supports the extended command to dim over time.
It can change from one dim value to the other in 3 seconds, 30 seconds, 1 minute or 5 minutes.
For example to dim it to 0% in 5 minutes, the command is:
&hs.ExecX10 "K10", "Extended", 192, 49
K10 is the house/unit code.
I now added those commands to a device with a script that executes with every command and is activated in my startup script with the following line:
hs.RegisterStatusChangeCB "marmitek.vb","statuscb"
but a lot of times it misses the script because there are too many commands going.
Adding these commands to a device and the possibility to save this device as an "default" device type will give your devices a big boost.
Is it possible to do something like this?
Or can HS be modified to support this?
You can give it a value, Display status and Graphics file.
But how can I give it an command?
For example, I have the Marmitek LD11 dimming module.
This module supports the extended command to dim over time.
It can change from one dim value to the other in 3 seconds, 30 seconds, 1 minute or 5 minutes.
For example to dim it to 0% in 5 minutes, the command is:
&hs.ExecX10 "K10", "Extended", 192, 49
K10 is the house/unit code.
I now added those commands to a device with a script that executes with every command and is activated in my startup script with the following line:
hs.RegisterStatusChangeCB "marmitek.vb","statuscb"
but a lot of times it misses the script because there are too many commands going.
Adding these commands to a device and the possibility to save this device as an "default" device type will give your devices a big boost.
Is it possible to do something like this?
Or can HS be modified to support this?