Max Prokhorov

Results 503 comments of Max Prokhorov

I would guess there is no pull-up or down for the input? https://github.com/xoseperez/espurna/wiki/Sensors#generic-digital-sensor does mention internal pull-up, but it might not work as expected on all boards (as I do...

Another thing to note is read & report, and the time it takes for 1.0 to change into 0.0 By default, readings happen every 6s. Reporting - every 10 successful...

> reserve(length + 1); I'd suggest not, internals care about string length not internal representation aka cstring with null byte. Copies mentioning null should probably be considered a bug, delegating...

Can you point to the specific code & full stack dump w/ exc address etc.? My understanding this is related to the https://github.com/letscontrolit/ESPEasy/issues/5013, but the original issue has neither

> I am looking into the String code to see if I can come up with some way to have either a String with a length longer than what is...

Argument-less `WiFi.begin()` can be used instead, which won't compare existing settings? But, the issue is there, that's true. Threshold should not be compared if it is not comparable

Nope, this meant to include a specific file. Relative path meant to originate from `$PROJECT_DIR` i.e. where `platformio.ini` is https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html#index-include

> while (client.connected()) context switch race happening? if tcp client is disconnected, tls engine is treated as disabled. if engine is disabled, we are not connected. available() would tell whether...

Building w/ `-DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT` would give us some more info about the connection. Not sure if above is related, since we check both available() and connected() in HTTP...

Yes to both. Debug opts above should also dump ClientContext transfers info.