-
Notifications
You must be signed in to change notification settings - Fork 2
/
_local_testall.h
36 lines (31 loc) · 2.03 KB
/
_local_testall.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
27
28
29
30
31
32
33
34
35
36
/*
* Copy this file to _local.h and edit it
* Use it for local #ifdefs, for example that override global ones in _configuration.h
* Its also a great place to list the configuration of your device e.g. defines like SENSOR_SHT85_WANT
*
* _local-template.h will be on github, but _local.h will not - so its a safer place for passwords etc.
*/
// Processor definitions - to allow for code that works across different boards
// Note that on ESP that ESP32 or ESP8266 will be defined - should define other chips names here if its not ESP32 or ESP8266
// Board and processor definitions - to allow for code that works across different boards #TO_ADD_NEW_BOARD
// Should always uncomment exactly one of these - or define your own board
// #define ESP8266_D1_MINI // Board level - define - will only support boards devs are actually using, but intended to support board specific fixes
#define LOLIN_C3_PICO // For some bug workaround in actuator_ledbuiltin.cpp
// Organization behind this set of devices. Also used for MQTT userid //TODO-51 setup process to register new ones
#define SYSTEM_DISCOVERY_ORGANIZATION "dev"
#define SYSTEM_MQTT_USER SYSTEM_DISCOVERY_ORGANIZATION // Edit if you use something other than the organization name for MQTT user
// Specify the password for your organization on the MQTT server
#define SYSTEM_MQTT_PASSWORD "public"
// Where your MQTT server is - if using naturalinnovation.org for more than some development please let us know #TODO say how !
#define SYSTEM_MQTT_SERVER "naturalinnovation.org"
// Can override automatically gnerated description for your device e.g.
//#define SYSTEM_DISCOVERY_DEVICE_DESCRIPTION "ESP8266 with SHT85 sensor"
// Now define the actual (non-default) sensors and actuators used
#define ACTUATOR_LEDBUILTIN_WANT
#define ACTUATOR_RELAY_WANT
#define CONTROL_BLINKEN_WANT
#define CONTROL_DEMO_MQTT_WANT
#ifdef ESP8266_D1_MINI // Should work on ESP8266_D1_MINI but untested, almost certainly won't work without tweaks on other boards/chips
#define SENSOR_ANALOG_WANT
#endif
#define SENSOR_SHT85_WANT