¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Bond Bridge


 

¿ªÔÆÌåÓý

Hi Jay,

Thanks for sending this.? I'm not currently using my Bond Bridge, I just have it for testing.? I haven't played with it in a while but the last time I did, everything was working fine though I'm not sure what firmware the Bond Bridge was running.

In checking the API documentation, I don't see anything that would have changed with v3.5 related to retrieving the connected device list, which is what is happening when the program is crashing.?

All that being said, I haven't tested the code with multiple Bond Bridges.? I don't know of a reason it wouldn't work but I only have one Bond Bridge so I don't have the facilities to test.

What it looks like is happening is that the very first http call by the Crestron processor to the bond bridge to retrieve the list of devices connected to the bridge is failing. In fact the messages below say that the bond bridge is simply not responding to the http request. This is quite strange behavior.

So, a couple of things to check first:

1) Please make sure that all your bond bridges have static IPs or DHCP reservations on your router so there is no possibility of the IP address of the bridge changing.

2) Make sure that you don't have an IP address conflict.

3) If you don't have any sidekicks connected to a bridge, make sure that the Sidekick_Support parameter on the comm manager module associated with that bridge is set to "No".

4) Make sure you have a Comm Manager module in each program where you need to communicate with a bond bridge and double check that both the IP Address and Token parameter fields are setup correctly.

I'm traveling right now but I should be able to do more when I get back in about 10 days.

Thanks

Jay

On 5/12/2024 8:16 AM, Jay R. via groups.io wrote:

I pulled this data yesterday, I set up 3 separate programs on a DIN-AP3 and got the following.? I really appreciate your insight on this one.? I'm not good with the S# stuff.

Program 1 - Bond Bridge Pro FW 4.4.7.1 - Does not connect
Program 3 - Bond Bridge (Provided with EVE shades) FW 3.21.3.6 - Works great
Program 5 - Smart by Bond on Craftmade fan FW 3.5 - Has not worked since update to 3.5, but mapped devices to other bridges via remote as workaround

My guess is something between Bond FW 3.21 and 3.5 changed in the comms protocal.? When the smart by bond fan broke I separated the modules into individual programs to see if that was the issue.? Once I realized it wasn't I just left them separate and mapped the remotes.

Program 1 -FW 4.4.7.1

Program Initialized:1.
?
Program(s) Started...
Update request from Slot-02.IP-ID-F7 in Program 01
Bond-Get_Devices_List - URL:
Update request from Slot-02.IP-ID-F4 in Program 01
Bond-Get_Devices_List - Error Getting List of Devices: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
? ?at System.Net.Sockets.Socket.ConnectNoCheck(EndPoint remoteEP)
? ?at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
? ?at Crestron.SimplSharp.Net.Connection.DataSocketConnect(EndPoint aEndPoint)
? ?at Crestron.SimplSharp.Net.Connection.Connect(IPAddress aIPAddress, Int32 aPort)
? ?at Crestron.SimplSharp.Net.Client.GetConnection(IPAddress aHost, Int32 aPort)
? ?at Crestron.SimplSharp.Net.Client.Connect(IPAddress aHost, Int32 aPort)
? ?at Crestron.SimplSharp.Net.Client.Connect(String aHost, Int32 aPort)
? ?at Crestron.SimplSharp.Net.Http.HttpClient.GetHttpConnection(Boolean aSecure, String aHost, Int32 aPort)
? ?at Crestron.SimplSharp.Net.Http.HttpClient.TryDispatch(HttpClientRequest aRequest)
? ?at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch(HttpClientRequest aRequest)
? ?at Bond_Integration.Bond.Get_Devices_List()
? ?at Bond_Integration.Bond.Initialize(String Bond_IP, String Token, Int16 Support_Sidekicks, Int16 Debug)
? ?at UserModule_BOND_COMM_MANAGER_V2.UserModuleClass_BOND_COMM_MANAGER_V2.INIT_OnPush_0(Object __EventInfo__)
? ?at Amib.Threading.Internal.WorkItem.o()
? ?at Amib.Threading.Internal.WorkItem.Execute()
? ?at Amib.Threading.SmartThreadPool.e(WorkItem A_0)
? ?at Amib.Threading.SmartThreadPool.p()

Bond-Initialize - SUCCESS

----------------------------------------------------------------

Program 3 - FW 3.21.3.6

