Hello,
Here my first post on the forum.
I was forced to abandon Domoticz and switched to HA, i must say i’m very happy with HA.
(now using Zwave, RFX-Com, MQTT and ESP32)
My problem : cannot add a Wemos-D1 mini anymore to my system.
Short description :
I had 3 ESP’s connected to my HA. (1 for mini display on my desk, 1 for relay control in the garden, 1 x RFID-reader)
Then i got an ESPHome update notitfication and i tried to also update my ESP nodes. (first only 1)
After the update (notification “successful”) it showed as offline.
I took it back to my computer and connected it via USB. All other wires disconnected, no sensors eg.
USB went crazy, computer even crashed.
Then i started up Arduino IDE, and re-flashed the ESP node with the BLINK program.
This was a bit tricky because the node keeps on resetting. Eventually IDE connected to it and started uploading.
After that, BLINK program running fine !
Reconnected it to my PC, all was quit now and was detected by the system again.
With ESPHome i tried installing the initial config again to connect it to HA again.
Again, install process completed and then again PC goes crazy on USB connected, not connected, connected… resulting in a crash again…
I even tried using a spare ESP32, but no success.
This problem occurs on every attempt…
Now i’m scared to update any node.
Has anyone an idea what is going on ?
Example of a working node :
substitutions:
name: "badkamer"
friendly_name: Badkamer
esphome:
name: ${name}
friendly_name: ${friendly_name}
name_add_mac_suffix: false
project:
name: esphome.web
version: '1.0'
esp8266:
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
# Allow Over-The-Air updates
ota:
# Allow provisioning Wi-Fi via serial
improv_serial:
wifi:
# Set up a wifi access point
ap: {}
# In combination with the `ap` this allows the user
# to provision wifi credentials to the device via WiFi AP.
captive_portal:
dashboard_import:
package_import_url: github://esphome/example-configs/esphome-web/esp8266.yaml@main
import_full_config: true
# To have a "next url" for improv serial
web_server:
light:
- platform: binary
name: "Lamp_Badkamer_humidity"
output: light_output1
output:
- id: light_output1
platform: gpio
pin: 2
inverted: true
# Connected to D2, internal LED
sensor:
- platform: dht
pin: 16
# Connected to D0
temperature:
name: "Badkamer Temperatuur"
humidity:
name: "Badkamer Humidity"
update_interval: 30s
# DHT22
Regards,
Nick