paranerd Posted August 19 Share Posted August 19 I want to be able to shut off the Shelly Plus Plug S when power consumption is below a certain threshold for a defined period of time. Currently I'm solving this via a Home Assistant automation but was thinking of moving it onto the device itself for reliability. Would this be possible via Shelly Scripts? From what I've found in the documentation I cannot access the power consumption in code. Any suggestions would be appreciated :-) Quote Link to comment Share on other sites More sharing options...
tvbshelly Posted August 19 Share Posted August 19 I believe you can read out the consumption via script with the API for measuring the electrical power. This should work with the Gen2 Plus Plug S. Have a look at the documentation here: https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/PM1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.