Program Initialized:3.
?
Program(s) Started...
Bond-Get_Devices_List - URL:
Bond-Get_Devices_List - response.ContentString: {"_":"c76311b8","__":"00000000","5cc70a7d4f5d17e3":{"_":"10b8f92a"},"94e1e4dce9a7c804":{"_":"867a9e91"},"c1793ed749cf03b4":{"_":"01a8b890"},"74a6e36d26ca70cc":{"_":"59b49736"},"59f7cb0238106870":{"_":"368d3c15"},"0142a520c5bd3
Bond-Get_Devices_List - 313":{"_":"12fcc80f"},"cd37e7d21bf85e68":{"_":"3d4dac15"}}
Bond-Get_Devices_List - Device json: "5cc70a7d4f5d17e3":{"_":"10b8f92a"}, Device_ID: 5cc70a7d4f5d17e3
Bond-Get_Device_Details - URL:
Bond-Get_Device_Details - response.ContentString: {"name":"Rear","type":"MS","location":"Family Room","template":"RMS35","subtype":"ROLLER_SHADE","actions":["Close","DecreasePosition","Hold","IncreasePosition","Open","Pair","PairAlt","SetPosition","Stop","ToggleOpen"],"_":"10
Bond-Get_Device_Details - b8f92a","__":"b2860cba","commands":{"_":"f010f4bf"},"state":{"_":"930c8b4a"},"properties":{"_":"9b655bb0"},"skeds":{"_":"3ee47c2b"},"vrc":{"_":"98ef2f4f"}}
Device_Details.Parse - {"name":"Rear","type":"MS","location":"Family Room","template":"RMS35","subtype":"ROLLER_SHADE","actions":["Close","DecreasePosition","Hold","IncreasePosition","Open","Pair","PairAlt","SetPosition","Stop","ToggleOpen"],"_":"10b8f92a","__":"b2860cba","commands":{"_":"f010f4bf"},"state":{"_":"930c8b4a"},"properties":{"_":"9b655bb0"},"skeds":{"_":"3ee47c2b"},"vrc":{"_":"98ef2f4f"}}
Bond-Get_Device_Details - name: Rear, location: Family Room, Device_ID: 5cc70a7d4f5d17e3, Actions: "Close","DecreasePosition","Hold","IncreasePosition","Open","Pair","PairAlt","SetPosition","Stop","ToggleOpen"
Bond-Get_Devices_List - Device json: ,"94e1e4dce9a7c804":{"_":"867a9e91"}, Device_ID: 94e1e4dce9a7c804
Bond-Get_Device_Details - URL:
Bond-Get_Device_Details - response.ContentString: {"name":"Door","type":"MS","location":"Family Room","template":"RMS35","subtype":"ROLLER_SHADE","actions":["Close","DecreasePosition","Hold","IncreasePosition","Open","Pair","PairAlt","SetPosition","Stop","ToggleOpen"],"_":"86
Bond-Get_Device_Details - 7a9e91","__":"d2fa2039","commands":{"_":"1d5c594d"},"state":{"_":"7d62d0a9"},"properties":{"_":"7a21fd23"},"skeds":{"_":"77454da6"},"vrc":{"_":"98ef2f4f"}}
Device_Details.Parse - {"name":"Door","type":"MS","location":"Family Room","template":"RMS35","subtype":"ROLLER_SHADE","actions":["Close","DecreasePosition","Hold","IncreasePosition","Open","Pair","PairAlt","SetPosition","Stop","ToggleOpen"],"_":"867a9e91","__":"d2fa2039","commands":{"_":"1d5c594d"},"state":{"_":"7d62d0a9"},"properties":{"_":"7a21fd23"},"skeds":{"_":"77454da6"},"vrc":{"_":"98ef2f4f"}}

This goes on for more devices but I only showed the first few, the devices includes shades and fans.? The shades are a mix of vendors but I don't think that matters.

-------------------------------------------------------------------

Program 5 - (Smart by Bond)

DIN-AP3MEX>Bond-Get_Devices_List - URL:
Bond-Get_Devices_List - Error Getting List of Devices: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
? ?at System.Net.Sockets.Socket.ConnectNoCheck(EndPoint remoteEP)
? ?at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
? ?at Crestron.SimplSharp.Net.Connection.DataSocketConnect(EndPoint aEndPoint)
? ?at Crestron.SimplSharp.Net.Connection.Connect(IPAddress aIPAddress, Int32 aPort)
? ?at Crestron.SimplSharp.Net.Client.GetConnection(IPAddress aHost, Int32 aPort)
? ?at Crestron.SimplSharp.Net.Client.Connect(IPAddress aHost, Int32 aPort)
? ?at Crestron.SimplSharp.Net.Client.Connect(String aHost, Int32 aPort)
? ?at Crestron.SimplSharp.Net.Http.HttpClient.GetHttpConnection(Boolean aSecure, String aHost, Int32 aPort)
? ?at Crestron.SimplSharp.Net.Http.HttpClient.TryDispatch(HttpClientRequest aRequest)
? ?at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch(HttpClientRequest aRequest)
? ?at Bond_Integration.Bond.Get_Devices_List()
? ?at Bond_Integration.Bond.Initialize(String Bond_IP, String Token, Int16 Support_Sidekicks, Int16 Debug)
? ?at UserModule_BOND_COMM_MANAGER_V2.UserModuleClass_BOND_COMM_MANAGER_V2.INIT_OnPush_0(Object __EventInfo__)
? ?at Amib.Threading.Internal.WorkItem.o()
? ?at Amib.Threading.Internal.WorkItem.Execute()
? ?at Amib.Threading.SmartThreadPool.e(WorkItem A_0)
? ?at Amib.Threading.SmartThreadPool.p()
Bond-Initialize - SUCCESS


Thanks for looking at this!
Jay

Join [email protected] to automatically receive all group messages.