Hello to everyone! :) I use the RPi Zero as a mediacenter with LibreElec and I've already and successfully connected an IR remote to GPIO to control it but I still can't turn it on by remote but just plugging a power supply in as by design. I know there are several hats around which do what I want but my question is another. I've also found this product:
https://powerpractical.com/products/luminoodle-usb-switch
which is essentially an IR switch and potentiometer for a led strip but if you look at the product brief it should be suitable to turn on and off a RPi too. Given that it is essentially what I was saying, what about something like this one?
https://www.aliexpress.com/item/1005001884693662.html?_randl_currency=USD
It costs a fifth and it should still do the job. The 4 pin output connector is made by the 5V rail and one each for the three colours (R, G, B) and eventually I would use the 5V rail only. Another question: could a RPi be powered through GPIO using the 5V pin or just by USB? Thanks in advance for your advices and have a nice day! :)