Open cplensdorf opened 5 years ago
@cplensdorf I notice the same issue. If I found a solution I will post it here.
I may have found the issue. It looks like Smartthings added a limit of how much data you can pass to an event. Request that goes through the hub happened to be handle as HubEvents in locationHandler(). The data returned is truncated: https://community.smartthings.com/t/event-data-limits/154109
I'm not sure that we can get an easy fix.
After some more research it seems that the data is truncated for some other reason. I will need to look into Synology API to see if we can reduce the number of data it returns
Thx zzarbi.. anything you can do would be appreciated!
@cplensdorf I found a solution by using a newer version of the Synology API in #10. It's only one line it works for me. However I suspect you might need to have the latest version of Surveillance Station.
@cplensdorf I found a solution by using a newer version of the Synology API in #10. It's only one line it works for me. However I suspect you might need to have the latest version of Surveillance Station.
How do I use the newer API? I updated my surveillance station but still can't find cameras. Sorry for my ignorance, I no nothing about code.
@baltazarmitch you can look at this open PR: https://github.com/st-swanny/smartthings/pull/10 and then you'll need to update the code in Smartthings
I still get this error (after more device details are returned than before) with the PR #10 fix :(
java.lang.RuntimeException: bad character in base64 value @line 416 (locationHandler)
Hoping anyone can assist...I have been able to install the Synology Connect App but am unable to connect to my Synology server. See the following error in the log:
4:28:54 PM: error java.lang.RuntimeException: bad character in base64 value @line 831 (locationHandler)
Not sure where to go. Not a programmer.
Thx.