Announcement

Collapse
No announcement yet.

Local api changing for Google home/Chromecast devices

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

  • Local api changing for Google home/Chromecast devices

    Hi,

    Are you aware of this:

    https://gist.github.com/rithvikvibhu...8453e3be482c1f

    Coming soon to a Chromecast device near you.....

  • #2
    Originally posted by benrjunk View Post
    Are you aware of this:

    https://gist.github.com/rithvikvibhu...8453e3be482c1f

    Coming soon to a Chromecast device near you.....
    I'll do more digging, but from quick look it doesn't look relevant. I'm using mDNS device discovery - every device using mDNS broadcasts its services including port number, etc. So I'm not relying on any "unoficcial" API.

    Comment


    • #3
      I don't believe this is just for device discovery - also status updates.

      Comment


      • #4
        Originally posted by benrjunk View Post
        I don't believe this is just for device discovery - also status updates.
        No, that's what device discovery does - mDNS supported device advertises it's available services, IP address and ports. So even if IP address or port changes - the device will still be found. That's the beauty of mDNS.

        And some devices even use mDNS to broadcast their state (i.e. Sonoff or Wink) - so no polling is even required.

        But I'll still investigate more.

        Comment


        • #5
          Thanks!

          Comment


          • #6
            I can't see how it can affect my plugin. Fingers crossed...

            Comment


            • #7
              Great news, thank you.

              Ok another topic do you think you could enable HDMI CEC control of attached av equipment in your plugin? Chromecast devices do support this feature.

              Comment


              • #8
                Originally posted by benrjunk View Post
                do you think you could enable HDMI CEC control of attached av equipment in your plugin?
                Not sure what exactly you mean? Use CEC from plugin?

                BTW, https://forums.homeseer.com/forum/me...atures-request


                Comment


                • #9
                  Originally posted by alexbk66 View Post
                  Not sure what exactly you mean? Use CEC from plugin?
                  yes, exactly. Can you add a control that sends CEC On and another for CEC Off?

                  I can ask Google home to turn on/off TV (assuming a Chromecast is connected to it) and it does it, so presumably the commands are there.

                  Comment


                  • #10
                    I'll have a look, but as I remember - I haven't seen any API related to CEC

                    Comment


                    • #11
                      I think there's something about it in pychromecast

                      Comment


                      • #12
                        Originally posted by benrjunk View Post
                        I think there's something about it in pychromecast
                        There are requests to add CEC support, but nothing is implemented, I also checked PyChromecast and Home Assistant source. But I'll keep looking, sounds interesting.

                        Comment

                        Working...
                        X