0
Completed

switch between Wifi and 3G for Myhome System

Nguyễn Trực 5 years ago in i2 Control V2.2 updated by Ekaterina (head of support) 5 years ago 1
I'm control to Myhome System. I create two button switch 3G and wifi . But When I use 3G control to myhome system, it's not working! the script:
function Internal_TCP()
{
IR.GetDevice("My Home").SetParameters({Host: "192.168.1.35", Port: "20000",Password: "12345"});
}
function External_TCP()
{
IR.GetDevice("My Home").SetParameters({Host: "my company DNS ", Port: "20000",Password: "12345"});
Completed
Hello!

Please add the password as a number: Host: "", Port: 20000, Password: ""