Stacked power plot for Always-on, ID's appliances, and other?


#1

Any plans to make a plot like the one below with the data Sense already has? Since the appliances, always-on, and other already have their time series, this would be a faster way to check what’s going on, make sure Sense is identifying things correctly, etc.


#2

Yes, please. This would be amazing!

The closest functionality I find currently is in the trends > usage graph that shows how a single device stacked in with the total usage.


#3

Thanks, I hadn’t found that one before, it’s useful.


#4

I’m guessing that you don’t really want all devices as a stack - maybe rolled up into categories or top 10… Here’s what it looks like when you have lots of identified devices:


#5

Top 10 or by categories would be fine. Note that if this was done in the real-time power display, typically many fewer devices would be active at one time.


#6

@jlj.pers,
I’m not sure your supposition about active devices is entirely correct:

  • thanks to smartplugs, I have 25 or so “active” devices as a baseline at any one time.
  • I’ll typically have another 10 or so identified devices come on within any one hour
  • that number goes to 25 identified devices if you look at at a real-time
    window of 24 hours, 50 total…

So even with real-time, things probably need to be dialed back to top 10 plus other.


#7

Wow, I didn’t realize that some folks were getting so many plugs. Point taken. I just got my first HS110 yesterday, so maybe I’ll get in your league in a few months.

But yes, showing the top 10 or something like that (top 7? Depends how crowded the graphs get) would be extremely useful. So show 10 individual devices, other-identified, other-unidentified, and always-on, all stacked.


#8

I like your designations… I’ll try to prototype using exported data, either today or tomorrow.

ps: I had a half dozen HS110s prior to the integration. Throw in a couple of HS300s at 6 devices per pop and a few more HS110s and you are at 25 pretty quickly.


#9

Do the HS300s monitor the devices in each outlet separately? Or only the total power from all devices on the strip?


#10

Each outlet is a separate device in both Kasa and Sense-land. My only advice is that there isn’t that great an ROI to to replace an outlet strip connected to an HS110 with an HS300 if you have mostly networking stuff on the strip. All the networking equipment (router/switch/access point/base station/bridges) have very flat power utilization. Better to treat them all as one “virtual device”.


#11

Here’s what a top 10 for daily usage on a per day basis over a 4 month window would look like:


#12

Thanks, very useful!

My only comment is that I would put the less variable ones on the bottom, e.g. always on. And then the most variable ones on top. That way the plot would be easier to read, now it seems that the red is very variable, but it is pretty constant really.

So you (or Sense) could compute the Std Dev of all the points in time for each of them, and calculate the relative std dev (Std Dev / Mean) and stack them with the lowest RSD at the bottom and then by increasing RSD. Except always on probably should always be at the very bottom.

(Not asking what you do this with your plot, though I’d surely be curious to see it if you did … :wink:


#13

Reasonable suggestion… R and ggplot are built to do this stuff kind of easily. The trickiest part is blending the special cases (Always On) into the mix.

Sure enough… Looks better:

And here’s the R code

SimplePlot2.R (4.0 KB)