Hi,
i’m using the smartFriends Bridge within Homeassistant with a SH1 Box. I can controll some Shutters but its not working very stable. I found some error messages in the logs. It seems like the API cannot parse the response from the box. Is it possible to enable some debug messages, so i can recognize response which leads to this message?
Error:
fail: SmartFriends.Api.Session[0]
Connection closed
Newtonsoft.Json.JsonReaderException: Additional text encountered after finished reading JSON content: {. Path ‘’, line 2, position 0.
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at SmartFriends.Api.Client.Reader(Object input) in D:\Projects\smartfriends-bridge\source\SmartFriends.Api\Client.cs:line 218
fail: SmartFriends.Api.Session[0]
Refresh failed
null
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at SmartFriends.Api.Client.SendCommand(CommandBase command, Boolean skipEnsure, Int32 timeout) in D:\Projects\smartfriends-bridge\source\SmartFriends.Api\Client.cs:line 174
at SmartFriends.Api.Client.SendAndReceiveCommand[T](CommandBase command, Int32 timeout) in D:\Projects\smartfriends-bridge\source\SmartFriends.Api\Client.cs:line 143
at
I hope that someone has an idea
Tahnk you very much