what is the best methode to design task with asyncio
me be sart ? , someone as link to this method or other with asyncio ?
Asyncio design method
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Asyncio design method
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Asyncio design method
this link is for uasync code, i know it , i have learned with
not method like sadt ( Structured Analysis )
not method like sadt ( Structured Analysis )
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Asyncio design method
well if that's not helpful to you then maybe try to ask your question again with correct spelling because I don't understand 80% of it.
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Asyncio design method
@kevinkk525, I normally build/use micropython on esp8266 and esp32 only and I currently head up for learning on asyncio and mqtt modules to implement on mostly concern with home automation which prefer smallest configuration per ESP's chip. I've got 2x esp8266 8MB FLASH, esp32 WROOM-32 4MB Flash and esp32 WROVER 4MB FLAS / 4MB SPRAM boards. Would you kindly reply below questions for me?
1. Can my esp32 WROVER 4MB FLASH/ 4MB SPRAM board written to be MQTT server rather than using Raspberry Pi Zero?
2. If yes, how can I get current suitable asyncio.py and mqtt.py, etc from ?
3. Once I got it, can I just put it in my ports/espxx/module directory before rebuilding again to save RAM ?
appreciate in advance.
1. Can my esp32 WROVER 4MB FLASH/ 4MB SPRAM board written to be MQTT server rather than using Raspberry Pi Zero?
2. If yes, how can I get current suitable asyncio.py and mqtt.py, etc from ?
3. Once I got it, can I just put it in my ports/espxx/module directory before rebuilding again to save RAM ?
appreciate in advance.
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Asyncio design method
1. I don't know any mqtt server for micropython. Best to use a Pi Zero
2. The official uasyncio should be in your firmware already.
3. You can put any module into that directory to save RAM.
2. The official uasyncio should be in your firmware already.
3. You can put any module into that directory to save RAM.
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Asyncio design method
@kevinkk525
I've just build and flash the latest uPython firmware on my ESP32 board but I still can not see uasyncio.py to import . Could you explain more on how can I get asyncio.py modules from ?
appreciate in advance,
I've just build and flash the latest uPython firmware on my ESP32 board but I still can not see uasyncio.py to import . Could you explain more on how can I get asyncio.py modules from ?
appreciate in advance,
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Asyncio design method
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode