Search found 12 matches
- Sat Jun 10, 2023 1:26 am
- Forum: ESP8266 boards
- Topic: sta_if.isconnected() unexpectedly returns false
- Replies: 7
- Views: 30856
Re: sta_if.isconnected() unexpectedly returns false
hello friends In my case too I was unable to use isconnected() to verify the connection state in a script, the result would be the same no matter if connected or disconnected. Why it does happen , I have no idea. when testing this same function in the repl, it seemed to work. The workaround was to d...
- Sun Feb 24, 2019 12:15 am
- Forum: ESP8266 boards
- Topic: Copy data from terminal to file on google docs
- Replies: 2
- Views: 2358
Re: Copy data from terminal to file on google docs
Hi I am not sure if this would be possible directly, anyway I was able to send data from the esp to google spreadsheets, blogger and other services. There is a site named IFTTT. You create an account there and create the task you need. Go there and look at some examples and I think you will understa...
- Mon Dec 24, 2018 12:29 am
- Forum: ESP8266 boards
- Topic: microwave sensors (rcwl-0516)
- Replies: 1
- Views: 2872
microwave sensors (rcwl-0516)
Has anyone played with one of these? They seem quite interesting, looks like they can see through walls. https://github.com/arendst/Sonoff-Tasmota/wiki/Wemos-D1-Mini-and-RCWL-0516-Microwave-Radar-Sensor The connection sensor-d1 mini seems easy, GND to GND, VIN to 5V, and OUT to D1. When a motion is ...
- Sat Aug 11, 2018 11:48 pm
- Forum: ESP8266 boards
- Topic: From two addresses, get distance and route summary - using google api.
- Replies: 2
- Views: 2274
Re: From two addresses, get distance and route summary - using google api.
Thanks for the reply, pythoncoder. I tried it and it seemed to work, but then I realized I was still getting the exceptions sometimes. I started to wonder, and was even going to ask you, what really cause these memory errors since the data is being sent line by line, how then would this possibly flo...
- Sat Aug 11, 2018 12:19 am
- Forum: ESP8266 boards
- Topic: From two addresses, get distance and route summary - using google api.
- Replies: 2
- Views: 2274
From two addresses, get distance and route summary - using google api.
Hi This script uses google api, it gets two addresses as input and retrieves the distance in Km and a summary of the route. It is started by the start() function. import socket def start(): found = 0 origem = input("origem:") origem = origem.replace(" ",",") destino = input("destino:") destino = des...
- Wed Aug 01, 2018 12:21 am
- Forum: ESP8266 boards
- Topic: a very basic telnet CLIENT
- Replies: 2
- Views: 2841
Re: a very basic telnet CLIENT
Hi Roberthh, thanks, but this is an attempt to build a client, not a server! It's not for connecting to the Esp over wifi; it's to connect from the ESP to other sites/servers.
- Fri Jul 27, 2018 12:20 am
- Forum: ESP8266 boards
- Topic: a very basic telnet CLIENT
- Replies: 2
- Views: 2841
a very basic telnet CLIENT
Hi this is working for me for talking with simple servers using the esp. Its of course limited and it will break on interactive sessions i.e those that refresh the screen. I post it because when I first joined i really wanted to find such code and never was able to. Corrections / improvements welcom...
- Sat Sep 02, 2017 12:47 am
- Forum: General Discussion and Questions
- Topic: [SOLVED]Issue with sending data to webserver
- Replies: 3
- Views: 3251
Re: Issue with sending data to webserver
It's funny, I think I had a similar, or the same problem, yesterday when I was trying to use urequests. From what I have read, it looks like urequests leaves the connection open, it's up to you to close it, or the loop will keep opening sockets until it crashes. What solves the problem so far to me ...
- Sat Jul 29, 2017 8:38 pm
- Forum: ESP8266 boards
- Topic: [SOLVED] unable to get REPL prompt
- Replies: 17
- Views: 20168
Re: unable to get REPL prompt
Hi
How do you access the serial? I think you may need to specify the baud speed. In my case, also a d1 mini, it worked with speed 115200 using the command:
microcom -s 115200 /dev/ttyUSB0
Also for me it worked in one USB port while the other couldn't do it.
How do you access the serial? I think you may need to specify the baud speed. In my case, also a d1 mini, it worked with speed 115200 using the command:
microcom -s 115200 /dev/ttyUSB0
Also for me it worked in one USB port while the other couldn't do it.
- Wed Jul 26, 2017 1:40 am
- Forum: ESP8266 boards
- Topic: How to do... frozen modules in WSL
- Replies: 3
- Views: 3773
Re: How to do... frozen modules
On point b, do you have permissions to write and execute, for example in that folder try:
chmod 777 *
And try to run it again
chmod 777 *
And try to run it again