ESP32 aioespnow + asyncio + espnow + peers + broadcast is a trap in MicroPython 1.27 ? #18648
Unanswered
Fisherman48
asked this question in
ESP32
Replies: 1 comment
As far as I can remember, Code from docs: https://docs.micropython.org/en/latest/library/espnow.html#aioespnow.AIOESPNow._aiter__ e = AIOESPNow()
e.active(True)
async def recv_till_halt(e):
async for mac, msg in e:
print(mac, msg)
if msg == b'halt':
break
asyncio.run(recv_till_halt(e)) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi
Playing with ChatGPT to build a HomeSystem server/store/web and nodes sending enviroment data using espnow and esp32 / esp32-c3/c6 and 1.27.0 .
Trying different levels of services and sofistication to handle changes like change of wifi channel, restart ... I have difficulties in finding good enougt solutions.
One conclution from ChatGPT was: aioespnow + asyncio + espnow + peers + broadcast is a trap in MicroPython 1.27 ?
Any thougts about that?
/Stefan in the snowy archipellago of Stockholm
All reactions