Comments (10)
I've done some experimentation based on ESPHome documentation and the dsmr
repository. I'm still waiting for data to be visible in the Energy panel (can take up to 2 hours), but adding the following to Cumulative Active Import
at least allows it to be added:
state_class: "measurement"
device_class: "energy"
last_reset_type: "never"
from esphome-p1reader.
I have the same issue.
Was told to add, in addition to device class and state, this :
last_reset; "1970-01-01T00:00:00+00:00"
Same state, can add the cumulative active import but no data is showing.
from esphome-p1reader.
I have the same issue.
Was told to add, in addition to device class and state, this :
last_reset; "1970-01-01T00:00:00+00:00"Same state, can add the cumulative active import but no data is showing.
I read that last_reset_type: "never"
should set last_reset
to epoch, so it should lead to the same result. There is now a pull request that allows the sensor to be added.
from esphome-p1reader.
I must be doing something wrong. Keep getting this error regardless of how I format the yaml
[state_class] is an invalid option for [0]. Did you mean [state_topic], [device_class]?
state_class: measurement [source p1reader.yaml:74]
device_class: energy
[last_reset_type] is an invalid option for [0]. Please check the indentation.
last_reset_type: never [source p1reader.yaml:76]
from esphome-p1reader.
@grobius have you formatted the lines in the same way as the pull request I've linked to this issue? It seems to complain about indentation.
from esphome-p1reader.
Yes, I did copy it from the pullrequest. I can't see that there is something wrong with it (but it's probably me):
sensors:
- name: "Cumulative Active Import"
unit_of_measurement: kWh
accuracy_decimals: 3
state_class: "measurement"
device_class: "energy"
last_reset_type: "never"
from esphome-p1reader.
Solved it. Update of esphome was required (I was running v1.18, upgrade to v1.20.4 solved it)
from esphome-p1reader.
Yes, I did copy it from the pullrequest. I can't see that there is something wrong with it (but it's probably me):
Same error message here when pasting in ESPhome.
from esphome-p1reader.
Solved it. Update of esphome was required (I was running v1.18, upgrade to v1.20.4 solved it)
Dooh, same issue here ;)
Thanks mates!
from esphome-p1reader.
Fixed by @fredrikbaberg in PR #13 👍
from esphome-p1reader.
Related Issues (20)
- ESP32
- D1 Mini suddenly needs external power to start HOT 3
- esphome encryption key instructions HOT 2
- Extend the esp to act as active repeater to connect additional P1 device HOT 2
- HDLC support missing (is AIDON meters really supported?)
- Instability Frequent Drop out HOT 3
- Compile Error with esp-idf Framework HOT 2
- Add XIAO ESP32C3 to hardware section of readme.md
- Aidon meter and slimmelezer-wt32-eth01 HOT 5
- Landis Gyr e360 lte HOT 1
- SlimmeLezer+ with HDLC stops working HOT 1
- dual tariff HOT 2
- CRC Pass=no after a while HOT 3
- Update interval HOT 3
- Strange readings HSP Meter HAN port
- Problem error
- Custom components are deprecated HOT 3
- Slimmelezer not response after HAN plugged HOT 1
- CRC error, start block occasionally corrupted
- Data error on SlimmeLezer+
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 esphome-p1reader.