summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2017-04-17 18:47:46 +0200
committermanuel <manuel@mausz.at>2017-04-17 18:47:46 +0200
commit8b984901f58827dc184e16f48772db3dda11ba04 (patch)
tree263232731f024df695e82d4604e9a8be0e886093
parentab3f314a43a7b471e19d3a7c422c1e3bb765923d (diff)
downloadarduino-8b984901f58827dc184e16f48772db3dda11ba04.tar.gz
arduino-8b984901f58827dc184e16f48772db3dda11ba04.tar.bz2
arduino-8b984901f58827dc184e16f48772db3dda11ba04.zip
oliver/lr_stripes: update MQTT server
-rw-r--r--oliver/lr_stripes/lr_stripes.ino3
1 files changed, 1 insertions, 2 deletions
diff --git a/oliver/lr_stripes/lr_stripes.ino b/oliver/lr_stripes/lr_stripes.ino
index 11563c0..2cd63d4 100644
--- a/oliver/lr_stripes/lr_stripes.ino
+++ b/oliver/lr_stripes/lr_stripes.ino
@@ -7,7 +7,7 @@
7 7
8const char* autoconf_ssid = AUTOCONF_SSID; //AP name for WiFi setup AP which your ESP will open when not able to connect to other WiFi 8const char* autoconf_ssid = AUTOCONF_SSID; //AP name for WiFi setup AP which your ESP will open when not able to connect to other WiFi
9const char* autoconf_pwd = AUTOCONF_PASSWORD; // AP password so noone else can connect to the ESP in case your router fails 9const char* autoconf_pwd = AUTOCONF_PASSWORD; // AP password so noone else can connect to the ESP in case your router fails
10const char* mqtt_server = "192.168.0.10"; //MQTT Server IP, your home MQTT server eg Mosquitto on RPi, or some public MQTT 10const char* mqtt_server = "192.168.1.2"; //MQTT Server IP, your home MQTT server eg Mosquitto on RPi, or some public MQTT
11const int mqtt_port = 1883; //MQTT Server PORT, default is 1883 but can be anything. 11const int mqtt_port = 1883; //MQTT Server PORT, default is 1883 but can be anything.
12 12
13const char* mqtt_pingall_sub = "home/pingall"; 13const char* mqtt_pingall_sub = "home/pingall";
@@ -366,4 +366,3 @@ void fadeDimmer(struct sensor_t *sensor, uint8_t level, bool send_update)
366 client.publish(sensor->dimmer.mqtt_pub, convBuffer, true); 366 client.publish(sensor->dimmer.mqtt_pub, convBuffer, true);
367 } 367 }
368} 368}
369