I am totally new to this field of Home Assistant and ESP.
Can you pls suggest me which ESP8266 board should I use while adding it in the ESPHome in Home Assistant?
Actual issue is, if I choose it as D1 Mini, then -
It faces problem in connecting the Wifi Router with 802.11n mode! Must need 802.11b (LEGACY)!
Even if the device is online, in ESPHome, it shows as offline but if I click on LOGS, it shows logs!
Can’t find the issue and its solution.
What am I missing?
Start using only one Wifi network to limit the error possibilities. And I’d try setting a static IP in your code. Check your router for an IP, that is not taken and set this in your code.
Do you have, by any chance, a router with combined 2.4 and 5GHz wifi? And possible with “smart connection”, like asus or similar? If so, disable that. I’ve had same problems with my new internet radio when i had this so-called “smart connect” turned on.
I also had problems with multiple wifi networks stated. Didn’t explore further, now i’m using just one wifi stated in esphome.
Now i have around 10 esp boards and all work fine. Boards are sonoff, esp01, esp12, esp201, all connect fine.
Also…i hope that you have all needed pull-up and -down resistors installed…?
It is ESP32-E and not ESP8266, but I am transitioning experimental devices to the DFRobot FireBeetle DFR0654
Reasons I chose it:
USB type C connector
Onboard battery charger
Onboard RGB LED
Higher frequency PWM available
Ultra low power sleep available
RT9080 LDO is one of the best available
BT 4.2 available (using for BLE tracking)
If you’re sourcing 3.3VDC from the Wemos D1 Mini (looks like a clone board) be aware the LDO voltage regulators on these clones typically provide less than 250 mA of current capacity. A genuine Wemos/LOLIN D1 mini can provide much more current. This becomes an issue when you attempt to drive power-hungry sensors, like IR sensors.
I strongly doubt that any sensor would draw over 100mA, usually it’s waaay lower. Cheap chinese sensore draw a few mA only. Even proffessional alarms sensors have below 50mA draw. I power all my sensors from internal regulator without issues. BUT, some models (like chinese ones) need to be altered: normally they are from 5-12V and they have built-in 3.3V regulator. Removing it makes sensor appropriate for direct connection to 3.3V from module.
I usually use cheap chinese 230V to 5V switchers for powering my modules. They are around 1€ on aliexpress (or even less…) and pretty small, too. And work quite great (of course i add a small fuse in front, too, just in case…). Recently i also received 3.3V models for powering modules which require 3.3V power supply (and not 5V).
Hi all,
I’ve been struggling with esp8266-01 which I used before converting to ESPhome.
Which IO can be used, as IO0 takes the module into serial programming when held low during start up.
on : ESP8266 Platform — ESPHome
it says (for general esp 8266 family) that effectively only the following pins can be used as general purpose GPIO:
|Pin|Restrictions|State after Reset|
|GPIO0|If HIGH on boot|Weak Pull Up|
|GPIO2|If HIGH on boot|Weak Pull Up|
So, how can I connect an IR led to the?
I’ve tried connecting IO0 to a transistor (with 2Kohm resistor, so the current will be 1.1mA), but no luck–> still stuck on boot.
Any suggestions?
That board has very few pins available. If you use 0 or 1 make sure that they are high at boot, otherwise only thing you can do is disable logger in esphome and use TX or RX pins as input/output. But be aware that TX also has to be high at boot…