Problem source code 02_02_30 Hard 4.8

I just bought 2 boxes IotaWatt in version 4.8.
I have to make changes in the firmware.
I downloaded the source codes in the github. :
I transferred the firmware with the following settings:


I have a crach with the following traces:

Serial Initialized
No clock yet: SPI started.
No clock yet: SD initialized.
2/20/18 08:21:04 Real Time Clock is running. Unix time: 1519114864
2/20/18 08:21:04 Version: 02_02_30
2/20/18 08:21:04 Reset reason: External System
2/20/18 08:21:04 Trace: 14,15,16,11,90,91,84,86,88,93,94,95,99,12,13,14,15,16,11,90,91,84,86,88,93,94,95,99,12,13,14,15
2/20/18 08:21:04 ESP8266 ChipID:6910407
2/20/18 09:21:04 device name: IotaWatt, version: 3
2/20/18 09:21:04 Local time zone: 1
2/20/18 09:21:04 MDNS responder started
2/20/18 09:21:04 You can now connect to http://IotaWatt.local
2/20/18 09:21:04 HTTP server started
2/20/18 09:21:04 dataLog: service started.
2/20/18 09:21:04 dataLog: Last log entry:1519114835
2/20/18 09:21:04 statService: started.
2/20/18 09:21:04 timeSync: service started.
2/20/18 09:21:04 WiFi connected. SSID: Wifi_FBS, IP:
2/20/18 09:21:05 checkUpdate: Invalid response from server.

2/20/18 09:21:05 historyLog: service started.
2/20/18 09:21:05 historyLog: Last log entry:1519114740

Exception (0):
epc1=0x4000dce5 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont
sp: 3fff3ed0 end: 3fff4120 offset: 01a0

3fff4070: 3fff54cc 3fff2000 3fff1ff0 3fff26e2
3fff4080: 00000000 00000000 ec0600e3 402181bc
3fff4090: 3fff2000 000044d4 3fff57ec 00000000
3fff40a0: 00000594 0000000f 5c59e4bf 3f39fef6
3fff40b0: 0000012e 8b4b4b4c 4072eb2e 3fff3100
3fff40c0: 00000000 00000000 de3658f2 3fff57ec
3fff40d0: 3fff2260 3fff300c 3fff604c 402047a8
3fff40e0: 0000000f 00000000 feefeffe feefeffe
3fff40f0: 00000000 00000000 00000001 3fff30ec
3fff4100: 3fffdad0 00000000 3fff30e5 4021e790
3fff4110: feefeffe feefeffe 3fff3100 40100710

ets Jan 8 2013,rst cause:2, boot mode:(1,6)

ets Jan 8 2013,rst cause:4, boot mode:(1,6)

wdt reset

when I force the source code firmware in: #define IOTAWATT_VERSION “02_02_29”, it updates and updates with the site’s binary.
Do you have a solution ?



There’s not much information here, but it appears you are using the Arduino IDE to compile and link the firmware. There has been a major update to the ESP Arduino core and I don’t know if the Arduino IDE is using it. Due to changes in the new core, the firmware is not compatible with the old core. The source on github is also using the latest versions of several third party libraries.

You must take the time to learn to use platformio to compile your code. There is version control information in the git that specifies the appropriate core and libraries. Platformio will automatically keep those up to date.

I use the VSCODE IDE with platformi. You can do local git version control with the integrated package or use the github desktop package.

Can I ask why you need to modify the firmware?

I found the problem, we must update the esp8266 2.4 RC2 in arduino IDE

If you stay with Arduino IDE be sure to check the versions of other libraries like crypto and Arduino Json.

I’m interested in the Domoticz system. Is this something that could be satisfied with MQTT or would it require a custom REST protocol?

I don’t use Domoticz (yet) but have taken a quick look. It does support MQTT and that is how Tasmota (available on GitHub) talks to it.