I have a bunch of Chromecast devices that I want to control from HSTouch. My first implementation (not finished yet) allows me to select one of those Chromecast devices. I then copy the status of that particular Chromecast into a virtual device for title, a virtual device for artist, etc. It just occurred to me that this wasn't a smart way to do this. The problem is that now each HSTouch client shows the same Chromecast device. However, each client controls a different Chromecast and I don't know in advance which client controls which Chromecast. I could have multiple Audio devices, one for each Chromecast and then simply show the screen corresponding with the selected Chromecast device. But I have 8 Chromecast devices, not counting the AVR and TVs. I really don't feel like creating and managing that many screens. Is there another way to accomplish this?
Announcement
Collapse
No announcement yet.
Different Clients Controlling Different Chromecasts
Collapse
X
-
Guest
Are you aware of the zipcode trick used to identify which tablet is making the request to the HS server? It will require a tiny bit of scripting, but works great.
-
I have read about this but I am not sure how that would help for my scenario. My music screen will show different music information depending on what Chromecast was selected on that client. It might work if I have separate Title, Artist, Album, etc virtual devices for each client but then each time I have a new client (like a visitor) I would have to create a new virtual devices. Maybe I am missing something but I don't quite see how I could get this working with this trick.
Btw, I do think that client name information should be accessible from HS events.
Comment
-
Guest
Originally posted by mulu View PostBtw, I do think that client name information should be accessible from HS events.
By using virtual switches and some creative scripting you probably can accomplish what you want. But will require some extensive scripting though. With the zipcode trick, your script will at least know which client is doing what, and can accommodate that specific client.
Comment
Comment