Skip to content

Commit c52d098

Browse files
committed
Reduce hostname to 31 chars
Details at #170. Likely also fixes #165, #167, #168
1 parent 87ed9b7 commit c52d098

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

settings.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
// Setup
2929
String WIFI_SSID = "yourssid";
3030
String WIFI_PASS = "yourpassw0rd";
31-
#define WIFI_HOSTNAME "ThingPulse-weather-station-color"
31+
// Limited to 31 chars
32+
#define WIFI_HOSTNAME "ThingPulse-weatherstation-color"
3233

3334
const int UPDATE_INTERVAL_SECS = 10 * 60; // Update every 10 minutes
3435
const int SLEEP_INTERVAL_SECS = 0; // Going to sleep after idle times, set 0 for insomnia

0 commit comments

Comments
 (0)