Questions tagged [esp-now]

9 questions
1
vote
2 answers

Espnow on esp8266 micropython OSError: -3

I was recantly experimenting with espnow in micropython. Sudenly I rann Into A Problem wenn trying to run this code: import network, espnow, time wlan_sta = network.WLAN(network.STA_IF) wlan_sta.active(True) e =…
Atschi37
  • 9
  • 3
0
votes
0 answers

currentState is not running properly

Im making a program to auto detecting nodes using esp-now protocol in tree topology. Right now im having a problem in using fsm in the code, here is my code #include #include #define MAX_CHILD_NODES 10 // Maximum number…
Varaz
  • 1
  • 1
0
votes
0 answers

ESP-NOW: Unable to Connect to Wi-Fi Network After Receiving Data

I'm using ESP-NOW to receive information from another ESP, and then I connect to a Wi-Fi network to send the data to my database. However, after receiving the data, the Wi-Fi status remains at 6 and it refuses to connect. There are no errors with…
0
votes
0 answers

How do I connect relay module to wifi control by esp32?

I'm using esp_now(transmitter & receiver) to switch relays on/off ( relays on at LOW signal) the problem is when power on receiver circuit ,esp32 and relay module at the same time,(relay module connected to +ve & -ve pins of esp32), there's no…
0
votes
1 answer

how to change the channel in ESP-now when is already asigned to some peer?

I am trying to change some peer channel to a default value, i implemented the following code: bool changeToDefaultChannel(){ esp_now_del_peer(slave.peer_addr); esp_wifi_set_channel(CHANNEL_DEFAULT, WIFI_SECOND_CHAN_NONE); esp_now_peer_info_t…
0
votes
0 answers

Problem with esp8266 and SPI on platformio

I am working with ESP8266 using platformio with arduino-framework using ESP-NOW to drive stepper motors. That works well until I try to use GPIO8 as output for stepper impulses. That is one of the Pins noted for SPI. I do not use SPI. But this…
heimi
  • 499
  • 7
  • 16
0
votes
0 answers

ESPNOW failed after I use WiFi.begin(ssid,password)

I am doing a project of RFID access control system. I use 2 esp32. The first one connect to Google Sheet App Stripe, determine whether the uid detected is correct. Then it get the returned result.Then, it should send the result to the second esp32…
Emily Li
  • 55
  • 7
0
votes
1 answer

esp 32 with esp now and mqtt connection

i trying to acheive some home automation with esp 32. my project is like following i have several end points with esp 8266 acting likes slave switches sending Id datas to an esp 32 who is my gateway. both slaves (esp8266) and master gateway (esp…
floprm
  • 72
  • 2
  • 11
-2
votes
0 answers

ESP-NOW and MQTT protocol unable to work simultaneously

I have a framework where 3 slave ESP8266 boards send a message using ESP-NOW to a parent ESP8266 board connected to Raspberry Pi 4 model B. This parent MCU has to relay the message to the RPI using MQTT protocol. The protocols are working fine when…