Announcement

Collapse
No announcement yet.

Groups and another issue...

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

    Groups and another issue...

    Hi spud ,

    On 4.0.13 and .14, for sure, I am again having group connection issue. The plugin says offline for the group, but if I fire up a zeroconf browser for mdns, it instantly discovers the group.

    Also, when playing an audio file to any chromecast endpoint (one I have chosen in a folder for an event), I get an error saying it can't find the file. It is looking in \HomeSeer HS3\html\Chromecast\audio\ folder, and not in the folder I specified in the event. I am playing this file (a chime, in this case) across both speaker clients and CC clients.

    Let me know how I can help. Thanks.

    #2
    Hi Spud,
    Just wanted to follow up on groups again. I have gone through so many iterations over here, and I just can't seem to get reliable groups with the HS4 plugin. I also get lots of clients falling off.

    I have a client on my phone, and on my LAN PC, which discovers mdns/bonjour devices. The group (and other cast devices) are found immediately, and stay "discovered" in the app. I decided to use the trial period on the other chromecast plugin, and it found the group immediately, while HS plugin does not. I setup 2 events to speak every hour, both with HS plugin and the other one. I alternate which one is first every hour. For days, the other plugin plays TTS with no problem to the group, and the HS plugin never ever works. I check in the settings, and sure enough, red X.

    I am happy to troubleshoot or provide logs to do whatever I can to get this working.

    Thanks

    Comment


      #3
      for the "play audio file" problem please install version 4.0.15 and test again. The plugin is supposed to copy the audio file to html\Chromecast\audio\ because the file needs to be available through the homeseer web server for the chromecast to be able to play it.

      for the group problems, please set the log level to trace from the settings restart the plugin, wait for a file then try to speak something on a group. then send me the Logs/Chromecast.txt file
      Also,
      is HS4 running on Windows or Linux?
      what is your network like? Do you have all the chromecasts and the HS4 server connected to the same network?

      Comment


        #4
        Hi spud ,

        I have been out of town and just got back to this. I updated to .15, and it seemed to be working. I then updated to the new HS4 release from yesterday. Now, I am getting this error when TTS using the HS plugin, whether to individual cast devices or to group:

        Code:
        10/27/2020 6:54:34 PM
        Chromecast
        Error
        System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Convert.ToInt64(String value) at HSPI_Chromecast.GTTSToken.CalculateToken(String text, String seed) at HSPI_Chromecast.ChromecastTarget.SpeakTextEventHandler(Objec t sender, SpeakTextEventArgs args)
        This does not happen with AK plugin BTW.

        To answer your other questions:
        HS4 on Windows
        I pretty much have everything on same network. I have one cast device on a separate VLAN. My plan is to get the groups issue taken care of, then eventually move all of them onto the iot vlan. But want to be sure the plugin issue is resolved. The one on the separate vlan is working perfectly for now, though, with both plugins.

        I guess let me know if the code above helps to solve that issue, then I can get the groups trace log. Let me know if you need the trace for this issue.

        Many thanks.

        Comment


          #5
          Do you still get this FormatException error if you restart the plugin?
          I see what could cause this and I will have it fix, but a restart should help.

          For the groups, yes I still need a Trace logs.

          Comment


            #6
            spud Hi Spud, Just wanted to get back to this. I sent you some trace logs in response to your request, but I just checked and the plugin is still not able to see the IP address for groups here.

            Groups work from wireless devices, and most telling, I can discover the groups on the same HS4 machine (using various mdns browsers) and I can discover and use groups using the AK Cast plugin.

            Code:
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]No IP Address, ignoring service[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]rs = ''[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]nf = '2'[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]bs = 'FA8FCA6B8CBE'[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]st = '0'[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]ca = '199204'[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]fn = 'All Call'[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]ic = '/setup/icon.png'[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]md = 'Google Cast Group'[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]ve = '05'[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]rm = '1EA6CAF47B4037FE'[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]cd = '1426a5ba-c8e6-4b7c-bb01-2bc507082f39'[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]id = '1426a5ba-c8e6-4b7c-bb01-2bc507082f39'[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]port = 32087[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]ID = 192.168.50.1: Google-Cast-Group-1426a5bac8e64b7cbb012bc507082f39[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]IPs(count = 0):[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]7/18/2021 12:21:09 PM[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Chromecast[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Debug[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            [SIZE=16px][COLOR=#212529][FONT=Roboto][FONT=B612 Mono][COLOR=#000000]Found Service: Google-Cast-Group-1426a5bac8e64b7cbb012bc507082f39 -[/COLOR][/FONT][/FONT][/COLOR][/SIZE]
            I am still happy to troubleshoot as much as I can. I am currently announcing/playing by adding each speaker individually, but that is not ideal.

            Thanks,
            Kevin

            Comment

            Working...
            X