Search found 11 matches

by VicLuna
Sat Sep 18, 2021 8:20 am
Forum: ESP8266 boards
Topic: Issue connecting sockets to some websites
Replies: 8
Views: 8518

Re: Issue connecting sockets to some websites

Hi I've also tried this post: r=requests.post(url, json=Mostra, headers=headers) with this library https://gist.github.com/SpotlightKid/8637c685626b334e5c0ec341dd269c44#file-prequests-py but I got same error. TLS buffer overflow, record size: 6562 (+5) Traceback (most recent call last): File "<stdin...
by VicLuna
Sat Sep 04, 2021 11:17 am
Forum: ESP8266 boards
Topic: Issue connecting sockets to some websites
Replies: 8
Views: 8518

Re: Issue connecting sockets to some websites

I'm having this problem too. I scripted a code some month ago. It's been working almost for a year and now I've got this error Code: s= socket.socket() url = "https://script.google.com/macros/s/AKfy****************-_ye1nabmTdtgaRdt_kl71jwPu9wn/exec" headers = { 'Content-Type': "application/json" # '...
by VicLuna
Sun Apr 04, 2021 9:49 pm
Forum: General Discussion and Questions
Topic: [SOLVED] urequests + redirects
Replies: 20
Views: 18048

Re: [SOLVED] urequests + redirects

HI I installed the library that you mention. I renamed and I got an error OSError: -202 I could not test with esp32-idf3-20210118-unstable-v1.13-274-g49dd9ba1a.bin because it's not available, so I tested with esp32-idf4-20210202-v1.14.bin May you help me? I'm trying to get data from a Google Sheet W...
by VicLuna
Sat Apr 11, 2020 2:02 pm
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 42043

Re: Connecting to AWS with MQTT

I found the error.

I run the posted code with firmware:
esp32-idf3-20200410-v1.12-357-g740946736.bin
esp32-idf3-20200404-v1.12-331-ge97bb58f0.bin

both I got error reported

however with the firmware esp32-idf3-20190529-v1.11.bin works perfectly.

this post help you
by VicLuna
Sat Apr 11, 2020 9:15 am
Forum: Programs, Libraries and Tools
Topic: OLED with SSD1322 controller
Replies: 8
Views: 22127

Re: OLED with SSD1322 controller

Hi

have you tried SSD1306?
https://github.com/adafruit/micropython ... it-ssd1306

this library when you create the class define the resolution.
it may works.

tell us

Regards
by VicLuna
Sat Apr 11, 2020 9:13 am
Forum: General Discussion and Questions
Topic: Interfacing with industrial PLC and HMI
Replies: 3
Views: 3829

Re: Interfacing with industrial PLC and HMI

Hi

I can not help you about it, but I should say that I'm interested to this topic too.
How to connect ESPxxxx with PLC.

Regards
by VicLuna
Sat Apr 11, 2020 9:07 am
Forum: ESP8266 boards
Topic: D1 mini 0.66" OLED and I2C buttons
Replies: 5
Views: 3478

Re: D1 mini 0.66" OLED and I2C buttons

can you write your I2C object definition?

because at the datasheet say

D1 mini GPIO Shield
D1 5 SCL
D2 4 SDA

so are you wiring ping 5, and pin 4 with SCL and SDA respectively.
by VicLuna
Sat Apr 11, 2020 9:03 am
Forum: General Discussion and Questions
Topic: ESP32, MQTT, and LED temperature trigger
Replies: 7
Views: 4311

Re: ESP32, MQTT, and LED temperature trigger

Yes of course you can switch ON your LED strip. I guess that you LED strip is 220 AC power, so you need to add a relay for it. This relay you should connect to a pin.out that it's subscribe to a topic. this topic could be something like /led and you send a message 'on' or 'off' something like this: ...
by VicLuna
Sat Apr 11, 2020 8:43 am
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 42043

Re: Connecting to AWS with MQTT

Hi thanks for your sooner reply. I checked it with 2 different certifications and the result was the same I got error -10. but on the other hand, when I used those certification key with other applications and enviroments works fine. 1.- Certification is a windows python SDK that provides AWS, and I...
by VicLuna
Fri Apr 10, 2020 11:19 am
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 42043

Re: Connecting to AWS with MQTT

Hi I followed all your instructions and I got a error that no body talks about i. mbedtls_ssl_handshake error: -10 I post my code and you may find I'm missing something. ..... certpem=open('/flash/cert').read() privkey=open('/flash/key').read() mqtt_server = 'a15azlxdxhvk5o-ats.iot.eu-west-1.amazona...