KmanOz / Sonoff-HomeAssistant

Firmware for ESP8266 based itead Sonoff switches for use with HomeAssistant
MIT License
351 stars 86 forks source link

Supports DNS Hostname for MQTT server? #38

Open TribuneX opened 7 years ago

TribuneX commented 7 years ago

Hi,

does your firmware also allow to specify a DNS hostname for the MQTT server instead of the IP?

skoslowski commented 7 years ago

Yes, should work. See e.g. https://github.com/knolleary/pubsubclient/blob/master/examples/mqtt_esp8266/mqtt_esp8266.ino

KmanOz commented 7 years ago

Not but I have version 2 that I have been trying to release when I get some time. That will. Hopefully this coming week.