-
Notifications
You must be signed in to change notification settings - Fork 0
/
Node_65-ESP_ECOPlugOD1.h
26 lines (20 loc) · 1.38 KB
/
Node_65-ESP_ECOPlugOD1.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//////////Include file for Node 65-ECOPlugOD1////////////////////////////
////Jim 4/2016
//Outdoor Model
#define VERSION "EPSGW V1.2 - EcoPlugOD1" // this value can be queried as device 3
#define wifi_ssid_A "YOURFIRSTACCESSPOINTNAME" // wifi station name
#define wifi_password_A "YOURwifiPASSWORD" // wifi password
#define wifi_ssid_B "YOURsecondACCESSPOINTNAME" // fallback wifi station name; if not present use same as A
#define wifi_password_B "YOURwifiPASSWORD" // fallback wifi password; if not present use same as A
#define mqtt_server "10.1.1.15" // mqtt server IP
#define nodeId 65 // node ID
#define DEBUG // uncomment for debugging
#define OnAtPowerup 0 //jim - 0=off, 1=on
#define RETAINMSG 0 //jim comment to make non retained. 1=retained, 0=no
#define RETAINMSG 0 //jim comment to make non retained. 1=retained, 0=no
#define STAONLY //to turn off the built in AP
#define ACT1 15 // Actuator pin (LED or relay to ground)
#define MQCON 2 // MQTT link indicator
#define BTN 13 // Button pin (also used for Flash setting)
#define OTAenable //enable OTA code upgrades
#define OTAname "ESP8266-EcoPlugOD1-N65" //enable OTA code upgrades --Max Chars about 20 & no _ or the port wont show!