Comments (17)
The calculation: https://github.com/klaasnicolaas/home-assistant-glow/blob/master/home_assistant_glow.yaml#L111
from home-assistant-glow.
Great, many thanks. Now my values are correct.
I have to buy a coffee/beer for you man :D
from home-assistant-glow.
@Snobs76 Maybe I should setup the sponsorship option in Github ๐ Beer and coffee is not my taste, that's why I have a buy me a fanta button on my HA config page ๐คฃ
@miv777 for 3200 imp/kWh it would be: 18.75
and 0.0003125
.
from home-assistant-glow.
This question is difficult to answer, as in I don't know your situation and therefore cannot say whether the sensor is right/wrong ๐
from home-assistant-glow.
Some example:
If i have a power consumption 250W, then i need 4 hours to get 1kwh, right ?
But the energy total sensor calculates 1.5kwh in one hour with this 250W that I use at night.
There is anywhere a calculation error inside the sensor. Actually he said I have used 60kwh at 24h and this is to much, or for today until now 32.6kwh. Iยดm not the energy saver and i have 12-15kwh at a day (Home Office etc.).
But where is my error, I have 5000 Imp per Kwh, this is is in yaml factor 12 and looks good, but not the energy total.
from home-assistant-glow.
What if you change the multiply
filter at total to: 0.0002
?
from home-assistant-glow.
I will try it. 450W actually, set timer for 30min then will have some more information
from home-assistant-glow.
Wrong direction now it counts 0.450Kwh in ~5 Minutes at 450W consumption
from home-assistant-glow.
Damn idea.... do you have 10000 Imp per Kwh ?
If yes then I need instad of 0.0001 0.00005 for my 5000 Imp per Kwh
Is this possible ?
from home-assistant-glow.
The YAML file is based on 1000 imp/kWh. Based on the note from @stevetz I was thinking the value for you should be 0.0002
๐ค
from home-assistant-glow.
I will give your number another try :D
from home-assistant-glow.
We have been (re)calculating again and the values 12
and 0.0002
must be correct. If the values are still not correct, it may be due to the hardware. A sensor that is too sensitive, causing it to count 1 pulse twice or missing a pulse.
from home-assistant-glow.
The 0.0002 looks good, Iยดm testing right know with the values. But how do I calculate the 0.0002.
from home-assistant-glow.
Please, tell me also what the settings will be when the value is 3200 imp/kWh
Thx ๐
from home-assistant-glow.
Look at post from @klaasnicolaas there all the math that you need.
from home-assistant-glow.
Klaas I wonder if there is something further you could add to clarify the sums - I thought the comment i put in the PR would be enough - but seems a few issues with the multiply figures...
Maybe an addition to the readme, something like:
You will need to know the impulses per kWh, or imp/kWh of your meter. Most meters flash at 1000 imp/kWh.
Use this figure in themultiply
variables for both the mainsensor
and thetotal
.e.g. for a meter with 3200 imp/kWh (ie for 'SMART' branded meters in the UK)
the multiply values will be:sensor: - platform: pulse_meter ... filters: - multiply: 18.75 # calculated = (60 / 3200) * 1000 total: ... filters: - multiply: 0.0003125 # calculated = 1 / 3200
For more information see: https://esphome.io/components/sensor/pulse_meter.html#converting-units
(not sure if the e.g. is necessary?)
To be sure, I don't know whether its worth the additional language - or whether once I've submitted the PR to the esphome doc (plan to do this weekend) that might be enough?
As I'm here - I also wanted to ask if you thought of adding this to the 'cookbook' on esphome?
from home-assistant-glow.
I think it's wise to put some information in the readme, even if this information will soon also be on the esphome website.
As for the entry in cookbook, I'll come back to that later.
from home-assistant-glow.
Related Issues (20)
- web server frontpage is not displaying any data HOT 4
- Very strange readings after first setting up, why use GPIO 13? HOT 7
- Anyone else having issues with the upgrade to ESPhome 2023.8.1? HOT 36
- Power consumption over the roof HOT 10
- Not an issue, but an FYI for those in North America HOT 1
- Addresable LED support? HOT 4
- No reading HOT 19
- Pulse meter sensor took a long time HOT 3
- 3 phase? HOT 2
- Calibrate Energy Value HOT 1
- Firmware stuck on v2023.2.4 HOT 5
- Documentation problem HOT 1
- House Total Energy get reset HOT 3
- Dependency Dashboard
- Error downloading manifest! Please help me! HOT 11
- ESP32-WROOM-32D_top_case.stl is a copy of ESP32-WROOM-32D_bottom_case.stl HOT 3
- WebUi Username/Password? HOT 3
- Where to find pulse_meter.yaml HOT 2
- Adoption problem HOT 1
- Not a bug - request for better guide when changing parameters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-glow.