-->
Page 1 of 1

ESP8266 (wemos D mini) ESPNOW + wifi problem

PostPosted: Fri Nov 12, 2021 11:26 am
by Tiggy
Hi,

I am pretty new to esp8266 and let me first explain what I am trying to do.

I currently have multiple temp sensors (DSB's & wemos R1 mini) to monitor the temperature of my fridges in the shop using wifi to save data on my internal webserver (linux - php - mysql). This works like a charm, except it is clogging up my wifi network (10+ sensors connecting & sending data every 30 minutes).

So after searching the net I found out about ESPNOW and managed to get one sensor to sent data to a receiver which should then upload that data to my website. The receiver gets the data from the sensor without any problem, but for some reason the receiver can't seem to put the data on the website using http.begin; always getting a connection error. The receiver and sensor are using channel 6 (from what I can see in the output).

I looked on the internet and tried allmost everything that is on there, but didn't help. Any idea what I might be doing wrong?

This is the output from the receiver:

17:15:29.749 -> Setting as a Wi-Fi Station..
17:15:31.484 -> Setting as a Wi-Fi Station..
17:15:32.482 -> Setting as a Wi-Fi Station..
17:15:33.459 -> Setting as a Wi-Fi Station..
17:15:34.448 -> Setting as a Wi-Fi Station..
17:15:34.448 -> Station IP Address: 192.168.1.26
17:15:34.494 -> Wi-Fi Channel: 6
17:15:34.494 -> ------------------------------
17:15:34.494 -> Mode: STA
17:15:34.494 -> PHY mode: N
17:15:34.494 -> Channel: 6
17:15:34.494 -> AP id: 0
17:15:34.494 -> Status: 5
17:15:34.494 -> Auto connect: 0
17:15:34.494 -> SSID (13): WiFi-2.4-1A58
17:15:34.494 -> Passphrase (13): jadjadjada
17:15:34.494 -> BSSID set: 0
17:15:42.280 -> Packet received from: 68:c6:3a:e1:56:94
17:15:42.280 -> Board ID 99: data lenght 12 bytes
17:15:42.280 -> Temp value: 2100.00
17:15:42.328 -> Vcc value: 3323.07
17:15:42.328 ->
17:15:42.328 -> [HTTP] begin...
17:15:42.328 -> http://192.168.1.250/status/savedata_wi ... .07|SV=800
17:15:42.328 -> [HTTP] GET...
17:15:42.376 -> [HTTP] GET... failed, error: connection failed