cht2-2.png

CenHud Outage Trends (Version 2)

CenHud Outage Trends fulfilled a vision I had for a few years - an easy way to see how my local power provider was doing over time with outages during storms.

It was first fully-integrated Flask web application, where the page is rendered on the server, rather than calling external sources from the client.

In early 2020, I updated the project to use UNIX timestamps for data storage, rather than fully formatted dates.

Version 2 had a very messy codebase full of spaghetti. In May 2021, I rewrote the entirety of CenHud Outage Trends, taking it to Version 3.

Lines of code: ~900

Languages: Python, HTML, CSS, JavaScript

Frameworks: Flask, Materialize, Google Charts

Timeframe: July 2019 - May 2021

You can visit this project at chtrends.owenthe.dev.

 Main page of CenHud Outage Trends. The box box shows what it shows, and then the three smaller boxes show the customers trend over 1, 3, 6, and 12 hours, and the same for outages as well. 48-hour records are also provided.

Main page of CenHud Outage Trends. The box box shows what it shows, and then the three smaller boxes show the customers trend over 1, 3, 6, and 12 hours, and the same for outages as well. 48-hour records are also provided.

 CenHud Outage Trends wouldn’t be complete without a pretty looking graph! This is a graph from a multi-day outage event that caused a lot of outages.  Since I decided to use Material Google Charts (which is still in beta, somehow), dual Y-Axis isn’t

CenHud Outage Trends wouldn’t be complete without a pretty looking graph! This is a graph from a multi-day outage event that caused a lot of outages.

Since I decided to use Material Google Charts (which is still in beta, somehow), dual Y-Axis isn’t working properly. Since outages usually pale in comparison to customers out, you can select to just show customers out or outages.

In future versions of CenHud Outage Trends, I may even add bar graphs to show the increase/decrease of customers out/outages.