Comments (9)
I have the beginnings of a fix for this in a branch, but it needs a bit of cleanup - checking CRC and handling HDLC flag bytes inside frame.
Has been running stable for about a week on an Aidon 6442SE from Tekniska Verken, Linköping.
from esphome-p1reader.
I contacted Tekniska Verken kundsupport, and they are "painfully aware" and are "having a dialouge with their provider" about how to fix this.
I asked them if they have a timeline. Hopefully this will be fixed by itself in a couple of months.
from esphome-p1reader.
Same here.
Tekniskaverken, Aidon 6442SE meter with Rj12 (activated).
Using ESP8266 (wemos d1) and a BC547C.
from esphome-p1reader.
Same here, also on Tekniska Verken with Aidon. Reason seems to be that Tekniska verken have adopted "Branschrekommendation 1.2", which is a binary protocol.
Protocol information available here: https://www.tekniskaverken.se/siteassets/tekniska-verken/elnat/aidonfd-rj12-han-interface-se-v13a.cleaned.pdf
Some more information here: https://github.com/aviborg/swedishP1
from esphome-p1reader.
@forsberg Great find! From version 1.3 of the specification they changed to an ASCII format, which is what my code is expecting. I will take a look at the binary format and see if I can add a field for the user to control which version the meter is using.
from esphome-p1reader.
I am also seeing this in my logs sporadically. My mete ris Landis E360. But I have more issue with CRC checksum which I put in a separate issue.
from esphome-p1reader.
Awesome @forsberg ! You're very welcome to do a PR once you have finished the cleanup, great work 👍
from esphome-p1reader.
@forsberg Your branch has workt great for me now the past week.
But i get this every time it reads the data. But it works
[10:41:09][D][hdlc:479]: Expect 0x01 (array tag), got 01
from esphome-p1reader.
esphome/issues#815 (comment)
It helped me to reset the MH-Z19B by holdoing the HD 7sec to GND and resetting the ESP. You have to calibrate the MH by keeping it in fresh air for 20 mins.
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.