farmerkz

Results 9 comments of farmerkz

Hi! I tried the same program as @AdrienAdB with a few changes: ``` #include #include #include "ThingsBoard.h" #include "account_thermostat_v2.h" #define CURRENT_FIRMWARE_TITLE "Termostat.v2" #define CURRENT_FIRMWARE_VERSION "0.0.1" // Baud rate for debug...

@JfloresIoTF , I did as you except: `uint16_t m_fwSize; ---> const unsigned int m_fwSize;` but: `uint16_t m_fwSize; ---> unsigned int m_fwSize;` The result is the same: ``` Termostat.v2 0.0.1 Connecting...

I tried to add `m_fwState = FW_STATE_DOWNLOADING;` after ``` // Update state Firmware_Send_State(FW_STATE_DOWNLOADING); ``` and the firmware loaded successfully, but when checking the MD5 I got an error because the...

m_fwChecksum is corrupted after call `m_client.publish(TELEMETRY_TOPIC, json, m_qos)` in `inline const bool sendTelemetryJson(const char *json) {}`

@NgocThinhNTP18, I did everything that was in @JfloresIoTF [post](https://github.com/thingsboard/thingsboard-arduino-sdk/issues/86#issuecomment-1294926985), but in point 2 I removed the **const** on the right side of the expressions. And I changed ``` // Update...

A small magical workaround, I don’t think it radically solves the problem, but OTA works at the same time: ``` inline void Firmware_Shared_Attribute_Received(const Shared_Attribute_Data &data) { ..... Logger::log(buffer); char _md5SumTmp[33];...

H! Hmmm..... With the adjustments that I described above, I have practically no problems with OTA: ``` [TB] Callback on_message from topic: (v1/devices/me/attributes) [TB] Received shared attribute update [TB] Shared...

> Perhaps this is due to the board? I'm using a Firebeetle board, https://wiki.dfrobot.com/FireBeetle_Board_ESP32_E_SKU_DFR0654. I'm using a board I designed myself based on the ESP32-WROOM, VSCode and PlatformIO with platformio.ini:...

The same problem, I won’t tell you the exact time it appeared, but it seems that after the HAOS update a few days ago. ``` 2023-10-06 00:40:37.825 ERROR (MainThread) [custom_components.sonoff.core.ewelink.cloud]...