-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Esphome 12.2022 & HA - MBUS: Start bytes do not match & Frame too big for received data #19
Comments
I can reproduce this on 2022.12 but I'm gonna have to check what changed. For now, 2022.11.5 works fine. |
#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:
to
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. |
Thanks! I've tried removing them one by one but it wouldn't work without the |
Hey all,
the code and hardware was working great for me the last few months (thanks for that btw!) but the recent 12.2022 Esphome upgrade, which I run as a Home Assistant add-on, seems to have broken something. I have the Kaifa MA110M smart meter (IKB).
As others, I'm using a m-bus-slave-click for the connection to the smart meter. I have a DFRobot FireBeetle 2 ESP32-E IoT Microcontroller board (this one: https://www.dfrobot.com/product-2231.html) because of it's low energy consumption in deep sleep as all parts are powered by a battery.
So, I updated the Esphome add-on to 12.2022 today and also pushed the available update to the devices. After those updates were done, I now get the following two error messages in the Esphome log of my board:
[15:05:16][E][espdm:048]: MBUS: Start bytes do not match
[15:05:16][E][espdm:064]: MBUS: Frame too big for received data
My uart configuration is:
I've tried adjusting the
rx_buffer_size
to 2048 and also tried other things that were mentioned in other issues (i.e. adding parity, data and stop bits) but that didn't do the trick.So, does anybody have an idea what might have changed or how I go about debugging it?
Thanks in advance, and I hope I've provided enough information.
The text was updated successfully, but these errors were encountered: