by Phil P.
I’m Anavi backer Phil P. I used an Infrared pHAT to remotely control my “non-smart” home entertainment system. I connected the pHAT to a Raspberry Pi to which I can send signals over my LAN or the Internet and control my A/V gear by emulating its remote controls.
Specifically, the setup consists of the following:
Separately, an ngrok tunnel and IFTTT Apps (Google Assistant-Webhook) are used to provide voice-control access from Google Home to the server (e.g., "Hey, Google: TV on"). Irexec is used to monitor infrared commands from any physical remote in order to update the InfraredServer present state.
The challenges for this project included finding the appropriate infrared commands for the devices (e.g., the LG Technician remote codes for separate power-on and power-off), debugging the infrared timing (most remotes send infrared commands twice to ensure the TV and stereo responds), and maintaining "sync" between the server and the actual state of the devices.
The ANAVI pHAT replaced an earlier version of this device which had used discrete components and a breadboard. This greatly improved the range and reliability of the server. The Pi3B+HAT now sit unobtrusively on my media table below the TV and above the stereo. Now, when I ask Google for "Movie Mode," the TV turns on to the right HDMI input and the stereo turns on to the TV input at the same time. I’ve even scheduled the TV to turn on every lunchtime, tuned to the news.
ANAVI Play pHAT is a super simple, low cost open source hardware add-on board for Raspberry Pi with buttons for retro gaming and slots for up to 3 I2C sensor modules.
Make your lights open source and connect your LED strip to the WiFi network with ANAVI Light Controller!
Make your Raspberry Pi bright and shiny with an RGB LED strip and ANAVI Light pHAT!