Replies: 1 comment
-
Reluctant +1 to "let's fix this?" maybe I do believe when these ESP break or are flashing, they are ESP_XXXXX |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PROBLEM DESCRIPTION
On a newly flashed tasmota device the default hostname "%s-%04d" which translates to tasmota_xxxxxx-yyyy
This contains an underscore which turns out to not be valid character in a hostname. Resulting in being unable to do a dns lookup for the device in windows 10 and Debian.
Whilst this issue is trivial to fix by changing the configuration, it will cause frustration to novice users and seriously frustrates efforts to automate management of a large fleet of devices.
Suggested Fix
Change the underscore to a hyphen in the default mqtt topic (from: tasmota_%06X to: tasmota-%06X)
Also ensure that the default SSID when the device is in AP mode continues to match the hostname (current behaviour) as this makes automated configuration/management of new devices really easy.
Note to new users of tasmota:
%s in the hostname is the mqtt topic
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Read the Contributing Guide and Policy and the Code of Conduct
Searched the problem in issues
Searched the problem in discussions
Searched the problem in the docs
Searched the problem in the chat
Device used (e.g., Sonoff Basic): _____ Any esp8266 device
Tasmota binary firmware version number used: _____ 9.1.0, 9.2.0 & 9.3.1
Flashing tools used: esptool.py,
Provide the output of command:
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
Erase and re-flash the device with fresh image - behaviour is by design
EXPECTED BEHAVIOUR
nslookup/hosts to return a valid ip address - underscore in host name causes unpredictable behaviour and failure with
some dns servers
SCREENSHOTS
N/A
ADDITIONAL CONTEXT
(Please, remember to close the issue when the problem has been addressed)
Beta Was this translation helpful? Give feedback.
All reactions