esphome / esphome/feature-requests
Adding static host entries (/etc/hosts capability)
- Dominant language
- No language data
- Stars
- 450
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the problem you have/What new integration you would like**
Ability to add a host entry to ESPhome that will be used to resolve arbitrary DNS names locally without any DNS required.
This is standard functionality of any TCP/IP stack and it would be very useful to have this in ESPhome as well.
**Please describe your use case for this integration and alternatives you've tried:**
I have [asked](https://github.com/esphome/esphome/discussions/4050) this but since there was no response I assume it it not possible (yet).
The use cases are manifold. For example, you may want to operate your ESP devices without relying on a DNS server. Or you may want to put your ESP devices into a dedicated VLAN without DNS.
**Additional context**
Currently I am not able to use the media player at all. Reason: The requesting system (Home Assistant) sends a request to play a file to my ESPhome media player. This file is sent in the form of an URL. The URL points back to my Home Assistant but unfortunately the DNS name it uses is not configurable. On any other system I would just enter something like this into my /etc/hosts file:
10.227.68.10 home-assistant.intra.example.net
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.