When connected via IP (ISIP==1), does the serial connection (COM6) still work? I am getting feedback to HS3 via the SendToHS but nothing in the serial monitor in Arduino IDE.
Code:
/************************************************************* Arduino to Homeseer 3 Plugin API written by Enigma Theatre. V1.0.0.146 * * *************************************************************/ int FromHS[5], oldvalue[5]; boolean IsConnected = false; //************************************************************ //**************Declare your variables here******************* //**************************************************************** void HSSetup() { //************************ //Add YOUR SETUP HERE; //************************ oldvalue[0]= -1; oldvalue[1]= -1; } void HSloop() { if (oldvalue[0]!=FromHS[0]){ Serial.print("FromHS[0] = "); Serial.println(FromHS[0]); oldvalue[0]=FromHS[0]; SendToHS(1,77); } if (oldvalue[1]!=FromHS[1]){ Serial.print("FromHS[1] = "); Serial.println(FromHS[1]); oldvalue[1]=FromHS[1]; SendToHS(2,88); }
Comment