Tasmota to Esphome (incorrect Wifi details)

Hello,

First post here.

I have one of these warm white cool white bulbs similar to the Mirabella.
https://esphome.io/cookbook/mirabella-genio-bulb.html

I was able to tuya convert these and put the generic Tasmota firmware on it.
Then I tried to set up Esphome by copying the template file in the link.
I replaced the details for my WiFi. I was able to compile the .yaml file and upload the firmware to the bulb.

This all went ok. It said the upload was successful. But now I cant see the bulb in my ESPhome integration or even in my WiFi network. I tried switching off and switching back on, but it didnt seem to help. I feel like it was my WiFi details that were causing the issue. I put the SSID in full caps instead of camel case by accident.

Is there a way to go back to Tasmota or the original firmware?
This is my Yaml file.

esphome:
  name: connect_dl2
  platform: ESP8266
  board: esp01_1m

wifi:
  ssid: 'WIFI'
  password: 'WIFIPASS'

logger:

api:

ota:

output:
  - platform: esp8266_pwm
    id: output_warm_white
    pin: GPIO4
  - platform: esp8266_pwm
    id: output_daylight
    pin: GPIO5

light:
  - platform: cwww
    name: "Connect CSH-GU53WW5W"
    id: downlight
    cold_white: output_daylight
    warm_white: output_warm_white
    cold_white_color_temperature: 6500 K
    warm_white_color_temperature: 2700 K

    # Ensure the light turns on by default if the physical switch is actuated.
    restore_mode: ALWAYS_ON

Thanks for your help.

No ap: in the config, or web_server: or captive_portal:

You won’t make that mistake again!

You probably can solder or pogopin to the board if the glass/plastic is easy to get off.

Change the SSID in your router temporary.

3 Likes

That is a really good idea and it almost worked.

The HA discovered the entity but when I tried to configure it, the action failed as my yaml doesnt have ap: in the config.

Is there any way to get around this.

Don’t try to configure it. You have ota: in your esphome .yaml, so compile new firmware and do an ota update.

without forgetting:

:100:

1 Like

Thanks a lot really :slightly_smiling_face:

I was able to compile the edited firmware with your suggestions.
It shows as online and I am able to add the ESPHome Integration.

However, for some reason, the entities for light are not showing up.
Could you please kindly review my updated yaml file to make sure I havent missed something else?

esphome:
  name: connect_dl2
  platform: ESP8266
  board: esp01_1m

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: "OTA PWD"

wifi:
  ssid: "WIFI_SSID"
  password: "WIFI_PWD"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Connect-Dl2 Fallback Hotspot"
    password: "FALLBACK PWD"

captive_portal:

Seems the sections of output: and light: are not present any more.

Duh ofcourse, sorry for even bothering. I will fix that up