Hostname and MQTT-Sysname differs

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Micha_he
Normal user
Posts: 372
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Hostname and MQTT-Sysname differs

#1 Post by Micha_he » 23 Sep 2020, 10:11

If I enable 'Append Unit Number to hostname' in newer ESPEasy versions, the MQTT-sysname differs from the DNS-hostname.
DNS is 'NAME-NUMBER' and MQTT is 'NAME_NUMBER' !

Is that wanted and will it stay that way in newer versions?

TD-er
Core team member
Posts: 8754
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Hostname and MQTT-Sysname differs

#2 Post by TD-er » 23 Sep 2020, 10:15

To answer the last 2 questions.
No and no :)

I did move all calls to generate a hostname into the same function call, but that does give lots of strange side effects, like you're now experiencing.

So that's enough to change it (soon) to some way of having a checkbox almost everywhere where a hostname is generated to allow very specific choices to decide where to append the unit name.

Post Reply

Who is online

Users browsing this forum: No registered users and 96 guests