Here are two threads regarding the issuing of voice integration with multi-component devices. It is a known issue.
First of all, thank you for your hard work and for sharing this driver @blueyetisoftware !
Bond bridge firmware v2.28.0
SmartThings hub v3 firmware 000.042.00007
Bond bridge LAN driver version 2022-05-18T17:04:42.294398
ββ
With a freshly reset Bond bridge and remote set-up for my ceiling fan, I followed the steps in the first post. The Bond cloud integration is not enabled.
My bridge was added to ST successfully and is showing up in No room assigned. I can control the bridgeβs LED successfully from the ST app. However, it never adds my ceiling fan remote.
The ceiling can remote is the only device connected to the Bond bridge. I can see it and control it within the Bond app.
I can provide driver logs tomorrow, but has anyone seen this behavior?
power cycle the Bond bridge, click Scan Nearby and wait until fan remote shows up
something to try until the developer pops in to offer better advice
The logs would give a definitive answer, but Iβm curious if the cloud integration shows your remote. You can run them together. Can you give that a shot and let me know if it shows? If not, I would lean toward a Bond issue.
What version of ST firmware do you use?
Last suggestion would be to tap the bond pairing button again in case the authentication has an issue
@blueyetisoftware yes, the cloud integration gives me 3 devices based on the remote - the fan itself (speed), fan winter mode, and fan light.
SmartThings firmware is 000.042.00007
on a V3 hub.
Iβll get the logs tomorrow! Thank you!
@blueyetisoftware OK, I tried rejoining, here are the driver logs:
The issue seems to be that Iβm getting 401s:
<...>
2022-05-30T18:28:26.853457583+00:00 ERROR Bond Bridge LAN GET http://192.168.4.43/v2/bridge 401
<...>
2022-05-30T18:28:41.337280590+00:00 ERROR Bond Bridge LAN GET http://192.168.4.43/v2/devices 401
<...>
2022-05-30T18:29:04.266482601+00:00 ERROR Bond Bridge LAN PATCH http://192.168.4.43/v2/bridge 401
<...>
Published 2022-05-30.19.08.48.29
- Updated networking for v43 ST hub firmware
- Removed deprecated networking patches for earliest versions of the driver
- Added more driver logging for networking errors
This would happen if your bridge token was bad. The driver isnβt complaining about the token, so it clearly thinks you have one. You could try removing all of the devices and then going through discovery again and re-pairing.
Did you press the pairing button when you went through discovery the first time?
I also published the most recent driver that has more logging available. It may provide a few more details for your setup.
@blueyetisoftware updated the driver, Iβll try again. I have not pressed the pairing button, no, just restarted the bridge.
Which pairing button do you mean? The Bond bridge has no buttons.
Steps to reproduce:
- Update driver, validate driver version
- Remove all devices previously paired from ST app
- Power cycle the Bond Bridge, and wait until the light is solid blue post-restart
- In ST app, look for new devices nearby
- Only the bridge is found
- Try to change the brightness of the LED on the bridge (fails)
Thatβs fine. You are using the black hockey puck version. You are correct that there is no button on that one. Power cycling is correct on that bridge.
After you grab the newest driver, can I get the logs again? That driver should print out an additional error message after the 401 that will provide the reason from the bridge.
Thanks
Iβm guessing that updated after you recorded the logs. I didnβt publish that until after I read your message. It auto-updates the driver.
You can see the time in the logs 2022-05-30T18:28:26
. The driver was published 2022-05-30.19.08.48.29
@blueyetisoftware hereβs a fresh run. By the way, thank you so much for the help with troubleshooting my issue!
βββββ¬βββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββ¬ββββββββββββββ¬ββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββ
β # β Driver Id β Name β Description β Version β Channel Id β Developer β Vendor Summary Information β
βββββΌβββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββΌββββββββββββββΌββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββ€
β 1 β 852605fd-bcd0-4ef0-8dff-fa4a5b0c6892 β Bond Bridge LAN β β 2022-05-30T19:08:48.297352548 β 161eb460-1270-4d7f-8551-3a08d9183c79 β 7616e454-5cd2-d07e-53c0-443374c30a80 β β
βββββ΄βββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββ΄ββββββββββββββ΄ββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββ
Logs:
connecting... connected
2022-05-31T15:36:53.494483975+00:00 TRACE Bond Bridge LAN Setup driver bond with lifecycle handlers:
DeviceLifecycleDispatcher: bond
default_handlers:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: bond -> bridge
default_handlers:
removed:
init:
child_dispatchers:
DeviceLifecycleDispatcher: bond -> fan
default_handlers:
infoChanged:
child_dispatchers:
DeviceLifecycleDispatcher: bond -> fan -> sbb
default_handlers:
removed:
init:
child_dispatchers:
DeviceLifecycleDispatcher: bond -> fireplace
default_handlers:
infoChanged:
child_dispatchers:
DeviceLifecycleDispatcher: bond -> fireplace -> sbb
default_handlers:
removed:
init:
child_dispatchers:
DeviceLifecycleDispatcher: bond -> generic
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: bond -> generic -> sbb
default_handlers:
removed:
init:
child_dispatchers:
DeviceLifecycleDispatcher: bond -> light
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: bond -> light -> sbb
default_handlers:
removed:
init:
child_dispatchers:
DeviceLifecycleDispatcher: bond -> shade
default_handlers:
added:
child_dispatchers:
DeviceLifecycleDispatcher: bond -> shade -> sbb
default_handlers:
removed:
init:
child_dispatchers:
2022-05-31T15:36:53.515615975+00:00 TRACE Bond Bridge LAN Setup driver bond with Capability handlers:
CapabilityCommandDispatcher: bond
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: bond -> bridge
default_handlers:
refresh:
refresh
switchLevel:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: bond -> fan
default_handlers:
execute:
execute
fanSpeed:
setFanSpeed
refresh:
refresh
switch:
off
on
switchLevel:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: bond -> fan -> sbb
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: bond -> fireplace
default_handlers:
switch:
off
on
refresh:
refresh
execute:
execute
switchLevel:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: bond -> fireplace -> sbb
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: bond -> generic
default_handlers:
refresh:
refresh
switch:
off
on
execute:
execute
child_dispatchers:
CapabilityCommandDispatcher: bond -> generic -> sbb
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: bond -> light
default_handlers:
switch:
off
on
refresh:
refresh
execute:
execute
switchLevel:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: bond -> light -> sbb
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: bond -> shade
default_handlers:
refresh:
refresh
windowShade:
close
pause
open
execute:
execute
windowShadeLevel:
setShadeLevel
child_dispatchers:
CapabilityCommandDispatcher: bond -> shade -> sbb
default_handlers:
child_dispatchers:
2022-05-31T15:36:53.534645642+00:00 TRACE Bond Bridge LAN Received event with handler environment_info
2022-05-31T15:36:53.542757308+00:00 TRACE Bond Bridge LAN Received event with handler environment_info
2022-05-31T15:36:53.550529975+00:00 DEBUG Bond Bridge LAN Z-Wave hub node ID environment changed.
2022-05-31T15:36:53.558006308+00:00 TRACE Bond Bridge LAN Received event with handler discovery
2022-05-31T15:36:53.568520308+00:00 DEBUG Bond Bridge LAN discovery scanning network
2022-05-31T15:36:56.609594642+00:00 DEBUG Bond Bridge LAN listening on port 40289 for discovery
2022-05-31T15:36:56.616700975+00:00 DEBUG Bond Bridge LAN discovery registering callback
2022-05-31T15:36:56.632892309+00:00 DEBUG Bond Bridge LAN discovery sending broadcast
2022-05-31T15:36:56.649756975+00:00 DEBUG Bond Bridge LAN BROADCAST 255.255.255.255:30007
2022-05-31T15:36:56.657866642+00:00 DEBUG Bond Bridge LAN driver device thread event handled
2022-05-31T15:36:56.664542975+00:00 TRACE Bond Bridge LAN Received event with handler _resync
2022-05-31T15:36:57.227401309+00:00 DEBUG Bond Bridge LAN discovery message received from 192.168.4.43:30007 {"B":"ZZDF74986","d":0,"v":"v2.28.0"}
2022-05-31T15:36:57.303464975+00:00 DEBUG Bond Bridge LAN discovery creating bridge ZZDF74986
2022-05-31T15:36:58.205136975+00:00 DEBUG Bond Bridge LAN GET http://192.168.4.43/v2/sys/version 200
2022-05-31T15:36:58.418057309+00:00 ERROR Bond Bridge LAN GET http://192.168.4.43/v2/bridge 401
2022-05-31T15:37:06.670562976+00:00 DEBUG Bond Bridge LAN discovery sending broadcast
2022-05-31T15:37:06.718004310+00:00 DEBUG Bond Bridge LAN BROADCAST 255.255.255.255:30007
2022-05-31T15:37:06.726067643+00:00 DEBUG Bond Bridge LAN discovery processing creation queue
2022-05-31T15:37:07.067434976+00:00 DEBUG Bond Bridge LAN discovery message received from 192.168.4.43:30007 {"B":"ZZDF74986","d":0,"v":"v2.28.0"}
2022-05-31T15:37:08.443051977+00:00 TRACE Bond Bridge LAN Received event with handler device_lifecycle
2022-05-31T15:37:08.459413643+00:00 INFO Bond Bridge LAN <Device: ea44a4ec-4db1-4171-86da-0bd6339dc57e (Bond Bridge)> received lifecycle event: added
2022-05-31T15:37:08.490300977+00:00 TRACE Bond Bridge LAN Received event with handler device_lifecycle
2022-05-31T15:37:08.496802643+00:00 INFO Bond Bridge LAN <Device: ea44a4ec-4db1-4171-86da-0bd6339dc57e (Bond Bridge)> received lifecycle event: doConfigure
2022-05-31T15:37:08.507563643+00:00 TRACE Bond Bridge LAN <Device: ea44a4ec-4db1-4171-86da-0bd6339dc57e (Bond Bridge)> received unhandled lifecycle event: added
2022-05-31T15:37:08.513659643+00:00 DEBUG Bond Bridge LAN Bond Bridge device thread event handled
2022-05-31T15:37:08.522118977+00:00 TRACE Bond Bridge LAN Found DeviceLifecycleDispatcher handler in bond -> bridge
2022-05-31T15:37:08.529964977+00:00 INFO Bond Bridge LAN starting bpup message channel for <Device: ea44a4ec-4db1-4171-86da-0bd6339dc57e (Bond Bridge)>
2022-05-31T15:37:11.565960644+00:00 DEBUG Bond Bridge LAN listening on port 33506 for <Device: ea44a4ec-4db1-4171-86da-0bd6339dc57e (Bond Bridge)>
2022-05-31T15:37:11.577835977+00:00 DEBUG Bond Bridge LAN BROADCAST 255.255.255.255:30007
2022-05-31T15:37:11.592050310+00:00 DEBUG Bond Bridge LAN Bond Bridge device thread event handled
2022-05-31T15:37:11.602036977+00:00 TRACE Bond Bridge LAN <Device: ea44a4ec-4db1-4171-86da-0bd6339dc57e (Bond Bridge)> received unhandled lifecycle event: doConfigure
2022-05-31T15:37:11.607778310+00:00 DEBUG Bond Bridge LAN Bond Bridge device thread event handled
2022-05-31T15:37:11.624284977+00:00 DEBUG Bond Bridge LAN Bond Bridge device thread event handled
2022-05-31T15:37:11.636253310+00:00 DEBUG Bond Bridge LAN Bond Bridge device thread event handled
2022-05-31T15:37:11.646498644+00:00 DEBUG Bond Bridge LAN Bond Bridge device thread event handled
2022-05-31T15:37:11.797374644+00:00 DEBUG Bond Bridge LAN RECEIVE 192.168.4.43:30007 {"B":"ZZDF74986","d":0,"v":"v2.28.0"}
<Device: ea44a4ec-4db1-4171-86da-0bd6339dc57e (Bond Bridge)>
2022-05-31T15:37:12.167220644+00:00 ERROR Bond Bridge LAN GET http://192.168.4.43/v2/devices 401
2022-05-31T15:37:15.240199977+00:00 TRACE Bond Bridge LAN Received event with handler discovery
2022-05-31T15:37:19.057399978+00:00 TRACE Bond Bridge LAN Received event with handler capability
2022-05-31T15:37:19.067004645+00:00 INFO Bond Bridge LAN <Device: ea44a4ec-4db1-4171-86da-0bd6339dc57e (Bond Bridge)> received command: {"args":{},"capability":"refresh","command":"refresh","component":"main","positional_args":{}}
2022-05-31T15:37:19.075075645+00:00 TRACE Bond Bridge LAN Found CapabilityCommandDispatcher handler in bond -> bridge
2022-05-31T15:37:19.454416645+00:00 ERROR Bond Bridge LAN GET http://192.168.4.43/v2/bridge 401
2022-05-31T15:37:19.561775645+00:00 TRACE Bond Bridge LAN Received event with handler capability
2022-05-31T15:37:19.686273311+00:00 DEBUG Bond Bridge LAN GET http://192.168.4.43/v2/sys/version 200
2022-05-31T15:37:19.699842978+00:00 DEBUG Bond Bridge LAN Bond Bridge device thread event handled
2022-05-31T15:37:19.710727645+00:00 INFO Bond Bridge LAN <Device: ea44a4ec-4db1-4171-86da-0bd6339dc57e (Bond Bridge)> received command: {"args":{"level":49},"capability":"switchLevel","command":"setLevel","component":"main","positional_args":[49]}
2022-05-31T15:37:19.717277978+00:00 TRACE Bond Bridge LAN Found CapabilityCommandDispatcher handler in bond -> bridge
2022-05-31T15:37:19.757865311+00:00 DEBUG Bond Bridge LAN discovery socket closed
2022-05-31T15:37:19.763187645+00:00 DEBUG Bond Bridge LAN discovery device thread event handled
2022-05-31T15:37:19.935331645+00:00 ERROR Bond Bridge LAN PATCH http://192.168.4.43/v2/bridge 401
2022-05-31T15:37:19.942418978+00:00 DEBUG Bond Bridge LAN Bond Bridge device thread event handled
2022-05-31T15:38:11.614340651+00:00 DEBUG Bond Bridge LAN PING 192.168.4.43:30007
2022-05-31T15:38:11.626681317+00:00 DEBUG Bond Bridge LAN Bond Bridge device thread event handled
2022-05-31T15:38:11.815201984+00:00 DEBUG Bond Bridge LAN RECEIVE 192.168.4.43:30007 {"B":"ZZDF74986","d":0,"v":"v2.28.0"}
<Device: ea44a4ec-4db1-4171-86da-0bd6339dc57e (Bond Bridge)>
2022-05-31T15:38:12.213515651+00:00 ERROR Bond Bridge LAN GET http://192.168.4.43/v2/devices 401
@iplantemn Thanks. I was hoping the Bond would give us back a better error message but it makes sense that they donβt give away too much for a 401. Since the bridge is being found, that indicates that the driver is getting a token, but the 401 indicates that it is bad. It is possible that the Bond is giving the driver a bad token. I havenβt seen it before, but have seen a couple reports in their forum. The proposed fix in their forum was to factory reset the Bond. That can be done by depressing the the reset pinhole until the ring turns white, or by doing the reset through the Bond app by going into the settings for the bridge and selecting Remove Bond --> Wipe All Data
. This does wipe out all of your Bond devices and they would need to be setup again.
I am going to go ahead and add the ability to manually edit the token in the driver as a workaround that can be tried. If you want an immediate fix, the factory reset is probably the only option.
The manual entry will probably be published later today if you want to wait.
That was actually quicker than expected. Pretty straight forward.
Published 2022-05-31.20.57.42.83
- Allows the user to override the token provided to the driver. You can find your Bond token in the Bond app under the settings for your bridge device. Open
Advanced --> Local Token
. You can revert back to the token provided by the API by deleting that preference.
OK - everything works, hereβs what I did:
- Completely wipe Bond bridge
- Set-up Bond bridge and fan remote
- Restart Bond bridge
- Run discovery in SmartThings app
- Bridge is found - but no devices. Canβt change the LED brightness.
- Find Bridge local token and input in SmartThings app
- Re-run discovery in SmartThings app (less than 10 minutes have elapsed since the last restart)
- Ceiling fan is found
- Bridge LED brightness can be changed in SmartThings app
- Fan can be controlled in SmartThings app - note that this is pretty slow, it takes about 15s to turn the light of the fan on/off
% smartthings edge:drivers:installed
βββββ¬βββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββ¬ββββββββββββββ¬ββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββ
β # β Driver Id β Name β Description β Version β Channel Id β Developer β Vendor Summary Information β
βββββΌβββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββΌββββββββββββββΌββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββ€
β 1 β 852605fd-bcd0-4ef0-8dff-fa4a5b0c6892 β Bond Bridge LAN β β 2022-05-31T20:57:42.835614888 β 161eb460-1270-4d7f-8551-3a08d9183c79 β 7616e454-5cd2-d07e-53c0-443374c30a80 β β
βββββ΄βββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββ΄ββββββββββββββ΄ββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββ
% bond discover
-----------------------------------------------------------------
| bondid | ip | port |
| ------------------- | ------------------- | ------------------- |
| ZZDF74986 | 192.168.4.43 | 80 |
-----------------------------------------------------------------
% bond select ZZDF74986
Selected Bond: ZZDF74986
Updated token for ZZDF74986
% bond list
-----------------------------------------------------------------
| bondid | ip | token |
| ------------------- | ------------------- | ------------------- |
| ZZDF74986 <----- | 192.168.4.43 | <redacted> |
-----------------------------------------------------------------
% bond devices list
Devices on ZZDF74986:
-----------------------------------------------------------------
| dev_id | name | location |
| ------------------- | ------------------- | ------------------- |
| 4a1b8ea4 | Ceiling fan | My Room |
-----------------------------------------------------------------
ST driver logs: June 1st Bond LAN driver attempt Β· GitHub
Bond bridge logs: June 1st Bond LAN driver attempt Β· GitHub
Thank you so much!
Did you try manually entering the token prior to this?
10 minutes doesnβt apply to a manually provided token. Since it was manually entered, pairing isnβt required.
There are a few different reasons you may see this, but generally this is the flow in ST:
- Event from a device like a switch (zwave/zigbee/etc)
- Event goes to Hub and is either processed locally for an edge switch, or sent to cloud
- Event goes to cloud for ST processing
- Event goes back to hub and is received by Edge driver
- Edge driver sends request to the Bond Bridge
- Bond bridge emits IR or RF to the Fan
So my followup question would be:
- How are you triggering the event? (switch, app, automation, etc) This can impact times for steps 1-3
- Does it get faster as you keep using it without long breaks?
- IR or RF remote? How far away?
I have seen very large delays due to weak signal from #3, and there is a known issue in ST for #2. It is very odd that you still canβt get a good auth token from the bridge, even after resetting it. If manually entering it works, then that implies that it isnβt actually giving you back the correct token.
Can you trying rebooting your bond bridge and running this command from the command line within 10 minutes? I suspect there is something wrong with this response. Please donβt share your token, but can you verify if it matches the one provided in the app? The rest of the response would also be helpful.
curl -i http://YOUR_BOND_IP/v2/sys/version
curl -i http://YOUR_BOND_IP/v2/token
Published 2022-06-07.19.02.12.90
- Direct support for v43.4 hub firmware. This is now the minimum supported hub version. If your setup runs into issues with version < v43.4, it should resolve when your hub updates this week.
Published 2022-06-19.02.44.42.51
- Contains updated ST error definitions for unreachable hosts