diff options
| author | manuel <manuel@mausz.at> | 2017-04-17 18:47:46 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2017-04-17 18:47:46 +0200 |
| commit | 8b984901f58827dc184e16f48772db3dda11ba04 (patch) | |
| tree | 263232731f024df695e82d4604e9a8be0e886093 /oliver | |
| parent | ab3f314a43a7b471e19d3a7c422c1e3bb765923d (diff) | |
| download | arduino-8b984901f58827dc184e16f48772db3dda11ba04.tar.gz arduino-8b984901f58827dc184e16f48772db3dda11ba04.tar.bz2 arduino-8b984901f58827dc184e16f48772db3dda11ba04.zip | |
oliver/lr_stripes: update MQTT server
Diffstat (limited to 'oliver')
| -rw-r--r-- | oliver/lr_stripes/lr_stripes.ino | 3 |
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 | ||
| 8 | const char* autoconf_ssid = AUTOCONF_SSID; //AP name for WiFi setup AP which your ESP will open when not able to connect to other WiFi | 8 | const char* autoconf_ssid = AUTOCONF_SSID; //AP name for WiFi setup AP which your ESP will open when not able to connect to other WiFi |
| 9 | const char* autoconf_pwd = AUTOCONF_PASSWORD; // AP password so noone else can connect to the ESP in case your router fails | 9 | const char* autoconf_pwd = AUTOCONF_PASSWORD; // AP password so noone else can connect to the ESP in case your router fails |
| 10 | const char* mqtt_server = "192.168.0.10"; //MQTT Server IP, your home MQTT server eg Mosquitto on RPi, or some public MQTT | 10 | const char* mqtt_server = "192.168.1.2"; //MQTT Server IP, your home MQTT server eg Mosquitto on RPi, or some public MQTT |
| 11 | const int mqtt_port = 1883; //MQTT Server PORT, default is 1883 but can be anything. | 11 | const int mqtt_port = 1883; //MQTT Server PORT, default is 1883 but can be anything. |
| 12 | 12 | ||
| 13 | const char* mqtt_pingall_sub = "home/pingall"; | 13 | const 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 | |||
