Comments (5)
#21 added fix... is working for me!
Thanks a lot to the both of you. It wouldn't work for me (IKB) with just adding the delay. While the "Frame too big for received data" didn't show up in the log anymore, the "Start bytes do not match" was still there. I had to change my uart config from:
uart: tx_pin: GPIO1 rx_pin: GPIO3 baud_rate: 2400 rx_buffer_size: 1024 # Needed to receive the large packets send by the smart meter id: mbus
to
uart: tx_pin: GPIO1 rx_pin: GPIO3 baud_rate: 2400 parity: EVEN data_bits: 8 stop_bits: 1 rx_buffer_size: 2048 id: mbus
I haven't checked what actually made the difference, but the above-mentioned fix and this config change worked in my case.
That's true. You must change the rx_buffer_size to 2048.
But you can leave data_bits and stop_bits because these are the default values.
I also have no parity settings.
from esphome-dlms-meter.
I can reproduce this on 2022.12 but I'm gonna have to check what changed.
For now, 2022.11.5 works fine.
from esphome-dlms-meter.
#21 added fix... is working for me!
from esphome-dlms-meter.
#21 added fix... is working for me!
Thanks a lot to the both of you. It wouldn't work for me (IKB) with just adding the delay. While the "Frame too big for received data" didn't show up in the log anymore, the "Start bytes do not match" was still there. I had to change my uart config from:
uart:
tx_pin: GPIO1
rx_pin: GPIO3
baud_rate: 2400
rx_buffer_size: 1024 # Needed to receive the large packets send by the smart meter
id: mbus
to
uart:
tx_pin: GPIO1
rx_pin: GPIO3
baud_rate: 2400
parity: EVEN
data_bits: 8
stop_bits: 1
rx_buffer_size: 2048
id: mbus
I haven't checked what actually made the difference, but the above-mentioned fix and this config change worked in my case.
from esphome-dlms-meter.
#21 added fix... is working for me!
Thanks a lot to the both of you. It wouldn't work for me (IKB) with just adding the delay. While the "Frame too big for received data" didn't show up in the log anymore, the "Start bytes do not match" was still there. I had to change my uart config from:
uart: tx_pin: GPIO1 rx_pin: GPIO3 baud_rate: 2400 rx_buffer_size: 1024 # Needed to receive the large packets send by the smart meter id: mbus
to
uart: tx_pin: GPIO1 rx_pin: GPIO3 baud_rate: 2400 parity: EVEN data_bits: 8 stop_bits: 1 rx_buffer_size: 2048 id: mbus
I haven't checked what actually made the difference, but the above-mentioned fix and this config change worked in my case.
That's true. You must change the rx_buffer_size to 2048. But you can leave data_bits and stop_bits because these are the default values. I also have no parity settings.
Thanks! I've tried removing them one by one but it wouldn't work without the parity: EVEN
setting enabled, at least in my case. It would still error out with Start bytes do not match
.
from esphome-dlms-meter.
Related Issues (20)
- [state_class] is an invalid option for [sensor.template] HOT 1
- ISSUE: abnormal data in home assistant HOT 29
- Payload length is too big for received data HOT 4
- comments need to be removed from HOT 1
- Support for Kaifa MA110M ? HOT 3
- Error: setRxBufferSize(): RX Buffer can't be resized when Serial is already running.
- hello could you please explain how too install it on esph home on homeassitant HOT 3
- mbedtls/gcm.h: No such file or directory HOT 3
- Kufsteiner Stadtwerke funktioniert auch
- Tinetz Honeywell "/config/esphome/meter01.yaml:164:27: error: invalid conversion from 'const char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]" HOT 1
- 2 Zähler auslesen
- Decryption key format HOT 2
- Why is a M-BUS slave board needed? (and not a master board) HOT 4
- Very Jumpy Energy Values
- Tinetz Honeywell funktioniert -> Achtung Anzahl der Stellen HOT 1
- Power ESP via M-Bus HOT 5
- Start bytes do not match nach Monaten ohne Probleme
- Possible to Read Water-Meters?
- meter01 is working
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-dlms-meter.