Replies: 6 comments 5 replies
-
mDNS will not be enabled in precompiled firmware binaries. mDNS is still buggy in all esp8266 and esp32x frameworks. Since the day we disabled in Tasmota all strange issues where gone away. |
Beta Was this translation helpful? Give feedback.
-
Tasmota used the included in Arduino framework. |
Beta Was this translation helpful? Give feedback.
-
This one https://github.com/tasmota/Arduino/tree/2.7.4.9/libraries/ESP8266mDNS And there is no time invest planned to try or test any other library. |
Beta Was this translation helpful? Give feedback.
-
Arduino Tasmota Esp32 Core 2.0.3 is up to date with upstream. Thx, for sharing your idea. To answer your question. mDNS will not be enabled in ANY precompiled Tasmota(32) build. |
Beta Was this translation helpful? Give feedback.
-
Any chance you might consider this in the future for a separate prebuilt binary for the Sonoff ZBBridge and Sonoff Zigbee Bridge for users who do not want to use the native Zigbee2Tasmota gateway but instead only want to use it as a remote Zigbee Coordinator via serial stream server to access it from other third-party Zigbee gateway software running on a other computer on your local network? While that is not important to the native Zigbee2Tasmota gateway it is a very nice feature for users of Home Assistant's ZHA integration: https://www.home-assistant.io/integrations/zha#discovery-via-usb-or-zeroconf That is, when mDNS Zeroconf discovery is enabled it allows Home Assistant to automatically discover it on your local network as a remote Zigbee Coordinator adapter and will show a notification suggesting "Zigbee Home Automation" as a "new devices discovered", the user then has option to just click on configure and so ZHA integration will automatically be installed using DNS record info from mDNS Zeroconf. Example of direct-attached Sonoff Zigbee dongle USB discovery in Home Assistant which works similar from an end-users point-of-view which the exception that it will show socat socket and mDNS address instead of a local serial device path and USB-ID for the adapter: |
Beta Was this translation helpful? Give feedback.
-
i've just tried a custom tasmota32 build based on this fork, which is working correctly via direct ip connection. I've set the
|
Beta Was this translation helpful? Give feedback.
-
I understand the backstory is that mDNS was removed/disabled from all pre-compiled binaries of Tasmota to save code space in order to allow new features, but question if that should also still apply to Tasmota32 for ESP32 which normally have much more flash space available?
https://www.arduino.cc/reference/en/libraries/mdns_generic/
https://github.com/khoih-prog/MDNS_Generic
Request enable mDNS (Multicast DNS Registering Services) for Zeroconf name service discovery precompiled only in Tasmota32 for ESP32?
https://github.com/khoih-prog/MDNS_Generic/blob/master/README.md
I know esp8266_mdns does have a history of not working reliable with Arduino ESP8266, which is why it was disabled in [9.1.0.2] 20201216:
https://github.com/arendst/Tasmota/blob/development/CHANGELOG.md#920-20201216
However, I believe that the mDNS for ESP8266 is not the same code or library as the MDNS_Generic which should be used on ESP32?
https://www.arduino.cc/reference/en/libraries/esp8266_mdns/
https://github.com/mrdunk/esp8266_mdns
MDNS_Generic library looks to be well maintained and seems to get regular bug fixes:
https://github.com/khoih-prog/MDNS_Generic/releases
Hopefully limiting mDNS to Tasmota32 for ESP32 should at least prevent it from causing issues for ESP8266 Tasmota users.
Beta Was this translation helpful? Give feedback.
All reactions