staromeste / homebridge-http-advanced-accessory

Supports all devices on HomeBridge Platform / Bridges devices to http
Apache License 2.0
65 stars 22 forks source link

Added mDNS support #52

Open ayushsharma82 opened 4 months ago

ayushsharma82 commented 4 months ago

Initially I had to assign static IP to my local devices and then save that static IP config in this plugin. This addition allows this plugin to discover devices through their mDNS local address ( which is: .local ).

  1. Plugin will take note of all the actions and detect & store the mDNS hostnames, which it will query and refresh their IP every minute.
  2. Plugin will automatically replace the mDNS hostname before every HTTP request and replace the hostname with the relevant device IP from stored responses.