Search found 969 matches
- Tue May 25, 2021 6:35 pm
- Forum: General Discussion and Questions
- Topic: datetime not working out of the box
- Replies: 18
- Views: 9983
Re: datetime not working out of the box
Personally I always steer clear of unmaintained repositories (like micropython-lib) because often I just end up wasting lots of time with code that may or may not work, may or may not have multiple PRs open that I have to check and merge myself to get a working code, may have multiple issues open th...
- Mon May 24, 2021 7:27 pm
- Forum: ESP32 boards
- Topic: Send data via Wi-Fi to the computer
- Replies: 1
- Views: 1246
Re: Send data via Wi-Fi to the computer
Check out https://github.com/peterhinch/micropython-iot
On the micropython side it uses uasyncio and on your computer you can run the server side with python3. Then you can send data in both directions.
On the micropython side it uses uasyncio and on your computer you can run the server side with python3. Then you can send data in both directions.
- Sat May 22, 2021 8:06 pm
- Forum: Pyboard D-series
- Topic: Webrepl not working while executing code
- Replies: 2
- Views: 11382
Re: Webrepl not working while executing code
So nobody got problems with webrepl? Or is nobody using that anymore? Wanted to deploy my pyboard in my garden project but if the webrepl is unusable, remote debugging won't be possible.. Then I'll have to use my esp32, which would be a shame (and some stuff won't work as well but at least the esp32...
- Sun May 16, 2021 9:57 am
- Forum: Drivers for External Components
- Topic: PMS5003 air quality sensor library
- Replies: 33
- Views: 25563
- Wed May 05, 2021 5:09 am
- Forum: Pyboard D-series
- Topic: WLAN not connecting on first attempt
- Replies: 10
- Views: 52931
Re: WLAN not connecting on first attempt
Are there some specific "connect to the internet" ESP32 application notes floating around somewhere? Not that I'm aware of. Some platforms (especially those with RTOS) might just have a few more error messages. Overall, handling reliable and resilient socket connections on a low level like with mic...
- Tue May 04, 2021 1:46 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Pico MicroPython with networking over USB
- Replies: 10
- Views: 8223
Re: Pico MicroPython with networking over USB
yeah that would be nice. Firmware support for external network chips.
- Mon May 03, 2021 4:04 pm
- Forum: Pyboard D-series
- Topic: Webrepl not working while executing code
- Replies: 2
- Views: 11382
Webrepl not working while executing code
I tried using the webrepl on my pyboard-D but it doesn't go further than entering my password. After that, nothing happens. Not even the repl output gets sent to the webrepl. Sending/Receiving files also doesn't work. When I interrupt my uasyncio program or any other executed code on the pyboard, ev...
- Mon May 03, 2021 10:40 am
- Forum: Pyboard D-series
- Topic: WLAN not connecting on first attempt
- Replies: 10
- Views: 52931
Re: WLAN not connecting on first attempt
I just let mqtt_as handle the wifi connection and run that connect method in a loop so it tries again if the 1st attempt fails: https://github.com/peterhinch/micropyth ... as.py#L465
- Mon May 03, 2021 10:35 am
- Forum: Pyboard D-series
- Topic: ntptime kills the wifi station, hard reset required to fix
- Replies: 20
- Views: 83301
Re: ntptime kills the wifi station, hard reset required to fix
I don't have an epoch problem on the pyboard-D. The first sync works and after that I can't connect anywhere anymore. No socket will work, all connection attempts time out.
- Mon May 03, 2021 10:34 am
- Forum: Pyboard D-series
- Topic: WLAN not connecting on first attempt
- Replies: 10
- Views: 52931
Re: WLAN not connecting on first attempt
I can connect reliably on the esp8266 and esp32 without doing machine resets and that's not quite a solution imho. I'd like to solve the reason for this pyboard-D problem. Maybe the wifi chip isn't ready that quickly and the first connect() just gets ignored? Doing a short waiting time also doesn't ...