-
Notifications
You must be signed in to change notification settings - Fork 0
/
Node_61-ESP_ECOPlug2.h
24 lines (18 loc) · 1.27 KB
/
Node_61-ESP_ECOPlug2.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
//////////Include file for Node 61-ECOPlug2////////////////////////////
////Jim 12/2016
#define VERSION "ESPGW V1.2 - EcoPlug2" // 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 61 // node ID
#define DEBUG // uncomment for debugging
#define OnAtPowerup 1 //jim - 0=off, 1=on
#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-EcoPlug1-N61" //enable OTA code upgrades --Max Chars about 20 & no _ or the port wont show!