These electrical outlets are becoming more popular, cheaper and loaded with features that you should take advantage of
They are usually supplied with their own system to drive/read their status
Do you know how to pilot its operation and read its status by completely avoiding using the manufacturer's proprietary apps/websites?
If you are willing to take the time, I suggest setting up a (open source) HomeAssistant Server (very easy to do with a RPI or any Linux Box or even a Windows Computer). HomeAssistant supports almost every type of device out there and provides a great API to access your devices.