Skip to content

feat: allow configuring devices with hostname instead of IP - #1

Merged
mvadu merged 1 commit into
mainfrom
support-hostname
Aug 8, 2026
Merged

mvadu merged 1 commit into
mainfrom
support-hostname

Conversation

@mvadu

@mvadu mvadu commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Adds an optional host field to device configuration as an alternative to ip, enabling connections via stable mDNS or DNS names when dynamic IPs are used.

Changes include:

  • Updated config validation to require either ip or host, and only validate IP format when explicitly provided
  • Refactored connection logic to prioritize host over ip for establishing device connections
  • Adjusted Prometheus metric labels to gracefully handle cases where the IP address is omitted
  • Expanded README documentation with a configuration fields reference table and revised validation behavior

Adds an optional host field to device configuration as an alternative to ip, enabling connections via stable mDNS or DNS names when dynamic IPs are used.

Changes include:
- Updated config validation to require either ip or host, and only validate IP format when explicitly provided
- Refactored connection logic to prioritize host over ip for establishing device connections
- Adjusted Prometheus metric labels to gracefully handle cases where the IP address is omitted
- Expanded README documentation with a configuration fields reference table and revised validation behavior
@mvadu
mvadu merged commit fbab6f0 into main Aug 8, 2026
1 check passed
@mvadu
mvadu deleted the support-hostname branch August 8, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant