Jump to content

Undocumented Property "reset_reason" in System Component Status


Recommended Posts

Posted

Hi all,

in the status response of the system component (Sys.GetStatus) exists at the end the undocumented property reset_reason.

The data type is number.

 

Up to now I found possible values: 1, 3, 4, 6, 8.

 

Does anyone know about the meanings of those values?

What else values are possible?

Does any documentation exist about this property? Perhaps at another place?

 

I already made an extensive Google Search and only found a lot of posted responses of GetStatus...

 

Many thanks in advance

 

  • 2 months later...
Posted

If Shelly uses the standard ESP reset_reasons:

https://github.com/espressif/esp-idf/blob/v5.4/components/soc/esp32/include/soc/reset_reasons.h

RESET_REASON_CHIP_POWER_ON   = 0x01 // Power on reset
RESET_REASON_CORE_SW         = 0x03 // Software resets the digital core
RESET_REASON_CORE_SDIO       = 0x06 // SDIO module resets the digital core
RESET_REASON_CORE_MWDT1      = 0x08 // Main watch dog 1 resets digital core

4 does not exist in the header file. But it could be Legacy watch dog reset:

https://docs.espressif.com/projects/arduino-esp32/en/latest/api/reset_reason.html

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...