Skip to content

georg-sch/home-assistant-glow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant Glow 🌟

Project Maintenance License Forks Stargazers Issues

GitHub Activity GitHub Last Commit Contributors

During my internship at Nabu Casa in the first half of 2021, I focused on energy management in your house and how you can collect all energy data and display it in a dashboard. From core release 2021.8 you can now also get started with the energy dashboard in Home Assistant!

CLICK HERE! To see the Home Assistant Glow in action.

Glow testingGlow in action

Home Assistant Glow makes it possible to read a (not so) smart meter that is not equipped with a P1 port, reading the pulse LED that is always present in most cases and it works with ESPHome! To neatly hide it all in your meter cupboard, a case has been designed that you can 3D print yourself.

How do I know if my meter is supported

To make sure your meter will work with the Home Assistant Glow, you have to look for the imp/kWh rate (see picture). Make a note of it, because you will need this value at a later stage to configure the yaml file.

Hardware

First, fill your 🛒 or see if you already have the components below.

Diagrams

How everything is connected together.

Photodiode

PHOTODIODE ESP32
A0 NOT USING
DO D12 (GPIO12)
VCC 3V3
GND GND

For problems with the measurements, see the FAQ part further down.

LED

How the status led is connected to the ESP32. For each measured pulse, the LED will briefly flash red and in case of no WiFi connection, the LED will continue to flash blue.

LED ESP32
RED D2 (GPIO2)
GREEN D4 (GPIO4)
BLUE D5 (GPIO5)
GND GND

Get started

Once you've connected all the hardware, we'll get started with the configuration for ESPHome. In this repository you will find the file home_assistant_glow.yaml, which you can copy into the esphome folder of your Home Assistant config. Adjust the value pulse_rate under substitutions to the value on your meter (how do I find my imp/kWh rate?), by default the value 1000 is used in the yaml file. Finally go through the installation wizard of ESPHome and flash the ESP32/8266.

FAQ

The answers to the most common problems raised in the issues.

Wrong soldered diode

Issue: #34

A number of users have reported receiving the recommended diode board from various sources, only to find the diode has been soldered to the board the wrong way round. This can cause that your pulse LED is not measured regardless of the sensitivity you set for the diode.

The large triangular part of the diode, should be soldered to the positive side of the board not the negative. If yours is orientated as above, you should desolder the photodiode invert it and resolder so the larger triangular part of the diode is connected to positive.

License

MIT License

Copyright (c) 2021 Klaas Schoute

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

⚡ The power of energy measurements in your house

Resources

License

Stars

Watchers

Forks

Packages

No packages published