I was wondering how smart plugs work, how they can be controlled and how secure they are.
Since they are part of your local network and since they can be controlled remotely even from another network I am expecting they have have some port-forwarding method: do they? If not how can they be controlled from outside?
Isn't port-forwarding a little insecure for controlling these kinds of applications?
Do they use RESTful APIs? If so can I control them using for example Postman?
I checked if the ones I have any kind of API documentation but I could not find anything.