0
Beantwoord
KNX JS
Yeliz Tarhan 9 jaar geleden
in iRidium Script
•
bijgewerkt door Ekaterina (head of support) 9 jaar geleden •
1
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