Hi there
I don't know if it should be a topic here but here it is.
I have two devices, a controller and a scoreboard, they communicate between each other with esp now (esp32 C3) and the scoreboard connects to wifi and send a http post to a server every 30 seconds.
My question is, there is a way to shutdown esp now in the scoreboard, to have time to send the post, and then come back? I trying this for 3 days now, and the best I could was that when I connect to wifi and did the post, I changed the wifi channel back to the esp now's and my controller was getting a log error of ESP_ERR_ESPNOW_INTERNAL
Thanks!
Esp now with wifi
-
MicroController
- Posts: 2669
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Esp now with wifi
You could let the "controller" try different channels until it reaches the "scoreboard" so that the "controller" would automatically "follow" the WiFi channel of the "scoreboard". Or have the "scoreboard" broadcast some "hello" message which the "controller" would receive when it tries the right channel.
(Notice that unicast ESP-NOW messages are automatically acknowledged upon receipt, so you don't necessarily have to send anything back to let the sender know that a message was received.)
(Notice that unicast ESP-NOW messages are automatically acknowledged upon receipt, so you don't necessarily have to send anything back to let the sender know that a message was received.)
-
tcruzdias76
- Posts: 3
- Joined: Thu Mar 20, 2025 12:30 pm
Re: Esp now with wifi
But when i try to send fom controller to the scoreboard, and get an error, i can't do anything else.You could let the "controller" try different channels until it reaches the "scoreboard" so that the "controller" would automatically "follow" the WiFi channel of the "scoreboard". Or have the "scoreboard" broadcast some "hello" message which the "controller" would receive when it tries the right channel.
(Notice that unicast ESP-NOW messages are automatically acknowledged upon receipt, so you don't necessarily have to send anything back to let the sender know that a message was received.)
Who is online
Users browsing this forum: Amazon [Bot], Qwantbot and 5 guests