Create a push button to change profile with arduino

Joined
Feb 26, 2016
Messages
23
Reaction score
0
Hello i like to create a buton to change profile with arduino

in the IOT interface box the code below is used to triger a camera, unfortunltly still have pb to make it work

Does someone know the code to change profile thank you
any other sulution is welcome with no aplication, thank you


void triggerBI(){ // sending the trigger to Blue Iris web-server
EthernetClient client;
if (client.connect(BIserver, 80))
{
client.print( "GET /admin?camera=");
client.print(stringOne);
client.print( "&trigger&user=");
client.print( user);
client.print( "&pw=");
client.print( pass);
client.println( " HTTP/1.1");
client.print( "Host: " );
client.println(BIserver);
client.println( "Connection: close" );
client.println();
client.println();
client.stop();
}
}
 
Top