Announcement

Collapse
No announcement yet.

Nexus Player and Chromecast audio show disconnected all the time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Nexus Player and Chromecast audio show disconnected all the time

    Hi, looking for a point in the right direction on this issue. I have a new build of Homeseer that I'm trying out to replace my Vera box.. must say I've loving it so far. I've got 3 Chromecast devices only 2 of which are active on the LAN at present. Both are never showing as connected but earlier today I did see the status was updated on the Nexus player when both Youtube and Plex when in use but I don't think the play/pause controls worked. Just now I've had the Chromecast Audio connected up for 2 hours and its not updating at all. Again all still showing as Disconnected. I've also turned off the "Last Change time" option and they don't seem to be being polled very often. Over 90 minutes ago at present.


    Current Date/Time: 2/11/2018 11:43:00 PM
    HomeSeer Version: HS3 Pro Edition 3.0.0.368
    Linux version: Linux HomeSeer 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux System Uptime: 2 Days 15 Hours 14 Minutes 59 Seconds
    IP Address: 172.30.1.17
    Number of Devices: 117
    Number of Events: 4
    Available Threads: 200

    Enabled Plug-Ins
    3.0.0.12: Chromecast
    3.0.0.28: ImperiHome
    3.0.1.190: Z-Wave


    less /home/mark/HomeSeer/Config/Chromecast.ini
    [CHROMECASTS]
    9d7973864b1e21735c5bb70bda38f6ef###ipaddress=172.30.1.150
    9d7973864b1e21735c5bb70bda38f6ef###port=8009
    9d7973864b1e21735c5bb70bda38f6ef###name=Nexus Player
    9d7973864b1e21735c5bb70bda38f6ef###type=Nexus Player
    9d7973864b1e21735c5bb70bda38f6ef###enabled=True
    9d7973864b1e21735c5bb70bda38f6ef###online=True
    9d7973864b1e21735c5bb70bda38f6ef###tts=True
    abcd1234###name=ChromeCast
    abcd1234###ipaddress=192.168.1.151
    abcd1234###online=True
    Mabcd1234###name=ChromeCast Audio
    Mabcd1234###type=ChromeCast Audio
    Mabcd1234###ipaddress=192.168.1.152
    Mabcd1234###online=True
    abcd1234###port=8009
    abcd1234###enabled=True
    abcd1234###tts=False

    Networking
    Sonicwall TZ300N, Homeseer and Chromecasts on the same subnet with the Wifi in bridged mode to the LAN subnet. UDP and TCP session times have been set to 5 minutes and 30 minutes respectively. All Chromecasts have static DHCP reservations but just dynamic ARP entries at present.
    The server itself is an ESXi VM on a Dell server running Ubuntu 16.04LTS, I had to install mono-complete in order to get the plugin to work:
    ~$ mono --version
    Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
    Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS: __thread
    SIGSEGV: altstack
    Notifications: epoll
    Architecture: amd64
    Disabled: none
    Misc: softdebug
    LLVM: supported, not enabled.
    GC: sgen

    Log example of me restarting the plugin and mashing the Mute button in the Homeseer web UI:
    Feb-11 22:25:49 Chromecast INFO Connecting to ChromeCast Audio
    Feb-11 22:25:49 Device Control Device: Ground 2nd Lounge Root to Connect (1) by/from: CAPI Control Handler
    Feb-11 22:25:49 Device Control Device: Ground 2nd Lounge Volume to Mute (-1) by/from: CAPI Control Handler
    Feb-11 22:25:48 Device Control Device: Ground 2nd Lounge Volume to Mute (-1) by/from: CAPI Control Handler
    Feb-11 22:25:48 Device Control Device: Ground 2nd Lounge Volume to Mute (-1) by/from: CAPI Control Handler
    Feb-11 22:25:47 Device Control Device: Ground 2nd Lounge Volume to Mute (-1) by/from: CAPI Control Handler
    Feb-11 22:25:07 Chromecast INFO Connecting to ChromeCast Audio
    Feb-11 22:25:06 Chromecast INFO Connecting to ChromeCast
    Feb-11 22:25:06 Chromecast INFO Connecting to Nexus Player
    Feb-11 22:25:05 Plug-In Finished initializing plug-in Chromecast
    Feb-11 22:25:05 Chromecast INFO Chromecast version 3.0.0.12
    Feb-11 22:25:05 Info Plugin Chromecast has connected. IP:127.0.0.1:58330
    Feb-11 22:25:05 Plug-In Interface Chromecast is running as a trial, 28 days remaining.

    Thanks
    Mark

    #2
    did you move Mono.CSharp.dll and CSScriptLibrary.dll as explained in the user guide:
    https://forums.homeseer.com/showthread.php?t=191073

    could you set the log level to Debug. Thanks!

    Comment


      #3
      Hi, thanks for your quick reply and sorry about my late one. YES sorry I forgot to mention that:
      root@HomeSeer:/home/mark/HomeSeer/bin# ls -lh
      total 1.8M
      drwxr-xr-x 2 root root 4.0K Feb 8 13:14 Chromecast
      -rw-r--r-- 1 root root 172K Feb 12 18:55 CSScriptLibrary.dll
      drwxr-xr-x 2 mark mark 4.0K Jul 20 2017 homeseer
      -rwxr-xr-x 1 mark mark 256K Jun 2 2015 HomeSeerUtil.dll
      drwxr-xr-x 2 root root 4.0K Feb 7 10:39 ImperiHome
      -rw-r--r-- 1 root root 1.1M Feb 12 18:56 Mono.CSharp.dll
      -rw-r--r-- 1 mark mark 244K Nov 14 2014 System.Data.SQLite.dll
      drwxr-xr-x 2 root root 4.0K Feb 6 23:53 Z-Wave

      Homeseer is running via sudo -i in the console session by the way,

      these are typical of the debug logs... nothing very interesting I'm afraid. The Nexus player is on all the time but the other two are off unless used... Am I better removing them for now while troubleshooting?


      Feb-13 18:45:39 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:45:39 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:45:39 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:45:35 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:45:35 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:45:34 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:45:29 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:45:29 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:45:29 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:45:24 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:45:24 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:45:24 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:45:19 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:45:19 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:45:19 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:45:14 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:45:14 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:45:14 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:45:09 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:45:09 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:45:09 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:45:04 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:45:04 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:45:04 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:45:02 Updater An item in the Updater is temporarily unavailable: The request timed out Item: http://homeseer.dyndns-remote.com:87...r_override.txt
      Feb-13 18:44:59 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:44:59 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:44:59 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:44:54 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:44:54 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:44:54 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:44:49 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:44:49 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:44:49 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:44:44 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:44:44 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:44:44 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:44:39 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:44:39 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:44:39 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:44:34 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:44:34 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:44:34 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:44:29 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:44:29 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:44:29 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:44:24 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:44:24 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:44:24 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:44:19 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:44:19 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:44:19 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:44:14 Chromecast INFO Connecting to ChromeCast Audio
      Feb-13 18:44:14 Chromecast DEBUG RX: {"type":"PONG"}
      Feb-13 18:44:14 Chromecast DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
      Feb-13 18:44:14 Chromecast DEBUG TX: {"type":"PING"}
      Feb-13 18:44:14 Chromecast DEBUG TX: {"type":"CONNECT"}
      Feb-13 18:44:14 Chromecast INFO Connecting to ChromeCast
      Feb-13 18:44:13 Chromecast INFO Connecting to Nexus Player
      Feb-13 18:44:13 Updater An item in the Updater is temporarily unavailable: The request timed out Item: http://homeseer.dyndns-remote.com:87...r_override.txt
      Feb-13 18:44:13 Plug-In Finished initializing plug-in Chromecast
      Feb-13 18:44:12 Chromecast INFO Chromecast version 3.0.0.12
      Feb-13 18:44:12 Info Plugin Chromecast has connected. IP:127.0.0.1:32840

      Comment


        #4
        Originally posted by markg View Post
        Hi, thanks for your quick reply and sorry about my late one. YES sorry I forgot to mention that:
        root@HomeSeer:/home/mark/HomeSeer/bin# ls -lh
        total 1.8M
        drwxr-xr-x 2 root root 4.0K Feb 8 13:14 Chromecast
        -rw-r--r-- 1 root root 172K Feb 12 18:55 CSScriptLibrary.dll
        drwxr-xr-x 2 mark mark 4.0K Jul 20 2017 homeseer
        -rwxr-xr-x 1 mark mark 256K Jun 2 2015 HomeSeerUtil.dll
        drwxr-xr-x 2 root root 4.0K Feb 7 10:39 ImperiHome
        -rw-r--r-- 1 root root 1.1M Feb 12 18:56 Mono.CSharp.dll
        -rw-r--r-- 1 mark mark 244K Nov 14 2014 System.Data.SQLite.dll
        drwxr-xr-x 2 root root 4.0K Feb 6 23:53 Z-Wave
        Did you delete Mono.CSharp.dll and CSScriptLibrary.dll from the HomeSeer root dir? Copying them is not enough, they must NOT be in the Homeseer dir.

        Comment


          #5
          Originally posted by spud View Post
          Did you delete Mono.CSharp.dll and CSScriptLibrary.dll from the HomeSeer root dir? Copying them is not enough, they must NOT be in the Homeseer dir.
          Oh wow. OK feel like such a fool. All working fine now I removed those files! I'd love to know why it works that way but thats just the engineer in me. Thanks again so much for your help!

          I'm definitely a converted Vera user now. Really liking the robustness and flexibility in Homeseer and the variety of plugins and support such as this.

          Thanks again!

          Comment

          Working...
          X