Giter VIP home page Giter VIP logo

Comments (3)

niclas0219 avatar niclas0219 commented on July 24, 2024

Ok.. found the same issue here: esphome/issues#313 (comment)

I guess ill try some other code to actually see the garbage I get in RX and go from there.

from esphome-p1reader.

niclas0219 avatar niclas0219 commented on July 24, 2024

Slow progress.. I added a print statement in the python code of esphome just where it crashes. This is my readings from the power meter that I have repeated eight times. It looks like nonsense to me but at least it is somewhat consistent. Any ideas what i am seeing? This is just the first line as the program crashes after this, how can I make the script go on even though it throws an exception?

b'\x08\x05\x1aM\x1b[0;36m[D][data:275]: hV\x15+e\x143YV)f\xc6\xc6\x8a\x1e=y=gif1\xc6c\x864\x8c\x8d\x193ky=F\x1a\xc6\x8c\xc6\xe3\xc6\xe3\xc6\x8d3g\xc6\x19F\x8c3\n\x1b[0m'
b'\x08\x05\x1aM\x1b[0;36m[D][data:275]: hV\x15+e\x143YV)f\xc6\xc6\x8a\x1e=y=gif1\xc6c\xc6\xe3\x8c\x8d\x193ky=F\x1a\xc6\x8c\xc6\xe3\xc6\xe3\xc6\x8d3g\xc6\x19F\x8c3\n\x1b[0m'
b'\x08\x05\x1aM\x1b[0;36m[D][data:275]: hV\x15+e\x143YV)f\xc6\xc6\x8a\x1e=y=gif1\xc6c\xc6\xe3\x8c\x8d\x193ky=F\x1a\xc6\x8c\xc6\xe3\xc6\xe3\xc6\x8d3g\xc6\x19F\x8c3\n\x1b[0m'
b'\x08\x05\x1aM\x1b[0;36m[D][data:275]: hV\x15+e\x143YV)f\xc6\xc6\x8a\x1e=y=gif1\xc6c\xc6\xe3\x8c\x8d\x193ky=F\x1a\xc6\x8c\xc6\xe3\x864\xc6\x8d3g\xc6\x19F\x8c3\n\x1b[0m'
b'\x08\x05\x1aM\x1b[0;36m[D][data:275]: hV\x15+e\x143YV)f\xc6\xc6\x8a\x1e=y=gif1\xc6c\xc6\xe3\x8c\x8d\x193ky=F\x1a\xc6\x8c\xc6\xe3\xc6\xe3\xc6\x8d3g\xc6\x19F\x8c3\n\x1b[0m'
b'\x08\x05\x1aM\x1b[0;36m[D][data:275]: hV\x15+e\x143YV)f\xc6\xc6\x8a\x1e=y=gif1\xc6c\xc6\xe3\x8c\x8d\x193ky=F\x1a\xc6\x8c\xc6\xe3\xc6\xe3\xc6\x8d3g\x06\x19F\x8c3\n\x1b[0m'
b'\x08\x05\x1aM\x1b[0;36m[D][data:275]: hV\x15+e\x143YV)f\xc6\xc6\x8a\x1e=y=gif1\xc6c\xc6\xe3\x8c\x8d\x193ky=F\x1a\xc6\x8c\xc6\xe3\xc6\xe3\xc6\x8d3g\xc6\x19F\x8c3\n\x1b[0m'
b'\x08\x05\x1aM\x1b[0;36m[D][data:275]: hV\x15+e\x143YV)f\xc6\xc6\x8a\x1e=y=gif1\xc6c\xc6\xe3\x8c\x8d\x193ky=\x86i\xc6\x8c\xc6\xe3\xc6\xe3\xc6\x8d3g\xc6\x19F\x8c3\n\x1b[0m'

from esphome-p1reader.

niclas0219 avatar niclas0219 commented on July 24, 2024

Ok.. I give up for today. I did check the serial coming in from the meter and it sends ascii.
DSC_0326
There is some garbage on the oscilloscope as well and I wonder if it is just the serial decoder of the oscilloscope having problems or if there is some kind of timing issue?. Any tip is appreciated.

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.