|
|
@ -70,16 +70,17 @@ |
|
|
|
/***************Ethernet ENC28J60***************/ |
|
|
|
|
|
|
|
//Mac must be unique for each sensor
|
|
|
|
byte mac[] = { 0xD3, 0x5D, 0xBE, 0xEF, 0xEE, 0x51 }; |
|
|
|
byte mac[] = { 0xD3, 0x5D, 0xBE, 0xEF, 0xEE, 0x50 }; |
|
|
|
//Static IP of Arduino
|
|
|
|
byte ip[] = { 192, 168, 1, 177 }; |
|
|
|
byte ip[] = { 192, 168, 78, 50 }; |
|
|
|
//IP of ZM Server
|
|
|
|
byte server[] = { 192, 168, 1, 178 }; |
|
|
|
byte server[] = { 192, 168, 78, 123 }; |
|
|
|
//ZM server IP to put in requests.
|
|
|
|
String host="192.168.78.123"; |
|
|
|
|
|
|
|
char* monnum = "12"; //monitor number
|
|
|
|
|
|
|
|
|
|
|
|
char* LOCATIONOFSENSOR = "Bay 4 - Tool Room"; |
|
|
|
|
|
|
|
#define ZMTRIGGERPORT 6802
|
|
|
|
#define LISTENPORT 80 // (port 80 is default for HTTP)
|
|
|
@ -104,7 +105,7 @@ String host="192.168.78.123"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
char* LOCATIONOFSENSOR = "Dispatch"; |
|
|
|
|
|
|
|
|
|
|
|
/***************Variables************/ |
|
|
|
|
|
|
@ -133,7 +134,6 @@ and the source of ZoneAVR. The text field, and show text are not setup here. |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
char* monnum = "11"; //monitor number
|
|
|
|
char* onoff = "on"; //command to send to zmtrigger.
|
|
|
|
char* timealarm = "10"; //time to set monitor to alarm
|
|
|
|
char* score = "77"; //score to assign
|
|
|
|