▲ 6 r/circuitpython+1 crossposts

firmware or hardware limitation, or just bad code? run a http web server while making http/https requests?

pastebin: https://pastebin.com/gRuitf4Z

i have a project where i would like to use an esp32 to collect http and https status codes from various domains and IPs, and i also want a web access panel to run, to let a user change settings and view logs.

even when using uasyncio and making sure none of my functions are blocking, i can only get status code checking OR the web server to run, but not at the "same time"

at first i was using urequests but then i realized it was blocking.

so i tried uaiohttpclient works but it only supports http, not https.

aiohttp works for only http but crashes both my esp32 and a spare esp8266 if i make a https request, as in i get a memory dump in the relp and then a reboot.

so then i tried using uasyncio.open_connection() but all i get is either domains and IPs all timing out, or i get the -202 or 0x0101 errors. there is no pattern to what i get.

eventually i gave up and dumped the code into claude AI and it tweaked some things but in the end ive had no luck. AI didnt help.

it just doesnt work....and ive been at this for weeks now and no luck.

ive been tracking the memory usage and i have plenty of memory.

im starting to wonder if im running up on a firmware or hardware limitation? is it possible to simultaniously run a web server while also making http requests at the same time?

i think im going to try to see if i can get something to work with usockets but im not hopeful.

reddit.com
u/wheredidmyvapego — 4 days ago
▲ 11 r/RedDeer

power out in bower? the city after-hours line disconnected or doesn't work?

power flickered than went out completely in the bower area at 10.

all of the businesses along gaetz look like they have no power.

tried calling the city, the afterhours line doesn't work?

reddit.com
u/wheredidmyvapego — 8 days ago

summers are hotter and drier, and we have more fires and smoke due to climate change....but then i contribute to climate change by using more electricity to try to escape from the heat caused by climate change.

ill keep this short.

i naturally run hot (idk fast metabolism) and my adhd medication makes me run even hotter. i also become significantly more succeptible to heat fatigue and heat stroke.

where i live in Alberta, AC in houses and apartments is basically non-existent, so basically every house and especially every apartment becomes insufferable in the heat.

like 27c at 3am, despite a window fan in every window. no joke.

its even worse with the forest fire smoke, and i have athsma so its even worse for me.

with smoke, your options become slow roast with the windows shut, or experience slightly cooler temps but breath in smoke.

so naturally i absolutely hate summer. and the unrelenting weeks of sun and heat.

so your option is a window AC (banned by most rental companies under threat of eviction, no joke) or to buy a bulky pedestal AC unit, which is less efficient because a portion of the heat byproduct of the AC, is dumped back into the room the AC is working to cool.

im so tempted to get an AC, but its a weird concept. i lowk feel bad about running large appliances like an AC unit.

like summers are hotter and drier, and we have more fires and smoke due to climate change, but then i contribute to climate change by using more electricity to try to escape from the heat caused by climate change.

i know that one person choosing not to use AC wont make a difference, but it still sucks. i still feel bad for contributing to the problem.

reddit.com
u/wheredidmyvapego — 11 days ago

im doubting if what i want to do is possible.

code is here: https://pastebin.com/AShYmKp8

i have a project where i have a esp32 check the http status codes of various user specified domains and IP addresses, and puts the status codes on a 16x2 LCD.

this aspect of the project works well, but i wanted to upgrade the project to include a webserver that ran a web access and control pannel, that can let a user control the project via the web. so i started using microDot for the project.

after many weeks ive gotten the esp32 to run the main code and the webserver, but not at the same time.

im trying to use uasyncio to setup both the main code and webserver to run at the same time, and for the life of me i just cant get it working properly. like it works without errors but the output is wrong.

either i can get the server to work, or the main code, but not both at the same time.

and i do know that using asyncio doesnt make the code run at the same time, so im not expecting that. but when i call await within my main code to yeild to the server, i still cant access the server.

as a last resort, i gave up and asked claude to cook up something, and no surprises, but the AI generated solution doesnt work either.

so now im several weeks into this project and im doubting that this project is possible. and im annoyed at how much time ive spent with no results.

part of me is wondering if i just try to use usockets and setup a rough server and get it to work that way.

EDIT: looks like you can create an http server with asyncio so perhaps thats a route

reddit.com
u/wheredidmyvapego — 12 days ago
▲ 15 r/SBCs

so now that the raspberry pi prices are close to mini pc prices, whats the next best SBC

i really like the raspberry pi boards, atm my homelab is 3 different raspberry pi boards but when i look online, im shocked by the prices, even the prices of the raspi 3, which is nearly 10 yrs old at this point?

so if i needed a cheap board, with 1+ gb of ram, what do we buy now?

reddit.com
u/wheredidmyvapego — 12 days ago
▲ 3 r/eBayCanada+1 crossposts

Listing Error: This Samsung phone is not approved for sale in canada and cannot be listed on ebay

EDIT: Include the full model number in the listing title. like for example Galaxy A15 model number is SM-A156W

I purchased a samsung galaxy A15 in Canada in 2024, from walmart canada.

now im trying to list the phone and ebay wont let me?

this is now the 2nd time in 1 year that ebay has stopped me from listing a phone.

the other phone that ebay wouldnt let me list was some TCL that my sister in law asked me to sell, also purchased from walmart canada.

what gives, ebay? its a samsung ffs, its not like its a huawei or something.

reddit.com
u/wheredidmyvapego — 12 days ago

inspiron 15 3520 locks up/crashes without BSOD

inspiron 15 3520, intel i5 12th gen and 16gb ram. win11 installed. 

this laptop is 1.5 yrs old and no longer has a manufacturer warrenty as far as i know.

Normally this laptop has an issue where it will randomly lockup/freeze/crash without a BSOD, the only fix being a hard reboot. sometimes once a week or 2, some days its 3+ times a day. there is no pattern. 

this issue persists beyond 3 windows installs.

there seems to be no indicator of when this will happen and nothing in particular seems to cause these crashes. 

i have tested and retested the ram, and swapped modules around.

i have noticed that upon a hard reboot after a crash, the fans will spin at 100% for the next 3-5 minutes, which is abnormal. normally the fans are silent on a reboot.

this is making me wonder if there is an issue with thermal management, but i do use this laptop for minecraft and ive never had it crash like this in-game.

part of me is wondering if this a driver issue, but i have all of the drivers from dell. i put in my service tag and downloaded all of the recommended drivers.

when i check event viewer there are the usual system errors, and there will be critical errors due to a forced reboot. 
there are no other logs or errors pointing towards an issue. 

reddit.com
u/wheredidmyvapego — 19 days ago
▲ 4 r/Dell+2 crossposts

inspiron 15 3520 randomly crashes

inspiron 15 3520, intel i5 12th gen and 16gb ram.

this laptop is 1.5 yrs old and no longer has a manufacturer warrenty as far as i know.

Normally this laptop has an issue where it will randomly lockup/freeze/crash without a BSOD. sometimes once a week or 2, some days its 3+ times a day.

this issue persists beyond 3 windows installs.

there seems to be no indicator of when this will happen and nothing in particular seems to cause it.

i have tested and retested the ram, and swapped modules around.

i have noticed that upon a hard reboot after a crash, the fans will spin at 100% for the next 3-5 minutes, which is abnormal. normally the fans are silent on a reboot.

this is making me wonder if there is an issue with thermal management, but i do use this laptop for minecraft and ive never had it crash like this in-game.

part of me is wondering if this a driver issue, but i have all of the drivers from dell. i put in my service tag and downloaded all of the recommended drivers.

reddit.com
u/wheredidmyvapego — 19 days ago

TCL phones: any good?

not talking about budget devices like the TCL 502, but their midrange competitors like the TCL K70 NXTPAPER 5G?

looks like these phones come with android 16, and 4 or 8 gb of ram and 120gb storage...

my carrier has a few different models for sale.

reddit.com
u/wheredidmyvapego — 21 days ago

T.R.E.E.: Express wont happen because of corporate

with this new T.R.E.E. slogan, DT says they want the checkout experience to be "express", yet the item voids is one of the biggest impacts on checkout times.

​

i can do 10-15 item voids in a shift, wether it be someone tells me they dont want an item after i scan it (80% of the time) or i accidentally double scan an item because the scanners are shit.

​

this stupid system of required a managers login creds to clear the item voids is just a massive inconvenience for everyone, but especially customers.

​

get rid of this system if you want speedy checkouts.

reddit.com
u/wheredidmyvapego — 21 days ago

upgrade path for galaxy A17?

got this phone in Jan 2026 and to be frank, its a complete piece of shit. hot, slow, and it stutters and lags often.

Unfortunately, I'm gonna be stuck with this piece of shit for the next year and a half.

is there any way i can somehow upgrade this or something without spending a lot of money?

reddit.com
u/wheredidmyvapego — 21 days ago
▲ 31 r/RedDeer

we all hate FB, but have an acc bcuz of FBM...why not all agree to use another platform?

we all hate Facebook, but most of us still use it because of Facebook Marketplace.

​

i tried Craigslist and there is basically no users in this region. i tried karrot for a few months but had no messages and no sales.

​

however, i still use kijiji and often find that its a better experience overall, compared to FBM. i still regularly sell things on kijiji, my ads get several hundred views, depending on the items and i get messages from people, but most of those messages turn into sales.

