Search found 7 matches

by eGRan
Fri Jul 19, 2019 3:35 am
Forum: General Discussion and Questions
Topic: Can Not Type into the WebREPL Terminal
Replies: 0
Views: 1714

Can Not Type into the WebREPL Terminal

I can not type anything into the Micropython WebREPL terminal. I can get the webrepl running on a esp32 using the following code: import network wlan = network.WLAN(network.STA_IF) wlan.active(True) wlan.connect('ssid', 'password') import webrepl_setup import webrepl webrepl.start() Passing the IP a...
by eGRan
Mon Jun 03, 2019 2:08 am
Forum: ESP32 boards
Topic: ESP WROOM 32 urequests POST to Google Forms
Replies: 11
Views: 8142

[SOLVED] ESP WROOM 32 urequests POST to Google Forms

In order to post to a Google Form directly the following changes need to be made: import urequests # The URL is the copied link that is shared with others. Formatting is string url = 'https://docs.google.com/forms/d/e/<form_id>/formResponse' # The following header MUST be included: headers = {'Conte...
by eGRan
Mon Jun 03, 2019 1:50 am
Forum: ESP32 boards
Topic: ESP WROOM 32 urequests POST to Google Forms
Replies: 11
Views: 8142

Re: ESP WROOM 32 urequests POST to Google Forms

Jimmo, you are awesome! I was able to duplicate your success with just those simple changes! This will make the IoT logging projects I have been working on much more stream lined to deploy.
by eGRan
Sun Jun 02, 2019 9:48 pm
Forum: ESP32 boards
Topic: ESP WROOM 32 urequests POST to Google Forms
Replies: 11
Views: 8142

Re: ESP WROOM 32 urequests POST to Google Forms

Gave it a try. Still nothing. One the up side, I uncommented the line in urequests.py that prints the response line-by-line. I was also able to get micropython output (by uncommenting that line) to look exactly like BIG python logging. So at least I am more confident that micro and BIG python are po...
by eGRan
Sat Jun 01, 2019 6:09 pm
Forum: ESP32 boards
Topic: ESP WROOM 32 urequests POST to Google Forms
Replies: 11
Views: 8142

Re: ESP WROOM 32 urequests POST to Google Forms

Thank you for the reply. I can confirm that there is no difference between data and json submission that I have tried. I have tried at least all of the following combinations (one at a time) plus/minus headers: url = 'https://docs.google.com/forms/d/e/1FAIpQLSdYLScXqq-cCoxqnrYXJd4zNzjF0tmbRYJd3eNBt4...
by eGRan
Fri May 31, 2019 6:23 pm
Forum: ESP32 boards
Topic: ESP WROOM 32 urequests POST to Google Forms
Replies: 11
Views: 8142

Re: ESP WROOM 32 urequests POST to Google Forms

Still messing around with the code. No success yet, however I did want to post what I am trying. First, I went to confirm that my desktop Anaconda distribution running 3.7 was still posting data and to also get the logging data from the requests package. It still posts data and the logs are below: D...
by eGRan
Wed May 29, 2019 4:54 pm
Forum: ESP32 boards
Topic: ESP WROOM 32 urequests POST to Google Forms
Replies: 11
Views: 8142

ESP WROOM 32 urequests POST to Google Forms

Dear Community, I am new to the forum and I am posting because I am pulling my hair out trying to get urequests to POST through Forms. So far I have been able to create code that does POST to a Forms Sheet. Each time the code is run its generates a timestamp. However, no data posts with it. Addition...