Hi there, purchased this unit for some lovely PV monitoring.
I’m a software/DevOps engineer so software/hardware is pretty familair with me, having many esp8266 devices already in the house.
Electrician is coming in 2 days to install the unit with some new GPO’s so I can monitor each of my 3phases AC phases.
I had previously configured the device to my wifi and had no issues using it’s web interface.
I attempted to power it up yesterday and noted it couldn’t connect to wifi.
It appears to have tried to update to 02_05_09 and failed.
Serial output:
SD card contains the new image in the download folder 02_05_09.bin, and a folder called the same with the config.txt/html files.
There was 3 log files,. 2 of which had garbage in them
À×Ì^ šÜd£Õ‹?A‹á9½™> „Ÿ^—1@ ü×Ì^ ]Ãâû“ž?ÞÃ%Ç)¾> ¨cQ D@ 8ØÌ^ ž¦ª”O¥?é?ª1è2ç? dgÝÉG@ tØÌ^ ÕC4ºƒØ?ÉÏw{<@ œÌZïº4H@ °ØÌ^ Ð.}s0³?±Ë#—qP@ d øð›ŸH@ ìØÌ^ À÷Ò-N·?œè<XñÃ@ ¸„=I@ (ÙÌ^ å¥&r_’»?aRR<¿ @ PMU>qI@ dÙÌ^a ’LàÖ¿?nZúœ$@ Ì:]~ÿÛI@ ÙÌ^ ¯±KTo
Â?R(õp}(@ ¬&œÏFJ@ ÜÙÌ^ xO©Ã¨/Ä?2ÆÀÓa,@
“×Ì^ I é„nºF? âÃÍZ\óì? ˜×Ì^ ¯Îæa? /RW¯U@ ×Ì^ a<áðtl? /Ö™×Ü?@ ¢×Ì^ ˜lr©ès? xt¿ö@ §×Ì^ ¶J°8œy? m¥—ö»@ ¬×Ì^ `~”þK? þ;ÃË(?$@ ±×Ì^ ô*Ea‚? FZ«ò¸'@ ¶×Ì^a ‹ïOZV…?š²"Ì)¨–> t%š£c+@ »×Ì^ Ø‚-Ø‚-ˆ?š²"Ì)¨–> ›´€ÿe/@ À×Ì^ šÜd£Õ‹?A‹á9½™> „Ÿ^—1@ Å×Ì^
–xØâÞ?A‹á9½™> Ã#¸kÌ3@ Ê×Ì^ qÙûgàZ?A‹á9½™> $ÈÅ`Çÿ5@ Ï×Ì^ ït…gÇ‘?A‹á9½™> 4aÕyÔ48@ Ô×Ì^
3“?A‹á9½™> ½|ža8@:@ Ù×Ì^ µ@¬$Ÿ”?A‹á9½™> Ã~ÂI¢²;@ Þ×Ì^ ѧ·{–?A‹á9½™> ØÜÛšI•=@ ã×Ì^ ¶£Ö¿œw—?$!ó=òF±> aoC7æ>@ è×Ì^ Ö|Ñmëã˜?$!ó=òF±> ¸»; l@@ í×Ì^ »xð±Oš?$!ó=òF±> Há:æUA@ ò×Ì^ »»»»»»›?„ŠVº> ä”;©?@B@ ÷×Ì^ {Í…¤)?ÞÃ%Ç)¾> çiïê2C@ ü×Ì^ ]Ãâû“ž?ÞÃ%Ç)¾> ¨cQ D@ ØÌ^ ËR ?FΞ6ÌÁ> VÀT2E@ ØÌ^ P@ž¶ ?jÉОø×Â> I[÷E@ ØÌ^ ÿBË <l¡?jÉОø×Â> ):n‘ÃF@ ØÌ^ ®Eøv"¢?‡m‹2Û¿Ã> 8aO¢G@ ØÌ^ ®Eøv"¢?‡m‹2Û¿Ã> 8aO¢G@ ØÌ^e ®Eøv"¢?‡m‹2Û¿Ã> 8aO¢G@ ØÌ^ ®Eøv"¢?‡m‹2Û¿Ã> 8aO¢G@ $ØÌ^ º2÷òw¢?&°Q€³?
and finnaly;
Trace: 141:38[151], 201:70[107], 244:155[16], 75:215[59], 84:194[64], 50:91[88], 24:43[192], 43:231[162], 30:197[22], 130:118[160], 115:98[99], 86:136[32], 123:20[73], 146:110[2], 10:163[149], 201:83[56], 132:218[83], 208:161[78], 143:9[248], 81:117[144], 42:118[128], 164:119[81], 42:240[194], 122:111[142], 139:15[112], 3:159[28], 167:97[26], 38:142[190], 50:14[225], 227:128[207], 244:121[37], 202:214[130]
ESP8266 ChipID: 6144265
IoTaWatt 5.0, Firmware version 02_05_02
SPIFFS mounted.
Local time zone: +0:00
device name: IotaWatt
Connecting with WiFiManager.
** Restart **
SD initialized.
Real Time Clock not initialized.
Reset reason: External System
Trace: 141:34[151], 201:70[235], 244:31[16], 75:215[59], 84:195[64], 50:91[88], 24:35[194], 43:231[162], 30:197[86], 130:118[160], 115:98[99], 86:128[32], 123:20[73], 146:110[2], 26:163[149], 137:83[56], 164:218[83], 144:161[110], 142:9[249], 81:117[144], 42:118[192], 164:119[81], 42:112[194], 58:111[134], 139:79[116], 3:151[28], 167:97[26], 38:142[190], 50:14[225], 226:130[207], 244:121[37], 234:246[130]
ESP8266 ChipID: 6144265
IoTaWatt 5.0, Firmware version 02_05_02
SPIFFS mounted.
** Restart **
SD initialized.
Real Time Clock not initialized.
Reset reason: Software/System restart
Trace: 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 11:0, 11:4, 11:5, 11:5
ESP8266 ChipID: 6144265
IoTaWatt 5.0, Firmware version 02_05_08
SPIFFS mounted.
Local time zone: +0:00
device name: IotaWatt
Connecting with WiFiManager.
RTC not running, waiting for WiFi.
** Restart **
SD initialized.
Real Time Clock not initialized.
Reset reason: External System
Trace: 141:38[151], 201:66[235], 244:155[16], 74:215[59], 116:194[64], 50:91[88], 24:35[192], 43:247[162], 30:197[86], 130:118[160], 115:98[99], 86:136[32], 91:20[73], 146:110[2], 10:163[149], 141:83[58], 133:218[83], 208:161[110], 142:9[251], 81:117[144], 42:118[192], 164:103[81], 42:240[194], 24:111[138], 139:79[116], 3:159[28], 175:97[26], 38:142[190], 50:12[225], 227:128[207], 244:121[101], 234:210[130]
ESP8266 ChipID: 6144265
IoTaWatt 5.0, Firmware version 02_05_08
SPIFFS mounted.
Local time zone: +0:00
device name: IotaWatt
Connecting with WiFiManager.
RTC not running, waiting for WiFi.
HTTP server started
WiFi connected. SSID=RB2, IP=192.168.1.68, channel=5, RSSI -62db
MDNS responder started for hostname IotaWatt
LLMNR responder started for hostname IotaWatt
timeSync: service started.
statService: started.
Updater: service started. Auto-update class is MINOR
5/26/20 08:47:12z timeSync: RTC initalized to NTP time
5/26/20 08:47:12z dataLog: service started.
5/26/20 08:47:12z dataLog: New current log created.
5/26/20 08:47:13z Updater: Auto-update is current for class MINOR.
5/26/20 08:49:12z historyLog: service started.
5/26/20 08:49:12z historyLog: first entry 05/26/20 08:48:00
** Restart **
SD initialized.
5/26/20 08:49:34z Real Time Clock is running. Unix time 1590482974
5/26/20 08:49:34z Power failure detected.
5/26/20 08:49:34z Reset reason: External System
5/26/20 08:49:34z ESP8266 ChipID: 6144265
5/26/20 08:49:34z IoTaWatt 5.0, Firmware version 02_05_08
5/26/20 08:49:34z SPIFFS mounted.
5/26/20 08:49:34z Local time zone: +0:00
5/26/20 08:49:34z device name: IotaWatt
5/26/20 08:49:37z HTTP server started
5/26/20 08:49:37z WiFi connected. SSID=RB2, IP=192.168.1.18, channel=5, RSSI -66db
5/26/20 08:49:37z MDNS responder started for hostname IotaWatt
5/26/20 08:49:37z LLMNR responder started for hostname IotaWatt
5/26/20 08:49:37z timeSync: service started.
5/26/20 08:49:37z statService: started.
5/26/20 08:49:37z Updater: service started. Auto-update class is MINOR
5/26/20 08:49:37z dataLog: service started.
5/26/20 08:49:37z dataLog: Last log entry 05/26/20 08:49:20
5/26/20 08:49:37z historyLog: service started.
5/26/20 08:49:37z historyLog: Last log entry 05/26/20 08:49:00
5/26/20 08:49:38z Updater: Auto-update is current for class MINOR.
5/26/20 08:52:50z Restart command received.
** Restart **
SD initialized.
5/26/20 08:52:51z Real Time Clock is running. Unix time 1590483171
5/26/20 08:52:51z Reset reason: Software/System restart
5/26/20 08:52:51z Trace: 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 10:8
5/26/20 08:52:51z ESP8266 ChipID: 6144265
5/26/20 08:52:51z IoTaWatt 5.0, Firmware version 02_05_08
5/26/20 08:52:51z SPIFFS mounted.
5/26/20 18:52:51 Local time zone: +10:00
5/26/20 18:52:51 Using Daylight Saving Time (BST) when in effect.
5/26/20 18:52:51 device name: iotawatt
5/26/20 18:52:51 HTTP server started
5/26/20 18:52:51 timeSync: service started.
5/26/20 18:52:51 statService: started.
5/26/20 18:52:51 dataLog: service started.
5/26/20 18:52:51 dataLog: Last log entry 05/26/20 18:52:50
5/26/20 18:52:51 historyLog: service started.
5/26/20 18:52:51 historyLog: Last log entry 05/26/20 18:52:00
5/26/20 18:52:55 WiFi connected. SSID=RB2, IP=192.168.1.18, channel=5, RSSI -63db
5/26/20 18:52:55 MDNS responder started for hostname iotawatt
5/26/20 18:52:55 LLMNR responder started for hostname iotawatt
5/26/20 18:52:55 Updater: service started. Auto-update class is MINOR
5/26/20 18:52:56 Updater: Auto-update is current for class MINOR.
5/26/20 22:43:48 Restart command received.
** Restart **
SD initialized.
5/26/20 12:43:49z Real Time Clock is running. Unix time 1590497029
5/26/20 12:43:49z Reset reason: Software/System restart
5/26/20 12:43:49z Trace: 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:1[3], 1:2, 9:0, 9:0, 8:4, 8:6, 8:8, 8:9, 1:2, 1:3, 10:2, 10:3
5/26/20 12:43:49z ESP8266 ChipID: 6144265
5/26/20 12:43:49z IoTaWatt 5.0, Firmware version 02_05_08
5/26/20 12:43:49z SPIFFS mounted.
5/26/20 22:43:49 Local time zone: +10:00
5/26/20 22:43:49 Using Daylight Saving Time (BST) when in effect.
5/26/20 22:43:49 device name: iotawatt
5/26/20 22:43:49 HTTP server started
5/26/20 22:43:49 timeSync: service started.
5/26/20 22:43:49 statService: started.
5/26/20 22:43:49 dataLog: service started.
5/26/20 22:43:49 dataLog: Last log entry 05/26/20 22:43:45
5/26/20 22:43:49 historyLog: service started.
5/26/20 22:43:49 historyLog: Last log entry 05/26/20 22:43:00
5/26/20 22:43:53 WiFi connected. SSID=RB2, IP=192.168.1.18, channel=5, RSSI -61db
5/26/20 22:43:53 MDNS responder started for hostname iotawatt
5/26/20 22:43:53 LLMNR responder started for hostname iotawatt
5/26/20 22:43:53 Updater: service started. Auto-update class is MINOR
5/26/20 22:43:54 Updater: Auto-update is current for class MINOR.
** Restart **
SD initialized.
6/28/20 13:19:25z Real Time Clock is running. Unix time 1593350365
6/28/20 13:19:25z Power failure detected.
6/28/20 13:19:25z Reset reason: External System
6/28/20 13:19:25z ESP8266 ChipID: 6144265
6/28/20 13:19:25z IoTaWatt 5.0, Firmware version 02_05_08
6/28/20 13:19:25z SPIFFS mounted.
6/28/20 23:19:25 Local time zone: +10:00
6/28/20 23:19:25 Using Daylight Saving Time (BST) when in effect.
6/28/20 23:19:25 device name: iotawatt
6/28/20 23:19:28 HTTP server started
6/28/20 23:19:28 WiFi connected. SSID=RB2, IP=192.168.1.18, channel=5, RSSI -66db
6/28/20 23:19:28 MDNS responder started for hostname iotawatt
6/28/20 23:19:28 LLMNR responder started for hostname iotawatt
6/28/20 23:19:28 timeSync: service started.
6/28/20 23:19:28 statService: started.
6/28/20 23:19:28 Updater: service started. Auto-update class is MINOR
6/28/20 23:19:28 dataLog: service started.
6/28/20 23:19:28 dataLog: Last log entry 05/26/20 23:00:55
6/28/20 23:19:28 historyLog: service started.
6/28/20 23:19:28 historyLog: Last log entry 05/26/20 23:00:00
6/28/20 23:19:29 Updater: Update from 02_05_08 to 02_05_09
6/28/20 23:19:29 Updater: download 02_05_09
6/28/20 23:19:34 Updater: Release downloaded 5373ms, size 807424
6/28/20 23:19:42 Updater: signature verified
6/28/20 23:19:50 Updater: firmware upgraded to version 02_05_09
6/28/20 23:19:50 Updater: Firmware updated, restarting.
SERIAL LOG
20:57:32.933 ->
20:57:32.933 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
20:57:32.933 ->
20:57:32.933 -> load 0x4010f000, len 1392, room 16
20:57:32.968 -> tail 0
20:57:32.968 -> chksum 0xd0
20:57:32.968 -> csum 0xd0
20:57:32.968 -> v3d128e5c
20:57:32.968 -> ~ld
20:57:32.968 -> e:
20:57:32.968 -> ets Jan 8 2013,rst cause:3, boot mode:(3,6)
20:57:32.968 ->
20:57:32.968 -> ets_main.c
20:57:34.305 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
20:57:34.338 ->
20:57:34.338 -> load 0x4010f000, len 1392, room 16
20:57:34.338 -> tail 0
20:57:34.338 -> chksum 0xd0
20:57:34.338 -> csum 0xd0
20:57:34.338 -> v3d128e5c
20:57:34.338 -> ~ld
20:57:34.338 -> e:
20:57:34.338 -> ets Jan 8 2013,rst cause:3, boot mode:(3,6)
20:57:34.338 ->
20:57:34.338 -> ets_main.c
Update: I’ve not seen any additional logs written to the sd card, nor is the serial log giving any details.
I’ve since tried using nodemcu flasher and esptool to reload the firmware, but suspect I’m missing something (or perhaps the SPIFFS specific settings).
For additional data, I also curl’d the images down again whilst connected to a sydney VPN.
PS C:\Users\fd\Downloads\iotawatt\firmware\spec02_05_09> ls
Directory: C:\Users\fd\Downloads\iotawatt\firmware\spec02_05_09
Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 29/06/2020 9:17 PM 803168 02_05_07.bin
-a---- 29/06/2020 8:25 PM 807424 02_05_09.bin
PS C:\Users\fd\Downloads\iotawatt\firmware\spec02_05_09> curl https://iotawatt.com/firmware/bin/02_05_07.bin -v
VERBOSE: GET https://iotawatt.com/firmware/bin/02_05_07.bin with 0-byte payload
VERBOSE: received 803168-byte response of content type application/octet-stream
StatusCode : 200
StatusDescription : OK
Content : {73, 111, 116, 97...}
RawContent : HTTP/1.1 200 OK
Connection: keep-alive Vary: User-Agent CF-Cache-Status: HIT Age: 3433 cf-request-id: 03a199132d0000fd3a14af6200000001
Expect-CT: max-age=604800, report-uri="https://report-uri.c...
Headers : {[Connection, keep-alive], [Vary, User-Agent], [CF-Cache-Status, HIT], [Age, 3433]...}
RawContentLength : 803168
PS C:\Users\fd\Downloads\iotawatt\firmware\spec02_05_09> curl https://iotawatt.com/firmware/bin/02_05_07.bin -v
VERBOSE: GET https://iotawatt.com/firmware/bin/02_05_07.bin with 0-byte payload VERBOSE: received 803168-byte response of content type application/octet-stream StatusCode : 200
StatusDescription : OK
Content : {73, 111, 116, 97...}
RawContent : HTTP/1.1 200 OK
Connection: keep-alive
Vary: User-Agent
CF-Cache-Status: HIT
Age: 3439
cf-request-id: 03a1992b960000fd3a14831200000001
Expect-CT: max-age=604800, report-uri="https://report-uri.c...
Headers : {[Connection, keep-alive], [Vary, User-Agent], [CF-Cache-Status, HIT], [Age, 3439]...}
RawContentLength : 803168
PS C:\Users\fd\Downloads\iotawatt\firmware\spec02_05_09> curl https://iotawatt.com/firmware/bin/02_05_08.bin -v
VERBOSE: GET https://iotawatt.com/firmware/bin/02_05_08.bin with 0-byte payload VERBOSE: received 803592-byte response of content type application/octet-stream StatusCode : 200
StatusDescription : OK
Content : {73, 111, 116, 97...}
RawContent : HTTP/1.1 200 OK
Connection: keep-alive
Vary: User-Agent
CF-Cache-Status: MISS
cf-request-id: 03a199434e0000fd3a1492f200000001
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare....
Headers : {[Connection, keep-alive], [Vary, User-Agent], [CF-Cache-Status, MISS], [cf-request-id,
03a199434e0000fd3a1492f200000001]...}
RawContentLength : 803592
PS C:\Users\fd\Downloads\iotawatt\firmware\spec02_05_09> curl https://iotawatt.com/firmware/bin/02_05_08.bin -v
VERBOSE: GET https://iotawatt.com/firmware/bin/02_05_08.bin with 0-byte payload
VERBOSE: received 803592-byte response of content type application/octet-stream
StatusCode : 200
StatusDescription : OK
Content : {73, 111, 116, 97...}
RawContent : HTTP/1.1 200 OK
Connection: keep-alive
Vary: User-Agent
CF-Cache-Status: HIT
Age: 10
cf-request-id: 03a19971590000fd3a14b43200000001
Expect-CT: max-age=604800, report-uri="https://report-uri.clo...
Headers : {[Connection, keep-alive], [Vary, User-Agent], [CF-Cache-Status, HIT], [Age, 10]...}
RawContentLength : 803592
PS C:\Users\fd\Downloads\iotawatt\firmware\spec02_05_09> curl https://iotawatt.com/firmware/bin/02_05_09.bin -v
VERBOSE: GET https://iotawatt.com/firmware/bin/02_05_09.bin with 0-byte payload
VERBOSE: received 807424-byte response of content type application/octet-stream
StatusCode : 200
StatusDescription : OK
Content : {73, 111, 116, 97...}
RawContent : HTTP/1.1 200 OK
Connection: keep-alive
Vary: User-Agent
CF-Cache-Status: HIT
Age: 6586
cf-request-id: 03a1998b2e0000fd3a1483f200000001
Expect-CT: max-age=604800, report-uri="https://report-uri.c...
Headers : {[Connection, keep-alive], [Vary, User-Agent], [CF-Cache-Status, HIT], [Age, 6586]...}
RawContentLength : 807424
PS C:\Users\fd\Downloads\iotawatt\firmware\spec02_05_09>