0
Set HDL device parameter from iRidium Script
Set relay chanel HDL module state - how it realise? Give some example please.
Customer support service by UserEcho
Set relay chanel HDL module state - how it realise? Give some example please.
Customer support service by UserEcho
*Server side*
var device = IR.GetDevice("NAME OF HDL BUS");
var target_relay1 = "NAME OF RELAY/DIMMER:NAME OF Load1";
var target_relay2 = "NAME OF RELAY/DIMMER:NAME OF Load2";
var target_relay3 = "NAME OF RELAY/DIMMER:NAME OF Load3";
*Set on*
device.Set( target_relay1, 100);
*Set off*
device.Set( target_relay1, 0);
Thanks! It work.
Question for developers: why not use for this SetVariable()?
Tthat would be standard and intuitive.