staromeste / homebridge-http-advanced-accessory

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

Added mDNS support #52

Open ayushsharma82 opened 9 months ago

ayushsharma82 commented 9 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.