0
Answered

Set by JS a Command parameter in HDL device

Joseanio Galdino 6 years ago updated by Vladimir Ovchinnikov (expert) 6 years ago 1 1 duplicate

Hi all,


I want to change programaticaly (by JS)  the UVNumber of a command  of a HDL device  to send a UV Switch command ,  but I do not found docs  about how to do this.


Explain - I have a  HDL device named   HVAC1,   with a command named   IRChannel  and   the  UVNumber = 0

I want  to change by JS   the UVNumber   to  any number from 1 to 240  and   send  the UV Switch comand to fisical device to send a IR command  .


Something like this 


IR.GetDevice("HVAC1").SetParameter(UVNumber = 51) ;


IR.GetDevice("HDL-BUS").Set("HVAC1:IRChannel 51",255);


Someone could help me ?


Thanks  in advance




Duplicates 1
Answered

Hello.

Using Javascript to change the command parameters is impossible. Customize commands using the editor iRidium Studio.