![]() Roomie Remote of course! I don't think you need anything more then the free app, but you do need to have it setup to sync to a destination you can control.For Raspberry Pi, you can get builds from Dave Cheney's website. Go needs to be installed on your device of choice.I have one for my dedicated HTPC and it works really well! The Raspberry Pi has one built in already but if you don't want that you can get one from Pulse-Eight that connects via USB. A Raspberry Pi, or a computer, connected to your TV/amplifier/your output source, with a CEC adapter.I guess it's just the excitement levels) Instructions Requirements (also, why did I just write this novel in a README file. I was happy, Roomie was happy, my PS4 was happy since it wasn't being left on accidentially all the time anymore! So here we are. A fully working, generic implementation of a property list covering all of the codes, including some edge cases and extra functionality (like HDMI input switching). After a few hours troubleshooting and coming up with a perfect property list, I had it. It was so much faster! Everything worked! Exclamation points! I quickly wrote up a property list with all of the supported CEC commands (thankfully, he already had wrote a map of human readable commands to hex values). ![]() Within a few minutes I was up and running with Go on my Raspberry Pi and compiled cec-web.go. Finally! Someone did some of my work for me! Roomie knows how to speak HTTP, so this was a match made in heaven. As I was looking around again for ideas, I finally found my answer to all my problems: cec-web another project by chbmuc. I kept banging my head against the wall and made some good progress on a Go implementation of a TCP server that is connected to cec.go, but I realized that it wouldn't work that well, and I could make life a lot easier. This looks great! I haven't done much work with Go except a very short stint years ago when it was very young, but I'll give it a try. I started looking around for a new solution and stumbled onto cec.go by chbmuc. In addition, node doesn't seem to run so well on Raspberry Pi and requires work to set it up and get the modules installed. It proved fruitless so I quickly gave up. ![]() Initially, I tried using adammw's node-cec since Node.js is my favorite language (yay Javascript!) and spent a few weeks banging my head against the wall, trying to read C code and understand how to make things work. I would have to restart my scripts every few days, it was sometimes prone to lag, and just wasn't a clean solution overall. ![]() Namely, it's really a giant hack that pipes TCP input into socat which then sends it onto cec-client from the libcec project. I was pretty happy, as I was controlling my TV and now my PS4 with Roomie and it worked pretty well.Īfter using this setup for a few months now, I had found quite a few issues with it. I forked his project into my own cecd and quickly wasted a few hours learning all about CEC and building a bigger property list with more commands added. I realized that this was a great solution, and I already had a Pi hooked up to my TV serving as a Plex client anyway! I quickly cloned his project, cecd and with a few minutes of work was amazed that I was controlling my TV through Roomie, and it was pretty fast! However, I was hungry for more. So, I started looking around for a solution and found a post on the Roomie forums by jasmas, explaining that he had set up a bridge between Roomie and HDMI-CEC through his Raspberry Pi to control devices in his setup that didn't have native Roomie support. After purchasing a PS4, I became annoyed that I couldn't do simple things like turn it on and off remotely through Roomie. One of the only things that I don't like is that they don't have 1000 developers working 24/7 to reverse engineer arcane control protocols for all my devices, like the Sony PlayStation 4 or the Apple TV (although the recently got great support for the latter!). This project provides property lists describing devices that can be used with Roomie Remote (a home theater remote control for iOS) in tandem with cec-web (RESTful webservice to control devices via the CEC bus in HDMI) Why?
0 Comments
Leave a Reply. |