Skip to content

Commit

Permalink
Add default config file
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiet480 committed Mar 6, 2017
1 parent 92a3ae4 commit 6a45687
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
config.h
36 changes: 36 additions & 0 deletions config.example.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Uncomment the #defines that make sense for your model.
// Arilux LC08 is RGBWW
// #define RGBWW
// Arilux LC02 and LC04 are RGBW
#define RGBW
// Arilux LC03 and LC09 is RGB only
// #define RGB

// All devices except LC09 support IR
#define IR_REMOTE

// Arilux LC09 is only confirmed device that has RF remote support
// #define RF_REMOTE

// TLS support, make sure to edit the fingerprint and the MQTT broker IP address if
// you are not using CloudMQTT
//#define TLS

// Enable console output via telnet
#define DEBUG_TELNET

// Wifi
#define WIFI_SSID ""
#define WIFI_PASSWORD ""

// MQTT. Leave username/password blank if none
#define MQTT_SERVER "m21.cloudmqtt.com"
#define MQTT_PORT 12345
#define MQTT_USER "user"
#define MQTT_PASS "pass"

#ifdef TLS
// SHA1 fingerprint of the certificate
// openssl x509 -fingerprint -in <certificate>.crt
const char* fingerprint = "A5 02 FF 13 99 9F 8B 39 8E F1 83 4F 11 23 65 0B 32 36 FC 07";
#endif

0 comments on commit 6a45687

Please sign in to comment.