A software cable box that works with any provider. Siri and Homekit enabled.
This is heavily based on the URLs you use for stations not changing. I'm not sure how often they change on YoutubeTV, but they seem to be the same over the past few days. Depends on chromix-too and coffeescript currently, since it chromix-too's examples are in it.
Hey Siri, turn TV on
This is fairly straight forward with SSH and Shortcuts app. The open
command works out of the box:
open -a "/Applications/Google Chrome" https://tv.youtube.com
Hey Siri, change to CNN
Using chromix-too we can create a generic server to proxy commands to Chrome. Currently I'm leveraging this as much as possible, but will look to eventually writing a custom extension.
Once chromix-too extension is installed, server running, and client module installed we can script against it. From their issues I am using a script to change channels:
coffee change-channel.coffee https://tv.youtube.com/watch/channelId
coffee next-channel.coffee
coffee mute.coffee
coffee turn-off.coffee
/usr/local/bin/node /where/coffeescript/is /where/this/script/change-channel.coffee https://tv.youtube.com/watch/channelId
Next steps:
- More detailed Siri Shortcuts steps
- Detect commercials
- WebRTC sharing (party mode)