Announcement

Collapse
No announcement yet.

Set Device to Other Device Not Working with Chromecast

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

    Set Device to Other Device Not Working with Chromecast

    I am using an event from HSTouch that is supposed to increase the volume by 1 (and another one by 5) of my Chromecast devices via the HS Chromecast plugin. So in he event I am using "Set device to another device" and select the volume and then add 1 to it (or 5 for the +5 event). However, it doesn't really work. Well, sometimes it works. In the screenshot below it didn't increase from 0 to 1. Initially it did increase but not beyond 2. The volume device allows values up to 100. Why is this not (always) working?

    Click image for larger version

Name:	EasyTrigger+1.png
Views:	140
Size:	25.6 KB
ID:	1415483

    #2
    please post a screenshot of your events, and the id of your devices.

    Comment


      #3
      ​​​​​Please see below. In HSTouch I clicked on the +1 button twice which triggers the event "Audio/Video Volume +1". That in return call the event "Audio/Video Volume +1 - Office". That event then increases the volume. This indeed happens as can be seen from the log. However, the volume was actually on 25 so despite the fact that the log says it was increased to 26 that really didn't happen. That can also be seen from the second button press. If it really had increased the volume then the volume would now be on 26 and it should say that it increases it to 27. However, because the volume is still on 25 it again says it sets it to 25.

      The debug logs for the device 853, 849 and 854 can be ignored. These are other features that the Chromecast device updates. Interestingly, the volume device is not among them. Maybe that's just to avoid endless loops. 159 is a completely other device and just happened to be in between.

      Click image for larger version

Name:	events.png
Views:	105
Size:	42.4 KB
ID:	1416768

      This event currently looks useless but it will be expanded later on one I get one audio zone to work.
      Click image for larger version

Name:	VolumePlus1.png
Views:	65
Size:	12.5 KB
ID:	1416770

      This event uses the Easy Trigger plugin.
      Click image for larger version

Name:	VolumeOfficePlus1.png
Views:	79
Size:	20.1 KB
ID:	1416769

      The Volume (848) device is the one being updated in the event.
      Click image for larger version

Name:	Devices.png
Views:	76
Size:	84.4 KB
ID:	1416771

      Comment


        #4
        I can reproduce a problem when doing +1 due to a rounding problem in the Chromecast plugin, but when doing +2 or +5 it works just fine for me.

        The rounding problem in chromecast will be fixed in the next update.

        Comment


          #5
          Great! Thanks a lot for the quick response.

          Comment


            #6
            This problem has been fixed in version 4.0.14 which is available as a beta version

            Comment


              #7
              Great! Thank you!

              Comment


                #8
                I tested it and it's working. Thanks again!

                Comment

                Working...
                X