PowerCable is an industrial smart power extension cable with a WiFi connection to a LAN. Its web interface can be used to display the energy metering values (V, A, kWh, W, Hz, TruePF) and turn on/off the controlled output power socket.
PowerCable REST 101x can be used for industrial applications. The product operates in a wide temperature range, supports FW upgrades over the web, can be controlled using a documented API, supports accurate energy metering, is capable of switching up to 16A when the current crosses the zero level, and more.
M2M API: Open interface (http)
PowerCable REST 101x can be controlled with one of 3 different M2M protocols that communicate over http (default port 80) and can be protected with a password.
REST protocols are intended for use in a local-area network, and are popular especially in IT applications.
The JSON and XML protocols use a text file transferred using http get/post. In this way, it is easy to measure energy consumption and control the output from a Raspberry PI, Node-RED or other applications, such as smart home or automation apps.