Much simpler than the one I made last year.
very advanced flashing utilities you got there
Iām always going the low-tech/low-effort way and just ask for one or two helping hands
For the sinilink device I actually just used dupont wires and holding them while flashing (3-4 hands were included in that action).
Because āfreeingā esp based device hardly takes 60 seconds (usually much less) I virtually never solder wires or pins but just do it always āfreelyā. Even shorting wires or loosing grip while flashing never killed any of my devices. Worst case is to initiate the flashing process once again - bricking espās is simply not possible afaik.
@lmatter I was hoping the same thing. Did you ever find and interface to use to type in wi-fi creds? I canāt get mine to fully connect
I did - check out my comment a bit after that one. I used my Windows laptop to create a āhotspotā that only had 2.4GHz so I was able to get them registered with eWeLink. SONOFF Micro - 5V Wireless USB Smart Adaptor - #12 by lmatter
I wanted to keep them on the same lan so HA could use local API so didnāt want to go this route. Based on another thread I tried a tablet I had and my micros connected right away. Two different android phones didnāt work, but an android tablet worked perfect. Such a waste of time trying to get these things to connect!!!
Any chance you could share your yaml for these?
I think I got this from somewhere else, so I canāt take credit for this
Edit:
Looks like it came from here, but maybe has gotten updated since I first used it
substitutions:
devicename: weatherwifiswitch
upper_devicename: "Weather Wifi USB Relay"
esphome:
name: $devicename
platform: ESP8266
board: esp01_1m
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Weatherwifiswitch"
password: "xxxxxxx"
ap_timeout: 3min
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
status_led:
pin:
number: GPIO16 # Blue LED
switch:
# Relay
- platform: gpio
id: relay
pin: GPIO5
# Green LED
- platform: gpio
pin: GPIO14
id: green_led
inverted: true # start on
# Switch template to link relay and green LED states
# LED is on when relay is off
- platform: template
id: "${devicename}_relay"
name: $upper_devicename
lambda: |-
if (id(relay).state) {
return true;
} else {
return false;
}
turn_on_action:
- switch.turn_on:
id: green_led
- switch.turn_on:
id: relay
turn_off_action:
- switch.turn_off:
id: green_led
- switch.turn_off:
id: relay
# Button
binary_sensor:
- platform: gpio
id: button
pin:
number: GPIO04
mode: INPUT_PULLUP
inverted: True
on_press:
- switch.toggle: "${devicename}_relay"
Many thanks!
I wrote a short SINILINK guide a while ago.
Was anyone able to get this to pass through data / does the sinilnk pass through or control the data lines?
To my knowledge the sinilink does pass data. Check the video on those devices by the guy with the Swiss accent.