Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 1.09 KB

File metadata and controls

17 lines (11 loc) · 1.09 KB

Shelly Plus Power Profiling

Use the scripting feature of Shelly Plus and later devices to record power profiles that can be seen in the Firefox Profiler.

Usage

Visit http://shelly.combien-consomme.fr/ or download the index.html file and open it in a web browser.

Note: To have permission to request data from Shelly devices in your local network, the page needs to be either a local file, or hosted on a non-https url.

The shelly-script.js file contains the script that needs to be added to the Shelly Plus device (eg. Shelly PlusPlugS) on which the power metering needs to happen.

Other scripts are provided for specific devices:

  • shelly-script-em.js for devices exposing an energy meter (EM1).
  • shelly-script-powerstrip-gen4.js for the 4-channel Power Strip Gen4 (records each switch separately).
  • shelly-script-plus2pm-cover.js for the Shelly Plus2PM configured in cover/roller mode (records the cover's power, voltage and position).

On the web page, configure the IP address of your Shelly device in your local network (eg. 192.168.1.89) and the script URL.