Whilst I appreciate the ingenuity, I'm disappointed that it's necessary. The whole point of the Pi is the easy access GPIO pins. Things are even worse with the Pi 5.What I did some time ago as lirc "disappeared" was to have buttons on a Pi3 web server which send "key" commands (on/off/ Rewind etc.) via MQTT to an esp8266 (D1mini) which sends the IR Code, driving my IR LED via a 2N2222 transistor.
The D1mini sketch uses the excellent IRremoteESP8266 library - that might work with your Swann codes?
(The red LED is there to show flashes when you have sent a command)
Having said that, I have a similar solution for my a/c, using ESPeasy. It's handy to have the IR LED somewhere on wifi, and not require the Pi to be near the a/c unit, or have long wires from the Pi to the LED.
Statistics: Posted by ame — Wed Jun 12, 2024 9:52 pm