Self Powered ESP32 Proxy

I want to use ESP32’s as BL proxies but the main problem is hiding them and providing them with power. There are a couple of ready made proxies on here and here but I dont know what hardware is being used. I had considered using a standard Apple style 2.1 amp charger like this


along with a USB A to USB c U adapter like this

with the Seed ESP32C3

to protect it it then requires a small cover probably 3d printed.
One of the considerations is the orientation of the USB A socket and choosing the correct U adapter from AliExpress and ensuring the reach of the adapter is sufficient to clear the plastic housing of the apple charger. Has anyone done anything similar and did you have any obstacles to overcome?

I would also be somewhat worried interference from the plug will hamper wifi and bluetooth. I’d try it out using a small wire first. But I guess you try to avoid it using an external antenna, seeing the model esp you chose does not have an onboard one?

Luckily I could always find spots to use a small wire and hide the ESP’s.

You could just use a smart plug. That way it’s already in a nice package, it doesn’t block an outlet, and you get extra functionality if you want it.

For example:

Good point about antenna. I might have to look for another one with bult in antenna.

Thanks @mekaneck . I did wonder about using a smart plug. I believe Shelly make one but also saw these on Aliexpress. There are others that are pre-flashed with Tasmota but I’m not sure Tasmota is compatible with ESPHome which would mean re-flashing the firmware.
I’m in UK so need a 13 amp pin configuration

Here’s another idea just in case.

Replace the socket with one that has usb built in & use a 90 degree usb adapter. Plenty of reputable UK manufacturers make these in usb A & C versions for both single & double sockets.

Thanks @ShadowFist Funnily enough I thought about that after seeing the esp32 devices on eBay in my initial post.
My only issue is that all my sockets are either brass or MK screwless which are v expensive to replace with those having USB. However you make a very good point.

Shelliy smart plugs do not need to be flashed with Tasmota. The newer models have Bluetooth proxy built in, so that is a very good suggestion.

One thing to be aware of: as a bluetooth proxy they are fine for proxying passive devices such as thermometers, BLE trackers, etc. But shellies do not support active connections. So for instance operating devices like curtains or fingerbots though them is not an option. For that you’d need something else.

Check whether you can find something cheaper that matches from Varilight. Happened to be browsing their site earlier this week and they have usb sockets in brass or screwless finishes. Not sure about both at once though.

If you decide to go with your original idea, M5Stack NanoC6 or S3 Lite are cheap and save you from printing.

:+1: @Karosm Thanks for suggestion

There is a UK option from Athom, but Shelley is a great option too.

The link to the ones on eBay would likely work but I have no familiarity with that brand.