Comments (3)
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.
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.
Ok.. I give up for today. I did check the serial coming in from the meter and it sends ascii.
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)
- 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+
- InvalidJSONFile
- Unsigned negative current HOT 2
- ESP-12 p1reader.yaml 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 esphome-p1reader.