![]() Ssl_certificate_key /etc/letsencrypt/live/my.domain/privkey. Open a Terminal window (Mac) or Command Prompt (Windows)and enter the following making sure you replace the text with the IP address that you noted earlier. Took some time to install because most tutorials don’t include the ( Raspbian-specific) step of editing boot/config.txt, in which the following line must be uncommented and point to the pin connected to the 10K resistor: One reason I chose a Raspberry Pi over an Arduino was LIRC, an open-source IR remote control software. The IR LEDs were connected with 22 AWG black wire, which stays in place when twisted, and blends well with the black TV and sound bar. The final version was soldered on a tiny piece of protoboard - small enough to fit inside the Raspberry Pi case. Once I realized I also wanted to control the sound bar, the amplifier helped: just added a second LED in parallel, and it worked just as well as the single one, no changes needed to the circuit. I liked that, and went with it for my initial breadboard experiment: But this simple circuit strengthens the signal just by adding a transistor and second resistor. Sure, I could just add an IR LED to an Arduino or a Raspberry Pi (with a resistor, just like we do with regular LEDs on those “blinking LED” tutorials). Mine doesn’t, so I resorted to something that could duplicate the (IR) light signals sent by the remote control. TVs with HDMI-CEC can be controlled and input-switched by Google Home via ChromeCast. Complicated, but works! Hardware: Raspberry Pi + IR LED (+ a few extras) There, nginx triggers some Lua code that runs LIRC, which generates IR signals into a transistor that amplifies them to two IR LEDs. In a nutshell: IFTTT turns Google Home commands into HTTPS requests towards a Raspberry Pi. It is really convenient to control the ChromeCast with it, but turning my (non-smart) TV on/off, or switching the input between different devices still required reaching the remote… Despite my privacy concerns, I could not resist the low price of the Google Home Mini.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |