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

esp8285 reboot due to incorrect API or wireless timeout #3472

Closed
platima opened this issue May 14, 2022 · 6 comments
Closed

esp8285 reboot due to incorrect API or wireless timeout #3472

platima opened this issue May 14, 2022 · 6 comments

Comments

@platima
Copy link

platima commented May 14, 2022

I have a pile of Espressif MCU's connected to ESPHome within HA. Everything latest.

I've found that the ESP8285 crashes every 15-30 mins, and I narrowed that down to either a Wifi or API timeout. Setting both to 0s works fine.

The YAML I am using now is

esphome:
  name: csh-plgusbpm
  comment: Labelled Plug01

esp8266:
  board: esp8285

logger:

api:
  reboot_timeout: 0s

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  fast_connect: true
  reboot_timeout: 0s

However it'd be great to actually not have to set these, as they are not actually timing out. My AP does not show it disconnecting until after the reboot, and when I watch the logs everything is working fine until the API says read error on the 15 or 30 min mark, then it reconnects a few seconds later. So it seems like the timeout is not being counted correctly.

After the unexpected reboot (I can recreate and get verbose logs if required), the status LED is blinking every ~1 second and the emergency wifi AP is enabled, even though it's also joined again in STA mode.

@nagyrobi
Copy link
Member

You don't read, don't you?

@platima
Copy link
Author

platima commented May 14, 2022

You don't read, don't you?

I don't appreciate your passive aggressive nature there. Yes, I do read, and I scoured the internet for two days and tried all sorts of things before putting this issue up - even then, I checked the existing issues first. I am new to esphome, but I am not new to the development process and lodging issues.

Once you're over grandiosity, could you please actually assist or indicate what I missed?

Thank you.

@markus-seidl
Copy link

It seems there is some aggression ongoing, so I only reference this issue #1 .
Poste issues here: https://github.com/esphome/issues

@nagyrobi
Copy link
Member

could you please actually assist or indicate what I missed?

Hm. Do you see anything special on this link?
https://github.com/esphome/esphome/issues

@platima
Copy link
Author

platima commented May 15, 2022

It seems there is some aggression ongoing, so I only reference this issue #1 . Poste issues here: https://github.com/esphome/issues

Thanks - will remove this and move it now. I legit did not see that when I posted last night!

@platima platima closed this as completed May 15, 2022
@platima
Copy link
Author

platima commented May 15, 2022

could you please actually assist or indicate what I missed?

Hm. Do you see anything special on this link? https://github.com/esphome/esphome/issues

I do not, I did not last night. It may have not loaded the whole page, or it could have been because I had too many tabs open, but it was an honest mistake and there is no need for the attitude.

@esphome esphome locked as too heated and limited conversation to collaborators May 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants