Search found 8 matches
- Mon Aug 23, 2021 11:35 am
- Forum: ESP32 boards
- Topic: ESP-Now support for ESP32 (and ESP8266)
- Replies: 368
- Views: 1512846
- Mon Aug 23, 2021 11:30 am
- Forum: ESP32 boards
- Topic: ESP-Now support for ESP32 (and ESP8266)
- Replies: 368
- Views: 1512846
Re: ESP-Now support for ESP32 (and ESP8266)
Glenn20, thanks it helped. I must read the doc better for the next time...
glenn20 wrote: ↑Mon Aug 09, 2021 2:23 amI just ran a small test... it works (at least for the small test I ran) if you:Code: Select all
... w0.active(0) machine.lightsleep(1000) w0.active(1) w0.config(channel=chan) ...
- Sat Aug 07, 2021 10:05 am
- Forum: ESP32 boards
- Topic: ESP-Now support for ESP32 (and ESP8266)
- Replies: 368
- Views: 1512846
Re: ESP-Now support for ESP32 (and ESP8266)
Look at the top of this page maybe it applies to your situation. Thanks, but I do not have a problem with receiver - this part works fine and it is able to receive bigger load then with one sender, but problem is on sending side - only first message after (re)boot is sent. Sending of each other is ...
- Fri Aug 06, 2021 10:07 pm
- Forum: ESP32 boards
- Topic: ESP-Now support for ESP32 (and ESP8266)
- Replies: 368
- Views: 1512846
Re: ESP-Now support for ESP32 (and ESP8266)
And I found possible issue with lightsleep. In my sender code: chan = 4 rece = b'\xff\xff\xff\xff\xff\xff' w0 = network.WLAN(network.STA_IF) w0.active(True) w0.config(channel=chan) e = espnow.ESPNow() e.init() e.add_peer(rece, None, chan, network.STA_IF) while True: st = utime.ticks_ms() message = m...
- Fri Aug 06, 2021 9:57 pm
- Forum: ESP32 boards
- Topic: ESP-Now support for ESP32 (and ESP8266)
- Replies: 368
- Views: 1512846
Re: ESP-Now support for ESP32 (and ESP8266)
Use a third device connected to AC power as a message broker. (I am working on an espnow proxy to an mqtt broker). I have done it - I have a receiver/sender, which can be managed via HTTP. It is without documentation now, because it is freshly in production state. How to use it is in file src/lib/a...
- Thu Apr 29, 2021 9:57 pm
- Forum: ESP32 boards
- Topic: ESP-Now support for ESP32 (and ESP8266)
- Replies: 368
- Views: 1512846
Re: ESP-Now support for ESP32 (and ESP8266)
Hi, I have an update - yes, whole problem was in channels settings - old version did not supported channel change for STA_IF - that means all devices was sending on channel 1. It does not matter what is set in add_peer. And as your latest fix, I can change channel for STA_IF, so when I changed all c...
- Thu Apr 29, 2021 11:03 am
- Forum: ESP32 boards
- Topic: ESP-Now support for ESP32 (and ESP8266)
- Replies: 368
- Views: 1512846
Re: ESP-Now support for ESP32 (and ESP8266)
Thanks for posting this @mhepp63 - I have found some very "interesting" quirks when investigating this issue :roll: Cool! I am happy to see that helped ;) TL/DR : When using AP and STA together, the AP will always change channel to that of the STA (See "Attention" note 3 at https://docs.espressif.c...
- Wed Apr 28, 2021 3:41 pm
- Forum: ESP32 boards
- Topic: ESP-Now support for ESP32 (and ESP8266)
- Replies: 368
- Views: 1512846
Re: ESP-Now support for ESP32 (and ESP8266)
Hi, first, I must say big thanks to glenn20... And second... I have a problem with ESPNow and WiFi working together. I need receive messages, handle them and send via wifi, but I am not able to get working code with wifi and espnow together. I have esp32-wroom-32e as a receiver, your latest code (wi...