-
Notifications
You must be signed in to change notification settings - Fork 452
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
Harman Luxury Change from REST HTTP API to WebSckets #1433
Harman Luxury Change from REST HTTP API to WebSckets #1433
Commits on Jul 2, 2024
-
remove media presents for MA AVRs
Harman decision applied on device and now propagated to SmartThings Signed-off-by: alon-tchelet <alon.tchelet@streamunlimited.com>
Configuration menu - View commit details
-
Copy full SHA for cbac968 - Browse repository at this point
Copy the full SHA cbac968View commit details -
Harman don't want it and don't plan to use it in the future Signed-off-by: alon-tchelet <alon.tchelet@streamunlimited.com>
Configuration menu - View commit details
-
Copy full SHA for 72cc6a5 - Browse repository at this point
Copy the full SHA 72cc6a5View commit details -
add lustre/ws.lua so we can fix small bug in library
We are moving the device communications between the hub and the device to WebSockets. Until the ST lustre library WebSocket keep_alive ping bug is resolved, this lustre/ws.lua will be used instead. Signed-off-by: alon-tchelet <alon.tchelet@streamunlimited.com>
Configuration menu - View commit details
-
Copy full SHA for ef2c382 - Browse repository at this point
Copy the full SHA ef2c382View commit details -
add a specific timeout error handler in REST HTTP reply handler
Signed-off-by: alon-tchelet <alon.tchelet@streamunlimited.com>
Configuration menu - View commit details
-
Copy full SHA for 7666603 - Browse repository at this point
Copy the full SHA 7666603View commit details -
the removed APIs are no longer used after moving to WebSockets Signed-off-by: alon-tchelet <alon.tchelet@streamunlimited.com>
Configuration menu - View commit details
-
Copy full SHA for 0a35f4b - Browse repository at this point
Copy the full SHA 0a35f4bView commit details -
move credential generation to device side
this is done to further match the discovery behaviour to the example code and to return the handshake process control to the device. Signed-off-by: alon-tchelet <alon.tchelet@streamunlimited.com>
Configuration menu - View commit details
-
Copy full SHA for d2467c1 - Browse repository at this point
Copy the full SHA d2467c1View commit details -
change communications from REST HTTP API to WebSockets
The REST HTTP API polling was creating too much conjunction and was unreliable at time (especially in weaker networks). Hence, we changed the whole communication set up between the hub and the device to WebSockets. With the exception of fetching the device information at discovery, the rest of the communication is done through a WebSocket. We implemented a JSON protocol that tries to replicate the native SmartThings capabilities' table structures and the offline/online logic is now handled fully by the WebSocket connection status. Moreover, a lot of old and no longer used functions and namings have been modified or deleted altogether. Signed-off-by: alon-tchelet <alon.tchelet@streamunlimited.com>
Configuration menu - View commit details
-
Copy full SHA for b8073c1 - Browse repository at this point
Copy the full SHA b8073c1View commit details -
fix handleReply function documentation
Signed-off-by: alon-tchelet <alon.tchelet@streamunlimited.com>
Configuration menu - View commit details
-
Copy full SHA for a3dc9a6 - Browse repository at this point
Copy the full SHA a3dc9a6View commit details