Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

hostnames with spaces can stop HA discovery #384

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Arduino/McLighting/definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define BUILTIN_LED 2 // ESP-12F has the built in LED on GPIO2, see https://github.com/esp8266/Arduino/issues/2192
#define BUTTON 4 // Input pin (4 / D2) for switching the LED strip on / off, connect this PIN to ground to trigger button.

#define HOSTNAME "McLighting01" // Friedly hostname
#define HOSTNAME "McLighting01" // Friedly hostname. Hostname should not contain spaces as this will break Home Assistant discovery if used

#define HTTP_OTA // If defined, enable ESP8266HTTPUpdateServer OTA code.
//#define ENABLE_OTA // If defined, enable Arduino OTA code.
Expand Down