Send Energy Data to Thingspeak cloud

Send energy metering data in watts to Thingspeak cloud

This Shelly GEN2 script automates sending energy consumption data (in watts) to the Thingspeak cloud platform via HTTP POST requests. The script collects the active power (watts) from a Shelly switch, formats it into a JSON object, and sends it to Thingspeak at customizable intervals. With easy API key configuration and the ability to send additional data like temperature, this script provides a simple solution for energy monitoring and integration with external platforms.