Comments (3)
The header is shifted in your packets (68 FA FA 68) or not present at all, which is strange.
Since splitting the packets is currently done by timing your smart meter might not adhere to that rule.
I will see if I can create a version which waits for the header instead soon, maybe that helps with your situation.
from esphome-dlms-meter.
Habe folgendes herausgefunden:
ESP32 nodemcu
"The logger component makes use of platform-specific hardware UARTs for serial logging. By default, the logger will occupy UART0. The ESP32 has three hardware UARTs, all of which can be used for both transmit and receive."
Standardeinstellung für TX/RX bei der NodeMCU ist:
tx_pin: GPIO1
rx_pin: GPIO3
Das entspricht der UART0 und daher kommt es zur Datenvermischung mit den Loggerdaten am UART-Port.
Der Logger kann auf einen anderen Port gelegt werden.
logger:
hardware_uart: UART1
level: DEBUG
So, jetzt bekomme ich die Pakete mit 68 FA FA 68
ABER die ganze Nachricht ist nach wie vor nicht korrekt.
"Received packet with invalid size�"
Daten sind zu kurz!?
from esphome-dlms-meter.
@DaCapoAT Würde empfehlen die gleichen Pins wie in der Beispiel yaml zu verwenden, GPIO4 und GPIO36. Die werden nicht für den Logger verwendet und sind beim ESP32 aufjedenfall frei.
Den Serial-Logger kannst du testweise deaktivieren mit
logger:
level: DEBUG
baud_rate: 0
Ansonsten hat das andere Issue noch mögliche Lösungsvorschläge: #2 (comment)
from esphome-dlms-meter.
Related Issues (20)
- ESP32 Install Error HOT 2
- Netz NOE HOT 28
- [Question] Does this also work with a SAIA M-Bus energy meter HOT 4
- [QUESTION] - MQTT disable and which data is available in general? HOT 8
- [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
- Esphome 12.2022 & HA - MBUS: Start bytes do not match & Frame too big for received data HOT 5
- 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
- Landis+Gyr E250 compliance HOT 1
- ESP32 NodeMCU Module WLAN WiFi from AZ-Delivery HOT 12
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.