Giter VIP home page Giter VIP logo

Comments (9)

forsberg avatar forsberg commented on July 24, 2024 2

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.

forsberg avatar forsberg commented on July 24, 2024 1

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.

maccan-tech avatar maccan-tech commented on July 24, 2024

Same here.
Tekniskaverken, Aidon 6442SE meter with Rj12 (activated).
Using ESP8266 (wemos d1) and a BC547C.

from esphome-p1reader.

forsberg avatar forsberg commented on July 24, 2024

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.

pp-svanstrom avatar pp-svanstrom commented on July 24, 2024

@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.

bortek avatar bortek commented on July 24, 2024

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.

pp-svanstrom avatar pp-svanstrom commented on July 24, 2024

Awesome @forsberg ! You're very welcome to do a PR once you have finished the cleanup, great work 👍

from esphome-p1reader.

maccan-tech avatar maccan-tech commented on July 24, 2024

@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.

jpduhen avatar jpduhen commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.