I'm currently evaluating your plugin and really love the features, but it is very unstable in regards to connection with my 2 CS!
Hopefully, these bugs can be fixed, if not it won't be worth it for me to buy it.
HomeSeer Version: HS3 Standard Edition 3.0.0.435
Linux version: Linux hs3 4.4.0-128-generic #154-Ubuntu SMP Fri May 25 14:14:58 UTC 2018 i686 i686 i686 GNU/Linux System Uptime: 25 Days 21 Hours 25 Minutes 50 Seconds
3.0.0.21: Chromecast
Issue no 1:
I have Chromecast gen 2. It's powered by a USB-connection on a TV and the TV i powered through a wallplug. Most of the time, the wall plug is off and the CS is disconnected (without power). But the Root-device in HS for this CS is "Connected", even 24 hours after the power is switched off!
The TV was on and at 08:03:40 I switched off the wallplug:
As you see, even 2-3 minutes later, it keeps pinging the CS without detecting it is disconnected.
Issue no 2:
I have a Chromecast Audio. It is powered on all the time. I've tried to "speak" to it and cast a file to them once today and once yesterday. It doesn't react and this is in the log:
If I do a "disconnect" and "connect" on the Root-device, I'm usually able to cast to it again.
Let me know if you need more information.
Hopefully, these bugs can be fixed, if not it won't be worth it for me to buy it.
HomeSeer Version: HS3 Standard Edition 3.0.0.435
Linux version: Linux hs3 4.4.0-128-generic #154-Ubuntu SMP Fri May 25 14:14:58 UTC 2018 i686 i686 i686 GNU/Linux System Uptime: 25 Days 21 Hours 25 Minutes 50 Seconds
3.0.0.21: Chromecast
Issue no 1:
I have Chromecast gen 2. It's powered by a USB-connection on a TV and the TV i powered through a wallplug. Most of the time, the wall plug is off and the CS is disconnected (without power). But the Root-device in HS for this CS is "Connected", even 24 hours after the power is switched off!
The TV was on and at 08:03:40 I switched off the wallplug:
Jul-26 08:07:53 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:48 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:43 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:38 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:33 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:28 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:23 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:18 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:13 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:48 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:43 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:38 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:33 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:28 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:23 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:18 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Jul-26 08:07:13 Chromecast DEBUG TX: { "sourceId": "sender-0", "destinationId": "receiver-0", "namespace": "urn:x-cast:com.google.cast.tp.heartbeat", "payloadUtf8": "{\"type\":\"PING\"}" }
Issue no 2:
I have a Chromecast Audio. It is powered on all the time. I've tried to "speak" to it and cast a file to them once today and once yesterday. It doesn't react and this is in the log:
Jul-26 08:22:53 Chromecast ERROR System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in :0 at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in :0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0009b] in :0 at System.IO.Stream+<>c.b__43_1 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+Co nfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at Mono.Net.Security.MobileAuthenticatedStream+d__66.MoveNext () [0x00104] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+Co nfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at Mono.Net.Security.AsyncProtocolRequest+d__25.MoveNext () [0x000ac] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+Co nfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at Mono.Net.Security.AsyncProtocolRequest+d__24.MoveNext () [0x00093] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+Conf iguredTaskAwaiter.GetResult () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at Mono.Net.Security.AsyncProtocolRequest+d__23.MoveNext () [0x0008b] in :0 --- End of stack trace from previous location where exception was thrown --- at Mono.Net.Security.MobileAuthenticatedStream.CheckThrow (System.Boolean authSuccessCheck, System.Boolean shutdownCheck) [0x00008] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d__58.MoveNext () [0x00011] in :0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Threading.Tasks.Task.Wait () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at Mono.Net.Security.MobileAuthenticatedStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00018] in :0 at System.Net.Security.SslStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00006] in :0 at SharpCaster.Services.ChromecastSocketService+d__7.MoveNext () [0x00049] in <8fffc3d31008426f849c941baf62a52a>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at SharpCaster.Channels.ChromecastChannel+d__10.MoveNext () [0x000c8] in <8fffc3d31008426f849c941baf62a52a>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at SharpCaster.Channels.ReceiverChannel+d__2.MoveNext () [0x0018e] in <8fffc3d31008426f849c941baf62a52a>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at SharpCaster.Controllers.BaseController+d__4.MoveNext () [0x00076] in <8fffc3d31008426f849c941baf62a52a>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at HSPI_Chromecast.ChromecastTarget+d__82.MoveNext () [0x000fa] in <7d6dba71b25549b3832b250d0daa0580>:0 ---> (Inner Exception #0) System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in :0 at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in :0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0009b] in :0 at System.IO.Stream+<>c.b__43_1 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+Co nfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at Mono.Net.Security.MobileAuthenticatedStream+d__66.MoveNext () [0x00104] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+Co nfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at Mono.Net.Security.AsyncProtocolRequest+d__25.MoveNext () [0x000ac] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+Co nfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at Mono.Net.Security.AsyncProtocolRequest+d__24.MoveNext () [0x00093] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+Conf iguredTaskAwaiter.GetResult () [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0 at Mono.Net.Security.AsyncProtocolRequest+d__23.MoveNext () [0x0008b] in :0 --- End of stack trace from previous location where exception was thrown --- at Mono.Net.Security.MobileAuthenticatedStream.CheckThrow (System.Boolean authSuccessCheck, System.Boolean shutdownCheck) [0x00008] in :0 at Mono.Net.Security.MobileAuthenticatedStream+d__58.MoveNext () [0x00011] in :0 <---
Let me know if you need more information.
Comment