Search found 158 matches

by KJM
Sat Jun 11, 2022 10:17 am
Forum: ESP32 boards
Topic: Stream ESP32 cam via web sockets
Replies: 3
Views: 4686

Re: Stream ESP32 cam via web sockets

The python tutorial @ https://github.com/Freenove/Freenove_Ul ... ter/Python doesn't mention websockets specifically but might serve as a starter?
by KJM
Sat Jun 11, 2022 12:55 am
Forum: Programs, Libraries and Tools
Topic: python picture tweaking
Replies: 2
Views: 3235

python picture tweaking

The upython set of knobs for twiddling camera settings on the ESP32 camera.saturation(int value) image saturation from -2 to 2 (0 default) camera.brightness(int value) image brightness from -2 to 2 (0 default) camera.contrast(int value) image contrast from -2 to 2 (0 default) camera.quality(int valu...
by KJM
Fri Jun 10, 2022 1:20 am
Forum: ESP32 boards
Topic: Stream ESP32 cam via web sockets
Replies: 3
Views: 4686

Re: Stream ESP32 cam via web sockets

I've only ever tried single frames with upython but the author https://github.com/lemariva/uPyCam of the python firmware for ESP-32 CAM boards claims python streaming is possible https://lemariva.com/blog/2020/08/micro ... e-extended
by KJM
Fri Jun 10, 2022 12:54 am
Forum: General Discussion and Questions
Topic: a Tip when working with OSErrors
Replies: 1
Views: 863

Re: a Tip when working with OSErrors

You haven't figured out a way to decipher subtle differences viewtopic.php?f=2&t=12493 in OSErrors by any chance?
by KJM
Wed Jun 08, 2022 7:10 am
Forum: General Discussion and Questions
Topic: Transparent internet access through GSM modem
Replies: 3
Views: 1474

Re: Transparent internet access through GSM modem

You could try urequests but it's not as good as python's requests lib
by KJM
Mon Jun 06, 2022 10:48 pm
Forum: General Discussion and Questions
Topic: PPP Network
Replies: 4
Views: 2345

Re: PPP Network

I haven't tangled with a Quectel. My usual approach with a new cell modem is to follow an AT setup example usually provided in the modem manual. Failing that I try a google search for the language/board+modem (eg upython+quectel or ESP32+quectel) If your PPP setup worked on an RPI+quectel but not wi...
by KJM
Sat Jun 04, 2022 2:13 am
Forum: General Discussion and Questions
Topic: SLIGHTLY DIFFERENT ERRORS
Replies: 1
Views: 990

SLIGHTLY DIFFERENT ERRORS

Something weird happening with urequests, sometimes I get File "<stdin>", line 80, in uequests OSError: [Errno 104] ECONNRESET and other times File "<stdin>", line 80, in urequests OSError: -104 I've got a hunch that the first version is what happens when the server closes the socket and the second ...
by KJM
Thu Jun 02, 2022 5:34 am
Forum: Programs, Libraries and Tools
Topic: Thread safe https post
Replies: 1
Views: 1494

Re: Thread safe https post

I'm not familiar with arequest.py but urequests can do headers+json if suitably primed https://stackoverflow.com/questions/62423565/how-to-send-image-to-an-api-in-micropython-language Re thread safe usage. I too read a lot of stuff about asyncio/ssl compatibility. I ended up calling urequests from a...
by KJM
Thu Jun 02, 2022 5:16 am
Forum: General Discussion and Questions
Topic: PPP Network
Replies: 4
Views: 2345

Re: PPP Network

It's been a long time since I saw anyone try to use an ATD dial cmd. What brand modem are you using with which sim provider & where did you get the idea for the code example you've given?
by KJM
Tue May 31, 2022 11:52 pm
Forum: General Discussion and Questions
Topic: ram shortage
Replies: 2
Views: 860

Re: ram shortage

tnx Dave, I'll give it a try.