Those would need a lot of work and you’d have buy a power source and case as well, so not a good choice.
See the profile FAQ (the topic title is a clickable Link)
A much easier and likely less expensive choice is just to get the IKEA Tradfri plug in pocketsocket. When purchased directly from
IKEA it is only £10 , works out of the box with SmartThings, can also be used as a smart socket, and has the requisite residential safety certifications.
And it’s a very reliable zigbee repeater for the protocols that SmartThings uses, including for Xioami sensors.