Add 6 and 12 hour timescale options to the Power Meter (on web app)

On the web app, the Power Meter page offers the following timescales:
15 mins, Hour, Day, Week, Month

Those are all useful in their own way, but I would like to add 6 and 12 hour options. I think these would be helpful for certain types of power tracking and troubleshooting.

Related to this, I think it would also be helpful to have set time frames that aren’t dependent on the current time of day. For example, if there was a 6am to 6pm option, that would cover a typical day’s solar production window, and give you a nice clear visual of a day’s production and consumption. Currently the only way to approximate this is to use the day view to see a full 24 hr cycle.

I think another interesting timescale would be the entire solar production window for a day, based on when sense detects wattage coming from the PV system. So this custom solar timescale would vary in length depending on the time of year.

If you are worried about the interface becoming too cluttered with all of the time scale options, you could add a page in settings where the user can choose to display only the ones they want to see. I personally would turn off Month view, as I don’t find it too useful.

If you want to get really fancy about it, you could look at the timescales that people manually zoom to view in the app (assuming you collect that data), and use that data to inform which timescale options to add.

1 Like

The web app is more versatile than you might think. You can select whatever viewing window you want by constructing a URL with the start and end times. Try this one - its should show you a nice solar window for 6AM-8PM (in your local timezone) for July 5th, 2019.

https://home.sense.com/meter?start=2019-07-05T06:00:00&end=2019-07-05T20:00:00

It may seem clunky, but you can generate these URLs programmatically or in Excel.
You can also do some really cool stuff programmatically with a programing web interface like Selenium - For instance, capturing custom web app snapshots from dawn to dusk for a range of days.

2 Likes

Ah, neat, thanks for showing me that! Seems like the existing time scale links are just custom URLs like you created, so adding more of them should be trivially simple, and it seems like allowing the user to create custom time scales would also be possible.

1 Like

You are welcome. You’re right, the pre-programed windows are just custom URLs that use a a system call to create the start and end times. But I wouldn’t count on Sense to implement user configurable time windows. Just use expert features like this to grab the viewing data you really want.

This is a nifty little hack that can work well in the interim. I’m going to write up a little help article about it.

1 Like

Drafted this up. You can find it at help.sense.com.

1 Like

Hi Ryan,

Looks good! The color coded start and end times with brackets graphic is nice. An error to correct- in the two example links at the end of the article, they each have a space at the end that causes the link not to work. Delete the space and they work fine.

I would also suggest a 6 hour example instead of a 6 month example, as a 6 month graph looks pretty ugly. It would also be good to have one example show modification of the date, and the other show modification of the time. The two week example looks great, keep that one.

2 Likes

shumakerstephen… When I goto the web app meter, I pick the nearest time slot that I wish to look at then use my wheeled mouse to expand or contract the time window. Make sure though you hit the ‘Now’ balloon if you which to use ‘Now’ as your datum. Pulling the wheel top toward you will expand the window. Away will close (lessen) the window or time you are looking at. my 2 cents… Gerry

Sorry I should add to make sure your mouse pointer is in the time/data window when you spin the wheel to change the min/max time display…

Yes, I understand that you can adjust the viewing window like that (on a laptop touchpad it uses the pinch/zoom gesture, same as on the mobile app). Still, I find that to be somewhat clunky, it is tough to dial in a viewing window with any accuracy.

I still stand by this request, as I think 6 and 12 hour quick link options would be very useful.