Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reinstall the esp32powflash device in the utility room #1256

goatchurchprime opened this issue Sep 21, 2019 · 1 comment


Copy link

commented Sep 21, 2019

The code is a bit simpler, and now uses watchdogtimer technology with a timeout of 60seconds. No exceptions are handled, so if there are any wifi problems, for example, it will drop out to the command line and be doing nothing until the watchdog resets it.

It now makes the following mqtt signals, which we can track to see how often the occur and detect that it's still alive.

esp32powflash/timeout 78398 -1 0
esp32powflash/mac CC:50:E3:96:06:54
esp32powflash/resetcause PWRON_RESET
esp32powflash/ticks 11547 1016 0

The following command watches that channel.

mosquitto_sub -h mqtt.localdomain -v -t "esp32powflash/#"

It's sitting on my desk, powered on to see if it keeps going. It needs to be stuck back into the utility room downstairs with some good string sticking tape to hold the LDR to the LED flashing cell. (Anyone else can install it if Jason shows up on Monday as I won't be here.)


This comment has been minimized.

Copy link
Contributor Author

commented Sep 21, 2019

jason showed someone around late and I got it installed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.