ljmerza / ha-email-sensor

Email Sensor for collecting tracking numbers from over 40 providers.
MIT License
87 stars 22 forks source link

Tracking daily Georgia Power usage summary #17

Closed arsaboo closed 4 years ago

arsaboo commented 4 years ago

My utility company provides a daily usage summary via email (see screenshot attached). I was wondering if we can extract the energy usage and the cost from that email. While this is not a traditional "tracking" feature, I feel like it will be a great feature to add that can potentially be extended to other features.

image

ljmerza commented 4 years ago

I would need a copy of the original email to add this in ljmerza@gmail.com

Also, there's no frontend card to support this so someone would have to create it (but it will be a sensor attr so it can be used in automation)

arsaboo commented 4 years ago

@ljmerza I just emailed you the same. Thanks!

ljmerza commented 4 years ago

I just added this in v2.3.1. If you have more than one email it might return an array of objects for each Georgia Power email found

 "georgia_power": [
    {
      "yesterday_use": "21 kWh",
      "yesterday_cost": "$3",
      "monthly_use": "516 kWh",
      "monthly_cost": "$66"
    }
  ]