​

so if a large % of us want to be rid of boomerbook, why dont we all agree to use something like kijiji exclusively instead, or at least use both.

​

im talking a local (semi) coordinated effort to use alternative buy/sell platforms, and not just default to FBM only.

​

i know kijiji has support for tags on posts, can we use a tag like '#reddeer' or '#local" or something like this?

​

​

reddit.com
u/wheredidmyvapego — 25 days ago
▲ 7 r/queer

i want to come out, but im nervous to

I've been experiencing gender dysphoria since probably 2011 or 2012, but I finally started identifying as non-binary in 2024.

​

unfortunately my area is quite conservative, as is most of my family. I'm currently only out to a few friends and two family members, both extended family on my partners side.

​

i guess there is a bit of a mental block in my head over coming out and making myself vulnerable. its a scary feeling, not having that element of control and being able to be selective over who i choose to tell or not tell.

​

i wanted to publicly come out in 2024 and 2025 during pride month, cuz what better time than that?

​

but every year i get into my head about it and i never do.

reddit.com
u/wheredidmyvapego — 25 days ago
▲ 3 r/comingout+1 crossposts

i want to come out, but im nervous to

I've been experiencing gender dysphoria since probably 2011 or 2012, but I finally started identifying as non-binary in 2024.

​

unfortunately my area is quite conservative, as is most of my family. I'm currently only out to a few friends and two family members, both extended family on my partners side.

​

i guess there is a bit of a mental block in my head over coming out and making myself vulnerable. its a scary feeling, not having that element of control and being able to be selective over who i choose to tell or not tell.

​

i wanted to publicly come out in 2024 and 2025 during pride month, cuz what better time than that?

​

but every year i get into my head about it and i never do

reddit.com
u/wheredidmyvapego — 25 days ago
▲ 6 r/esp32

do i have enough ram to serve up a HTML page with CSS?

edit: code is here https://pastebin.com/hSHRtjaW

edit 2: i dont think its a ram issue, its serving 'exception -203' as soon as i start the server.....

im trying to write a script in micropython for ESP32 boards (or really any boards). im trying this out on a esp32 WROOM so the datasheet says 520 kb of ram,

Basically my project is for detecting and displaying if certain home lab services are online or not. I grab HTTP status codes from various domains or IP addresses and displays them on the LCD for a set period of time, cycling through each domain every few minutes.

I was hoping to also run a small web server that provided a basic web access panel. From the basic Web Access panel I wanted to let people change remove or add domains and IP addresses, and change various other settings.

I've written most of the code for this now, And most of the code that I've written has been written exclusively by me and not AI.

As it currently stands, I can set up a basic web server and get it paste text in the browser. so it works. i can connect to it.

but when I try to get it to load the web page and CSS file, it basically stops working. I put in the server into debug mode and it shows no connections. I try to access it on the Wi-fi from my laptop and phone and it wont connect, saying connection refused or "not responding/Not reachable".

I try to ping it from windows before i try to connect to it and it responds with replies. but then i try to connect from my browser and phone, and try to ping it again and it basically tells me "destination unreachable". im also printing the avaliable memory and there is always like ~110kb of heap memory left.

its almost as if the board crashes/freezes indefinitely but returns no errors.

this makes me thing that im running out of ram?

reddit.com
u/wheredidmyvapego — 25 days ago

do i have enough ram to serve up a html page

im trying to write a script in micropython for ESP32 boards (or really any boards). im trying this out on a esp32 WROOM so the datasheet says 520 kb of ram,

Basically my project is for detecting and displaying if certain home lab services are online or not. I grab HTTP status codes from various domains or IP addresses and displays them on the LCD for a set period of time, cycling through each domain every few minutes.

I was hoping to also run a small web server that provided a basic web access panel. From the basic Web Access panel I wanted to let people change remove or add domains and IP addresses, and change various other settings.

I've written most of the code for this now, And most of the code that I've written has been written exclusively by me and not AI.

As it currently stands, I can set up a basic web server and get it paste text in the browser. so it works. i can connect to it.

but when I try to get it to load the web page and CSS file, it basically stops working. I put in the server into debug mode and it shows no connections. I try to access it on the Wi-fi from my laptop and phone and it wont connect, saying connection refused or "not responding/Not reachable".

I try to ping it from windows before i try to connect to it and it responds with replies. but then i try to connect from my browser and phone, and try to ping it again and it basically tells me "destination unreachable". im also printing the avaliable memory and there is always like ~110kb of heap memory left.

its almost as if the board crashes/freezes indefinitely but returns no errors.

this makes me thing that im running out of ram?

reddit.com
u/wheredidmyvapego — 25 days ago