I followed digiblur’s instructions below to flashing Tasmota onto my Gosund WP3 smart plugs.
That worked great. Awesome instructions - thanks Travis.
After doing that, I decided to wanted to give ESPHome a try on these devices, since I’ve yet to use ESPHome. I installed the ESPHome Add-On in Home Assistant and created my first basic node following the guide/questions. I then edited the file using multiple resources. I’m using a hidden network so had to add a few things to the code.
I used the Tasmota page to ‘update firmware’ and upload my newly created ESPHome bin file.
At first, I could get my device connected to my router, but it wouldn’t show up in ESPHome even after multiple reboots of my router and Home Assistant.
References:
This latest code seems to have bricked my device. The led indicator no longer comes on, it’s not connected to my router, it does not broadcast its fallback wifi, and does not allow power to pass through.
Did it ever (only 1 time) work with esphome flashed? So did it ever connect to your wifi?
A couple of things to consider:
you use “fast connect” esphome will not scan for wifi networks but just connect to the first ssid configured it sees (even if this is a very bad quality ssid!).
If the device is connected to wifi it will not show a fallback hotspot.
I am not familiar with the WP3 but if you have configured a wrong GPIO number, it “might” not boot (not sure is this can be the case in your’s).
If the device is still “valid” and willing to connect to the preconfigured wifi there’s 1 thing left to do:
spin up an AP with the ssid and password and let it connect to it…
If not… the only thing left to do is reflash it physically via serial.
EDIT: I see after rereading that it did connect to your router…
since you haven’t used use_address: under wifi: the addon will not “see” it if the name is not correct or it is not in the same subnet.
Before when it connected to my wifii (but didn’t show up in ESPHome), I saw it on my UDM Pro’s Client List.
I just plugged the device back in and tried to ping it, but no luck.
I think my issues are likely related to both a hidden network and that hidden network on a different subnet than HomeAssistant/ESPHome.
I would expect that your esphome device connects to wifi but the network configuration is wrong (any particular reason for manual IP in the year 2021?).
Quickest way to fix this might just to turn your wifi off (or bring the device out of the WiFi range) so it spwans it’s ap an you can fix your configuration
I would call this information fake facts. The serving of a IP address via DHCP (kind of best practice since two decades?) doesn’t have to do anything with the sign-in/authentication of the wifi itself. It will be most likely the same hardware (consumer grade router) doing the job but’s that actually it.
The only “real” use case using a manual ip in 2021 is for battery powered () esp’s because you can save typically a second “on time” which will conserve a good amount of energy (maybe giving you some hours of “standby time”).
Other than that manual ip’s typically cause more problems than solve solutions. I expect mainly older people suggestion just information which was maybe valid 30 years ago…
Yeah, these might have been the first “smart” things I ever bought, a couple years ago, and were super cheap. They’ve been in the basement for a year and I figured I’d give flashing them a try. Definitely not worth the hassle of flashing over serial.