# SYST Reset log :::info **Notas:** _Issue:_ El kit entra en un bluce de reset (parece por mala alimentación). * Pasa con el kit con todo conectado en el nuevo prot de la SCK2.2: * SEN50, SD, URBAN, BATT * Conectado a mi ordenador a través del hub USB * **Aparece como `SYST` reset. No debería ser `POR` o `BOD`?** * Adicionalmente, cuando desconectas y conectas el cable manualmente, detecta `rcause` como `SYST` en lugar de `POR`. En una 2.1 con el mismo firmware no pasa (why????) _Diagnóstico:_ Parece un problema con **el cable / fuente de alimentación?** Sin embargo: * No consigo reproducirlo cuando está en mismas condiciones conectado directamente al puerto USB de mi ordenador (sin HUB) * Incluso probando con todo (SFA30 + SCD30 + ADS + PM...) no parece reproducirse. Tampoco con un cargador * No consigo reproducirlo con otro kit 2.1, con el mismo cable _Conclusión_ --> Descarto que sea algo grave, simplemente asegurar que da suficiente el cargador + cable.. **Sin embargo**, el `rcause` a mi parecer es incorrecto. ::: ## KIT's Shell ``` ----------- 2023-12-20T12:08:31Z Temperature: 22.06 C Humidity: 39.70 % Battery: 94 % SD card: 1 Present Light: 157 lux Noise dBA: 49.09 dBA LPS33 Barometric pressure: 101.96 kPa AS7331 UVA: 1.60 uW/cm2 AS7331 UVB: 0.10 uW/cm2 AS7331 UVC: 0.10 uW/cm2 ----------- (2023-12-20T12:08:31Z) Readings saved to flash memory. (2023-12-20T12:08:31Z) 10 readings saved to sdcard. Recent user interaction, it's time to publish Connecting to Wifi... ESP finished booting ESP on Synced config with ESP!! Connecting to Wifi... Connected to wifi!!- RSSI: -63 (2023-12-20T12:08:31Z) Sent readings to platform. {t:2023-12-20T12:08:31Z,10:94,221:1,14:157,55:22.06,56:39.70,53:49.09,227:101.96,214:1.60,215:0.10,216:0.10} Network publish OK!! (10 readings) ESP off... ----------- 2023-12-20T12:09:31Z Temperature: 22.06 C Humidity: 38.42 % Battery: 93 % SD card: 1 Present WiFi RSSI: -63 dBm Light: 163 lux Noise dBA: 52.35 dBA LPS33 Barometric pressure: 101.96 kPa AS7331 UVA: 1.60 uW/cm2 AS7331 UVB: 0.10 uW/cm2 AS7331 UVC: 0.10 uW/cm2 ----------- (2023-12-20T12:09:31Z) Readings saved to flash memory. (2023-12-20T12:09:31Z) 11 readings saved to sdcard. Recent user interaction, it's time to publish Connecting to Wifi... ESP finished booting ESP on Synced config with ESP!! Connecting to Wifi... [13:09:42.730] Disconnected [13:09:43.731] Warning: Could not open tty device (No such file or directory) [13:09:43.731] Waiting for tty device.. [13:09:44.733] Connected Setting up SDcard interrupt Sdcard inserted Card size: 15938 MB Volume is FAT 32, Cluster size (bytes): 32768 Sd card ready to use Saved INFO.TXT file!! Turning on WiFi... ESP finished booting Saved INFO.TXT file!! ESP on Connecting to Wifi... Synced config with ESP!! Connected to wifi!!- RSSI: -65 Asked new time sync to ESP... ERROR sending msg to ESP RTC updated: 2023-12-20T12:09:52Z RTC updated: 2023-12-20T12:09:52Z Info publish OK!! ----------- 2023-12-20T12:09:53Z Temperature: 22.04 C Humidity: 38.42 % Battery: 90 % SD card: 1 Present WiFi RSSI: -65 dBm Light: 162 lux Noise dBA: 52.89 dBA LPS33 Barometric pressure: 101.96 kPa Adding SEN5X PM 1.0 to pending sensor list Adding SEN5X PM 2.5 to pending sensor list Adding SEN5X PM 4.0 to pending sensor list Adding SEN5X PM 10.0 to pending sensor list Adding SEN5X PN 0.5 to pending sensor list Adding SEN5X PN 1.0 to pending sensor list Adding SEN5X PN 2.5 to pending sensor list Adding SEN5X PN 4.0 to pending sensor list Adding SEN5X PN 10.0 to pending sensor list Adding SEN5X Typical Particle Size to pending sensor list AS7331 UVA: 1.68 uW/cm2 AS7331 UVB: 0.10 uW/cm2 AS7331 UVC: 0.10 uW/cm2 Waiting for 10 sensors to finish the reading process [13:10:01.411] Disconnected [13:10:02.413] Warning: Could not open tty device (No such file or directory) [13:10:02.413] Waiting for tty device.. [13:10:03.415] Connected Setting up SDcard interrupt Sdcard inserted Card size: 15938 MB Volume is FAT 32, Cluster size (bytes): 32768 Sd card ready to use Saved INFO.TXT file!! Turning on WiFi... ESP finished booting Saved INFO.TXT file!! ESP on Connecting to Wifi... [13:10:07.311] Disconnected [13:10:08.313] Warning: Could not open tty device (No such file or directory) [13:10:08.313] Waiting for tty device.. [13:10:09.315] Connected Setting up SDcard interrupt Sdcard inserted Card size: 15938 MB Volume is FAT 32, Cluster size (bytes): 32768 Sd card ready to use Saved INFO.TXT file!! Turning on WiFi... ESP finished booting Saved INFO.TXT file!! ESP on Connecting to Wifi... free ERROR sending msg to ESP [13:10:19.581] Disconnected [13:10:20.582] Warning: Could not open tty device (No such file or directory) [13:10:20.583] Waiting for tty device.. [13:10:21.585] Connected Setting up SDcard interrupt Sdcard inserted Card size: 15938 MB Volume is FAT 32, Cluster size (bytes): 32768 Sd card ready to use Saved INFO.TXT file!! Turning on WiFi... ESP finished booting Saved INFO.TXT file!! ESP on Connecting to Wifi... [13:10:25.730] Disconnected [13:10:26.731] Warning: Could not open tty device (No such file or directory) [13:10:26.731] Waiting for tty device.. [13:10:30.737] Connected Setting up SDcard interrupt Sdcard inserted Card size: 15938 MB Volume is FAT 32, Cluster size (bytes): 32768 Sd card ready to use Saved INFO.TXT file!! Turning on WiFi... ESP finished booting Saved INFO.TXT file!! ESP on Connecting to Wifi... Synced config with ESP!! Connected to wifi!!- RSSI: -63 Asked new time sync to ESP... ERROR sending msg to ESP RTC updated: 2023-12-20T12:10:37Z RTC updated: 2023-12-20T12:10:37Z Info publish OK!! ----------- 2023-12-20T12:10:37Z Temperature: 22.13 C Humidity: 38.75 % Battery: 100 % SD card: 1 Present WiFi RSSI: -62 dBm Light: 123 lux Noise dBA: 56.24 dBA LPS33 Barometric pressure: 101.96 kPa Adding SEN5X PM 1.0 to pending sensor list Adding SEN5X PM 2.5 to pending sensor list Adding SEN5X PM 4.0 to pending sensor list Adding SEN5X PM 10.0 to pending sensor list Adding SEN5X PN 0.5 to pending sensor list Adding SEN5X PN 1.0 to pending sensor list Adding SEN5X PN 2.5 to pending sensor list Adding SEN5X PN 4.0 to pending sensor list Adding SEN5X PN 10.0 to pending sensor list Adding SEN5X Typical Particle Size to pending sensor list AS7331 UVA: 1.37 uW/cm2 AS7331 UVB: 0.10 uW/cm2 AS7331 UVC: 0.05 uW/cm2 Waiting for 10 sensors to finish the reading process SEN5X Typical Particle Size: 58.80 um SEN5X PM 1.0: 10.40 ug/m3 SEN5X PM 4.0: 14.30 ug/m3 SEN5X PN 0.5: 6570.00 #/0.1l SEN5X PN 2.5: 8180.00 #/0.1l SEN5X PN 10.0: 8220.00 #/0.1l SEN5X PM 2.5: 12.80 ug/m3 SEN5X PN 1.0: 7960.00 #/0.1l SEN5X PM 10.0: 15.00 ug/m3 SEN5X PN 4.0: 8210.00 #/0.1l ----------- (2023-12-20T12:10:37Z) Readings saved to flash memory. (2023-12-20T12:10:37Z) 21 readings saved to sdcard. it's time to publish Recent user interaction, it's time to publish (2023-12-20T12:09:31Z) Sent readings to platform. {t:2023-12-20T12:09:31Z,10:93,221:1,220:-63,14:163,55:22.06,56:38.42,53:52.35,227:101.96,214:1.60,215:0.10,216:0.10} Network publish OK!! (11 readings) (2023-12-20T12:10:37Z) Sent readings to platform. {t:2023-12-20T12:10:37Z,10:100,221:1,220:-62,14:123,55:22.13,56:38.75,53:56.24,227:101.96,193:10.40,194:12.80,195:14.30,196:15.00,197:6570.00,198:7960.00,199:8180.00,200:8210.00,201:8220.00,202:58.80,214:1.37,215:0.10,216:0.05} it's time to publish Recent user interaction, it's time to publish Network publish OK!! (21 readings) ESP off... ``` ## MQTT Messages ``` device/sck/f3e09b/info {"time":"2023-12-20T12:09:52Z","hw_ver":"2.1","id":"1FF75ACD50305833412E3120FF12352E","sam_ver":"0.9.8-12794af-dev","sam_bd":"2023-12-20T12:22:37Z","mac":"BE:FF:4D:18:6C:74","esp_ver":"0.9.8-12794af-dev","esp_bd":"2023-12-20T12:22:42Z","rcause":"SYST"} device/sck/f3e09b/info {"time":"2023-12-20T12:10:15Z","hw_ver":"2.1","id":"1FF75ACD50305833412E3120FF12352E","sam_ver":"0.9.8-12794af-dev","sam_bd":"2023-12-20T12:22:37Z","mac":"BE:FF:4D:18:6C:74","esp_ver":"0.9.8-12794af-dev","esp_bd":"2023-12-20T12:22:42Z","rcause":"SYST"} device/sck/f3e09b/info {"time":"2023-12-20T12:10:37Z","hw_ver":"2.1","id":"1FF75ACD50305833412E3120FF12352E","sam_ver":"0.9.8-12794af-dev","sam_bd":"2023-12-20T12:22:37Z","mac":"BE:FF:4D:18:6C:74","esp_ver":"0.9.8-12794af-dev","esp_bd":"2023-12-20T12:22:42Z","rcause":"SYST"} device/sck/f3e09b/readings/raw {t:2023-12-20T12:09:31Z,10:93,221:1,220:-63,14:163,55:22.06,56:38.42,53:52.35,227:101.96,214:1.60,215:0.10,216:0.10} device/sck/f3e09b/readings/raw {t:2023-12-20T12:10:37Z,10:100,221:1,220:-62,14:123,55:22.13,56:38.75,53:56.24,227:101.96,193:10.40,194:12.80,195:14.30,196:15.00,197:6570.00,198:7960.00,199:8180.00,200:8210.00,201:8220.00,202:58.80,214:1.37,215:0.10,216:0.05} device/sck/f3e09b/readings/raw {t:2023-12-20T12:12:37Z,10:99,221:1,14:158,55:22.28,56:38.13,53:41.48,227:101.96,214:1.45,215:0.10,216:0.10} device/sck/f3e09b/hello f3e09b:Hello device/sck/f3e09b/info {"time":"2023-12-20T12:13:54Z","hw_ver":"2.1","id":"1FF75ACD50305833412E3120FF12352E","sam_ver":"0.9.8-12794af-dev","sam_bd":"2023-12-20T12:22:37Z","mac":"BE:FF:4D:18:6C:74","esp_ver":"0.9.8-12794af-dev","esp_bd":"2023-12-20T12:22:42Z","rcause":"SYST"} device/sck/f3e09b/readings/raw {t:2023-12-20T12:14:55Z,10:-1,221:1,14:159,55:22.26,56:39.18,53:39.84,227:101.96,214:1.52,215:0.10,216:0.10} device/sck/f3e09b/readings/raw {t:2023-12-20T12:15:55Z,10:-1,221:1,14:156,55:22.21,56:38.58,53:60.99,227:101.96,193:10.00,194:13.70,195:16.30,196:17.60,197:5990.00,198:7500.00,199:7850.00,200:7910.00,201:7920.00,202:65.10,214:1.52,215:0.10,216:0.10} device/sck/f3e09b/readings/raw {t:2023-12-20T12:16:55Z,10:-1,221:1,220:-70,14:165,55:22.20,56:38.67,53:50.66,227:101.95,214:1.52,215:0.10,216:0.10} device/sck/f3e09b/readings/raw {t:2023-12-20T12:17:55Z,10:-1,221:1,14:163,55:22.10,56:38.46,53:42.96,227:101.94,214:1.52,215:0.10,216:0.10} ```