Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for fauxmo devices to be discovered by HomeAssistant #121

Merged
merged 1 commit into from
Jan 13, 2024

Commits on Jan 8, 2024

  1. Add support for fauxmo devices to be discovered by HomeAssistant

    Makes two changes needed for HomeAssistant to discover and manage
    fauxmo devices:
    
    * HomeAssistant relies on pywemo for device discovery. The
      pywemo.discover_devices() function sends an ssdp probe of the string
      "urn:Belkin:service:basicevent:1". This change causes fauxmo to respond to
      that probe so that pywemo.discover_devices will find fauxmo devices.
    
    * As mentioned in n8henrie#88,
      HomeAssistant uses the serial number returned by a "real" Wemo to
      disambiguate devices, if more than one device shares an IP
      address. This changes causes fauxmo to respond to a setup message
      with the serial number, so that multiple fauxmo devices will be seen
      from HomeAssistant.
    howdypierce committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    2f3023e View commit details
    Browse the repository at this point in the history