aarons22 / homebridge-bond

Homebridge plugin for Bond
MIT License
64 stars 31 forks source link

Smart by Bond devices not showing up #149

Closed kikohnl closed 3 years ago

kikohnl commented 3 years ago

Installed two Mina Air fans that include Smart by Bond. They show up in the Bond app but not in Homebridge

Information (please complete the following information):

Logs Nothing in the logs show up for either of the fans.

[4/20/2021, 4:24:07 PM] Loaded plugin: homebridge-bond@3.2.8 [4/20/2021, 4:24:07 PM] Registering platform 'homebridge-bond.Bond' [4/20/2021, 4:24:07 PM] [Bond] Initializing Bond platform... [4/20/2021, 4:24:07 PM] [Bond] Config: { "bonds": [ "platform": "Bond" [4/20/2021, 4:24:07 PM] [Bond] Request (185e3c6648330000) [get http://192.168.99.157/v2/devices] [4/20/2021, 4:24:07 PM] [Bond] Request (185e3c6648338000) [get http://192.168.99.157/v2/sys/version] [4/20/2021, 4:24:07 PM] [Bond] Response (185e3c6648330000) [get http://192.168.99.157/v2/devices] - {"":"c064c1a0","10b31047":{"":"0d898e56"},"08e90df4":{"":"300a40ea"},"680f3f08":{"":"551f9dbc"},"62d9511e":{"_":"f03f1b67"}} [4/20/2021, 4:24:08 PM] [Bond] Response (185e3c6648338000) [get http://192.168.99.157/v2/sys/version] - {"target":"zermatt","fw_ver":"v2.17.4-1-g29bc8b4","fw_date":"Thu Mar 18 16:13:27 UTC 2021","uptime_s":171426,"boot_patch":"not outdated","make":"Olibra","model":"BD-1000","branding_profile":"OLIBRA_BD1000","bondid":"ZZDI36924","upgradehttp":true,"api":2,"":"09021062"} [4/20/2021, 4:24:08 PM] [Bond] ** Bond Info *** bondId: ZZDI36924 [4/20/2021, 4:24:08 PM] [Bond] 4 cached accessories were loaded [4/20/2021, 4:24:08 PM] [Bond] Getting devices for this Bond (ZZDI36924)... [4/20/2021, 4:24:08 PM] [Bond] 4 devices were found on this Bond (ZZDI36924). [4/20/2021, 4:24:08 PM] [Bond] No new devices to add for this Bond (ZZDI36924). [4/20/2021, 4:24:08 PM] [Bond] UDP message sent to 192.168.99.157:30007 [4/20/2021, 4:24:08 PM] [Bond] Configuring Accessory: Office office fan [4/20/2021, 4:24:08 PM] [Bond] [office fan] actions: TurnOff,SetSpeed,ToggleDirection,ToggleLight,StartDimmer,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,SetDirection,TurnLightOn,TurnLightOff [4/20/2021, 4:24:08 PM] [Bond] Request (185e3c6648b08000) [get http://192.168.99.157/v2/devices/680f3f08/state] [4/20/2021, 4:24:08 PM] [Bond] Configuring Accessory: Guest Bedroom guest bedroom Ceiling fan [4/20/2021, 4:24:08 PM] [Bond] [guest bedroom Ceiling fan] actions: TurnOff,SetSpeed,ToggleDirection,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,SetDirection [4/20/2021, 4:24:08 PM] [Bond] Request (185e3c6648b10000) [get http://192.168.99.157/v2/devices/62d9511e/state] [4/20/2021, 4:24:08 PM] [Bond] Configuring Accessory: Master Bedroom mb Ceiling fan [4/20/2021, 4:24:08 PM] [Bond] [mb Ceiling fan] actions: TurnOff,SetSpeed,ToggleDirection,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,SetDirection [4/20/2021, 4:24:08 PM] [Bond] Request (185e3c6648b1c000) [get http://192.168.99.157/v2/devices/10b31047/state] [4/20/2021, 4:24:08 PM] [Bond] Configuring Accessory: Back Yard Ceiling fan [4/20/2021, 4:24:08 PM] [Bond] [Ceiling fan] actions: TurnOff,SetSpeed,ToggleDirection,ToggleLight,StartDimmer,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,SetDirection,TurnLightOn,TurnLightOff [4/20/2021, 4:24:08 PM] [Bond] Request (185e3c6648b24000) [get http://192.168.99.157/v2/devices/08e90df4/state] [4/20/2021, 4:24:08 PM] [Bond] UDP Message received from 192.168.99.157:30007 - {"B":"ZZDI36924"} [4/20/2021, 4:24:08 PM] [Bond] Response (185e3c6648b08000) [get http://192.168.99.157/v2/devices/680f3f08/state] - {"power":1,"speed":2,"direction":-1,"":"3d4c65c5"} [4/20/2021, 4:24:08 PM] [Bond] Response (185e3c6648b10000) [get http://192.168.99.157/v2/devices/62d9511e/state] - {"power":0,"speed":2,"direction":-1,"":"8336ffa8"} [4/20/2021, 4:24:08 PM] [Bond] Response (185e3c6648b1c000) [get http://192.168.99.157/v2/devices/10b31047/state] - {"power":0,"speed":3,"direction":1,"":"5f3ce041"} [4/20/2021, 4:24:08 PM] [Bond] Response (185e3c6648b24000) [get http://192.168.99.157/v2/devices/08e90df4/state] - {"power":0,"speed":2,"direction":1,"":"67a975a4"}

aarons22 commented 3 years ago

Can you post your config file? Looks like it got cutoff when you copied your logs over

image
kikohnl commented 3 years ago

[5/4/2021, 6:13:03 PM] Registering platform 'homebridge-bond.Bond' [5/4/2021, 6:13:04 PM] [Bond] Initializing Bond platform... [5/4/2021, 6:13:04 PM] [Bond] Config: { "platform": "Bond" [5/4/2021, 6:13:04 PM] [Bond] Request (185e4e85797a0000) [get http://192.168.99.10/v2/devices] [5/4/2021, 6:13:04 PM] [Bond] Request (185e4e85797a8000) [get http://192.168.99.10/v2/sys/version] [5/4/2021, 6:13:04 PM] [Bond] Response (185e4e85797a0000) [get http://192.168.99.10/v2/devices] - {"":"859aa1b6","10b31047":{"":"b8d678d6"},"08e90df4":{"":"8e99babc"},"680f3f08":{"":"13eb9398"},"62d9511e":{"_":"e11b6a12"}} [5/4/2021, 6:13:04 PM] [Bond] Response (185e4e85797a8000) [get http://192.168.99.10/v2/sys/version] - {"target":"zermatt","fw_ver":"v2.17.4-1-g29bc8b4","fw_date":"Thu Mar 18 16:13:27 UTC 2021","uptime_s":127106,"boot_patch":"not outdated","make":"Olibra","model":"BD-1000","branding_profile":"OLIBRA_BD1000","bondid":"ZZDI36924","upgradehttp":true,"api":2,"":"691c851d"} [5/4/2021, 6:13:04 PM] [Bond] ** Bond Info *** [5/4/2021, 6:13:04 PM] [Bond] 4 cached accessories were loaded [5/4/2021, 6:13:04 PM] [Bond] Getting devices for this Bond (ZZDI36924)... [5/4/2021, 6:13:04 PM] [Bond] 4 devices were found on this Bond (ZZDI36924). [5/4/2021, 6:13:04 PM] [Bond] No new devices to add for this Bond (ZZDI36924). [5/4/2021, 6:13:04 PM] [Bond] UDP message sent to 192.168.99.10:30007 [5/4/2021, 6:13:04 PM] [Bond] Configuring Accessory: Office office fan [5/4/2021, 6:13:04 PM] [Bond] [office fan] actions: TurnOff,SetSpeed,ToggleDirection,ToggleLight,StartDimmer,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,SetDirection,TurnLightOn,TurnLightOff [5/4/2021, 6:13:04 PM] [Bond] Request (185e4e8579f68000) [get http://192.168.99.10/v2/devices/680f3f08/state] [5/4/2021, 6:13:04 PM] [Bond] Configuring Accessory: Guest Bedroom guest bedroom Ceiling fan [5/4/2021, 6:13:04 PM] [Bond] [guest bedroom Ceiling fan] actions: TurnOff,SetSpeed,ToggleDirection,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,SetDirection [5/4/2021, 6:13:04 PM] [Bond] Request (185e4e8579f74000) [get http://192.168.99.10/v2/devices/62d9511e/state] [5/4/2021, 6:13:04 PM] [Bond] Configuring Accessory: Master Bedroom mb Ceiling fan [5/4/2021, 6:13:04 PM] [Bond] [mb Ceiling fan] actions: TurnOff,SetSpeed,ToggleDirection,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,SetDirection [5/4/2021, 6:13:04 PM] [Bond] Request (185e4e8579f80000) [get http://192.168.99.10/v2/devices/10b31047/state] [5/4/2021, 6:13:04 PM] [Bond] Configuring Accessory: Back Yard Ceiling fan [5/4/2021, 6:13:04 PM] [Bond] [Ceiling fan] actions: TurnOff,SetSpeed,ToggleDirection,ToggleLight,StartDimmer,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,SetDirection,TurnLightOn,TurnLightOff [5/4/2021, 6:13:04 PM] [Bond] Request (185e4e8579f88000) [get http://192.168.99.10/v2/devices/08e90df4/state] [5/4/2021, 6:13:04 PM] [Bond] Response (185e4e8579f68000) [get http://192.168.99.10/v2/devices/680f3f08/state] - {"power":0,"speed":1,"direction":1,"":"7b5bd532"} [5/4/2021, 6:13:04 PM] [Bond] Response (185e4e8579f74000) [get http://192.168.99.10/v2/devices/62d9511e/state] - {"power":0,"speed":1,"direction":1,"":"decdae2d"} [5/4/2021, 6:13:04 PM] [Bond] UDP Message received from 192.168.99.10:30007 - {"B":"ZZDI36924"} [5/4/2021, 6:13:04 PM] [Bond] Response (185e4e8579f80000) [get http://192.168.99.10/v2/devices/10b31047/state] - {"power":0,"speed":1,"direction":1,"":"db8b1cc5"} [5/4/2021, 6:13:05 PM] [Bond] Response (185e4e8579f88000) [get http://192.168.99.10/v2/devices/08e90df4/state] - {"power":0,"speed":1,"direction":1,"":"ad178d4e"}

aarons22 commented 3 years ago

It's still clipped here. Can you go into your Homebridge UI, copy the config (or screenshot) and post it here?

image

For Smart By Bond products, they each need to get added as a Bond in the plugin (they have their own IP address and token).

kikohnl commented 3 years ago

I added the 2 Smart by Bond and now they show up.

Thanks!