0
Answered
KNX JS
Hello,
How can I change the value of the KNX ? (JS,if else)
Examples, IR.GetDevice("KNX IP Router").Set(1,"koltukustu"); --------- doesnt work.
if (IR.GetDevice("KNX IP Router").Set(1,"koltukustu"))
{
IR.Exit; ------------------doesnt work
}
help me,please.. Thanks.
How can I change the value of the KNX ? (JS,if else)
Examples, IR.GetDevice("KNX IP Router").Set(1,"koltukustu"); --------- doesnt work.
if (IR.GetDevice("KNX IP Router").Set(1,"koltukustu"))
{
IR.Exit; ------------------doesnt work
}
help me,please.. Thanks.
Customer support service by UserEcho
It's a command, you cannot use it as a condition. Please see the description of Set instruction.
IR.GetDevice(<driver>).Set(<command name>, <value>);
for example