KhaosT / homebridge-amazondash

Amazon Dash Button plugin for Homebridge
58 stars 14 forks source link

Dash button "Not Supported" in Home (by Apple) app #5

Closed noaht8um closed 7 years ago

noaht8um commented 7 years ago

Hello,

I was able to get my Dash's MAC Address and load it into the config.json file as per the instructions, and home bridge comes up fine (using sudo). The Dash shows up in my Home app but it says "Not Supported" where it usually indicates "on" or "off". I can post screenshots of my homebridge config or phone screen if it would help.

Thank you

KhaosT commented 7 years ago

I think Home app in iOS 10 don't support programmable switches yet. Please try using third-part HomeKit app like Elgato Eve or Hesperus and see if you can create automation with Dash button.

noaht8um commented 7 years ago

Thanks for the quick response!

I tried in Hesperus just now by creating a simple Action (if dash is pressed turn on arbitrary light) and still no joy. I haven't used Eve before but if you think it's worth trying I can give that a shot too.

Also, should I see some sort of feedback in the homebridge console when I push the dash button? For example, when I turn a Hue light on/off it shows the event in the console. If that is supposed to be happening, it's currently not.

Thanks again.

Here's my current console if it helps:

sudo homebridge -U /var/homebridge/ * WARNING * The program 'node' uses the Apple Bonjour compatibility layer of Avahi. * WARNING * Please fix your application to use the native API of Avahi! * WARNING * For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node * WARNING * The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi. * WARNING * Please fix your application to use the native API of Avahi! * WARNING * For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister [9/19/2016, 4:21:35 PM] Loaded plugin: homebridge-amazondash [9/19/2016, 4:21:36 PM] Registering platform 'homebridge-amazondash.AmazonDash' [9/19/2016, 4:21:36 PM] --- [9/19/2016, 4:21:40 PM] Loaded plugin: homebridge-philipshue [9/19/2016, 4:21:40 PM] Registering platform 'homebridge-philipshue.PhilipsHue' [9/19/2016, 4:21:40 PM] --- [9/19/2016, 4:21:40 PM] Loaded config.json with 0 accessories and 2 platforms. [9/19/2016, 4:21:40 PM] --- [9/19/2016, 4:21:40 PM] Loading 2 platforms... [9/19/2016, 4:21:40 PM] [Philips Hue] Initializing PhilipsHue platform... [9/19/2016, 4:21:40 PM] [Philips Hue] PhilipsHue Platform Plugin Version 0.0.2 [9/19/2016, 4:21:40 PM] [Philips Hue] Fetching Philips Hue lights... [9/19/2016, 4:21:40 PM] Initializing AmazonDash platform... [9/19/2016, 4:21:41 PM] [Philips Hue] Initializing platform accessory 'Office Light 1'... Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

┌────────────┐     
│ 031-45-154 │     
└────────────┘     

[9/19/2016, 4:21:42 PM] Homebridge is running on port 51826.

KhaosT commented 7 years ago

try run homebridge with hap-nodejs DEBUG enabled, you can do so by running DEBUG=* sudo homebridge

noaht8um commented 7 years ago

Good news, it works now! I assume it's because I restarted homebridge to set the debug level, and it somehow picked up on the automation rule.

Hopefully Apple's Home app will allow programmable switches soon.

Thank you very much for your help!

KhaosT commented 7 years ago

:)