Set hostname

This commit is contained in:
GHOSCHT 2022-04-10 18:21:11 +02:00
parent 3fd486659e
commit 1a5cade5ab
No known key found for this signature in database
GPG key ID: A35BD466B8871994

View file

@ -44,6 +44,7 @@ void registerTasks()
void connectWifi(int timeout)
{
int secondsPassed = 0;
WiFi.setHostname("Heliox Control");
WiFi.begin(WIFI_SSID, WIFI_PW);
Serial.print("Connecting to WiFi");
while (WiFi.status() != WL_CONNECTED)