Skip to content

Sometimes firmware yells "WiFi FAILED!" but device answers to pings. #19

@linuxlurak

Description

@linuxlurak

HASS Version: 0.44
Sonoff Basic "2017 Version"
Sonoff-HomeAssistant version: ESPsonoff-v1.01tOTA

Repeatedly I saw the message "WiFi FAILED!" three or four times in a row in my arduino ide serial monitor on COM. I waited for the mqtt broker connection to show up with "ok". But nothing showed up. Not even "Connecting to " appears. Instead the device restarts and prints again "WiFi FAILED!".

I see in the sources that the devices restarts after failing to connect to wifi. So thats expected and working. No problem with restarting after failing. Problem seems to be the detection mechanism for successful wifi connection establishment.

At any time I can ping my device even if it thinks that wifi failed. There is no other device in my network with the same ip address. If I cut power to my Sonoff no pings return.

Any idea why connecting to wifi checking wifi connection fails? Is the routine for checking the connection reliable/state of the art?

After some time wifi works obviously since I can switch the relay of my Sonoff.

What else can I provide you for debugging?

Cheers and thanks for your work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions