Added ota hostname

This commit is contained in:
Nis Wechselberg 2017-09-26 00:11:17 +02:00
parent b32b5dbdee
commit 001219c80e
11 changed files with 329 additions and 16 deletions

View file

@ -2,14 +2,21 @@
const char* ssid = "http://kiel.freifunk.net/";
const char* password = "";
// OTA Hostname
const char* ota_hostname = "RGBControl";
// MQTT Broker
const char* mqtt_server = "broker.mqtt-dashboard.com";
// Device identification
const char* mqtt_device = "esp8266client"
const char* mqtt_device = "esp8266RGBControl"
// MQTT topics
const char* mqtt_topic_power = "esp8266client/power";
const char* mqtt_topic_color = "esp8266client/color";
const char* mqtt_topic_breathe = "esp8266client/breathe";
const char* mqtt_topic_cycle = "esp8266client/cycle";
const char* mqtt_topic_power = "RGBControl/power";
const char* mqtt_topic_powerState = "RGBControl/powerState";
const char* mqtt_topic_color = "RGBControl/color";
const char* mqtt_topic_colorState = "RGBControl/colorState";
const char* mqtt_topic_breathe = "RGBControl/breathe";
const char* mqtt_topic_breatheState = "RGBControl/breatheState";
const char* mqtt_topic_cycle = "RGBControl/cycle";
const char* mqtt_topic_cycleState = "RGBControl/cycleState";