Hi,
In Arduino C it's possible to know a boot reason of ESP8266 with command:
ESP.getResetReason()
The list of boot reasons (what causes boot or reboot)
I want to make a rule which on boot acts differently in dependency of boot reason:
In case of watchdogs or exception it should send MQTT message.
In case of sleep awake it should turn on relay.
In case of normal boot it should turn on LED.
How to read/check boot reason from rule?
Boot reason in rule
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Boot reason in rule
Not possible today, please add a "issue" (aka feature request) on GitHub.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Boot reason in rule
A 5 min job to program....
Who is online
Users browsing this forum: No registered users and 30 guests