-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[P044] Led settings and events without client, merged into [P020] #4283
[P044] Led settings and events without client, merged into [P020] #4283
Conversation
…feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
…s are displayed to allow settings conversion
…s are displayed to allow settings conversion
…feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
…github.com/tonhuisman/ESPEasy-1 into feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
@wdonker Can you retest this build, as I've finally been able to actually test (and fix...) the issues you've mentioned. I'm receiving the P1 data as intended/expected now 😃 |
I will test it next week since I am not at home right now. |
…feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
Sorry Ton, the result is still the same: a CR/LF seems to be missing after the last line of the P1 message (I think it is the checksum line). Output from ESP_Easy_mega_20230409_normal_ESP8266_4M1M:
Output from ESP_Easy_mega_20230812_normal_ESP8266_4M1M:
|
Hm, I'll have a look, as I do have more time available currently, and the hardware to physically test it 😉 |
@wdonker I expect to have found the culprit, please set the RX Receive Timeout to 50-100 msec when using a DSMR 5 meter (115200 baud), so the checksum will be read & calculated in the same 'burst' as the rest of the data. At least my meter needs some time (> 100 msec) to generate the checksum before that's sent. |
I think this time you nailed it, Ton! |
…feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
…feature/P044-led-and-events-without-client
Resolves #4269
Resolves #4558
P044 - Communication - P1 WiFi Gateway
Features:
<taskname>#Data
event (heavy on resources!)P020 - Communication - Serial Server
Features:
Both plugins
#data
event (could cause memory overflow issues, especially on ESP8266!), with newlines replaced by commas as P1 data doesn't have any commasparseHexTextData()
function in StringConverterserialsendmix,<"text content"|0xXX>[,...]
to concatenate text and hex character values0x
and separated by nothing, space, dash or colon.TODO:
Considering to also add: (feedback requested)
Process events without a network client connected (Forum thread)P020 - Communication - Serial Server
, as suggested here (done)