Skip to content

ESPHome component to advertise Zeroconf services over mDNS

Notifications You must be signed in to change notification settings

thegroove/esphome-zeroconf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zeroconf custom component for ESPHome

Example configuration:

zeroconf:
  - service: myservice
    protocol: tcp
    port: 8080

Result:

_myservice._tcp      local
  hostname = [my_esphome_node.local]
  address = [172.16.0.174]
  port = [8080]
  txt = []

Adding some txt records:

zeroconf:
  - service: myservice
    protocol: tcp
    port: 8080
    txt:
      version: 1.0
      location: basement

Result:

_myservice._tcp      local
  hostname = [my_esphome_node.local]
  address = [172.16.0.174]
  port = [8080]
  txt = ["version=1.0" "location=basement"]

(Test results obtained with avahi-browse -a -r)

About

ESPHome component to advertise Zeroconf services over mDNS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published