tung256
(tung)
October 29, 2021, 7:10pm
1
this is the last part in my yaml file for the sensor:
sensor:
- platform: dht
pin: D7
model: dht11
temperature:
name: "Kitchen Temperature"
filters:
- offset: -1.6
humidity:
name: "Kitchen Humidity"
update_interval: 180s
it is lit green as seen here:
when i look at the log, it seems HA or EspHome cant connect via Wifi but the device is definitely connected to my wifi
in my UI, i see this
but strangely, i can still see the history of dots instead of solid lines as before.:
i see many people have this issue and the solution is to move to MQTT. is there another simpler solution?
mcarty
(Arturo)
October 29, 2021, 7:56pm
2
Are you using static IP addresses on esphome, or dhcp
tung256
(tung)
October 29, 2021, 10:33pm
3
yes, all static as seen in the top portion of the yaml:
esphome:
name: kitchen_temp
platform: ESP8266
board: nodemcuv2
wifi:
ssid: "meID"
password: "pass"
manual_ip:
static_ip: 192.168.1.247
gateway: 192.168.1.1
subnet: 255.255.255.0
dns1: 192.168.1.229
dns2: 192.168.1.233
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "kitchen Temp Hotspot"
password: "pass2"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
password: "pass3"
ota:
password: "pass4"
tom_l
October 29, 2021, 11:30pm
4
Those are pretty inconsistent ping times for a local network. You may have either a congestion or interference problem.
And you are running your own dns servers?
tung256
(tung)
October 29, 2021, 11:46pm
5
tom_l:
dns servers
yes, own DNS to get rid of ads.
tom_l
October 29, 2021, 11:48pm
6
Try bypassing / disabling them to see what happens.
Out of curiosity: in what way are dns entries connected with good/bad connection? I’m not skilled in this branch, that’s why i ask…i thought that they are important for “outside world” (internet) only, and not for local network, especially in case of local connected esp modules…i guess i’m wrong…
tung256
(tung)
October 30, 2021, 10:33am
8
Protoncek:
connected
what’s interesting is that my top part, network settings, works fine for other nodemcu 8266 boards. it is just this unit that is giving me problems. i went ahead and flashed it again and still the same issue. will try to bypass the DNS tonight to see if that does anything.
tom_l
October 30, 2021, 10:46am
9
Probably not worthwhile if you have other ESPHome nodes that have underscores in the name that are working.
tung256
(tung)
November 3, 2021, 5:19pm
10
ok. happy to say it was another static ip, with the same ip as my nodemcu. all good now!