esphome / esphome/feature-requests

Multiple wifis - no multiple domains

Open
#3,188 0 comments 0 reactions 0 assignees View on GitHub
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**
Hi all,

I actually expect a support of multiple domains when using multiple wifis. It's not uncommon that different networks use different domains.
```
wifi:
networks:
- ssid: !secret wifi_1_ssid
password: !secret wifi_1_password
# domain: ".domain1"
- ssid: !secret wifi_2_ssid
password: !secret wifi_2_password
# domain: ".domain2"
```

Although I'm unsure if this is possible anyway because the hostname is set generally and not network specific...?

**Please describe your use case for this integration and alternatives you've tried:**
There's actually no alternative, I can't make it happen.

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the configured WiFi networks and the generally set hostname are handled, focusing on whether domain settings can be scoped to each network. Done means documenting or implementing a supported per-network domain configuration and confirming that switching between the listed networks uses the corresponding domain.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.