Search found 15 matches

by quantalume
Sun Sep 04, 2016 4:15 pm
Forum: ESP8266 boards
Topic: Basic Wifi Communication with the ESP8266?
Replies: 9
Views: 10435

Re: Basic Wifi Communication with the ESP8266?

Why don't you start out with sockets? That's about as basic as you can get for TCP/IP communication. Download some software for your laptop like SocketTest ( http://sockettest.sourceforge.net/ ), open a socket and try sending some text back and forth. There are some examples here http://docs.micropy...
by quantalume
Sun Sep 04, 2016 2:44 am
Forum: ESP8266 boards
Topic: Problems with the DHT example
Replies: 15
Views: 23524

Re: Problems with the DHT example

I'm getting the "ETIMEDOUT" message every time I try to use a DHT22 (AM2302) as well. I'm using a Lolin NodeMCU V3. I've tried with and without a pullup resistor. The device works fine on a WiPy (without a pullup resistor). I've even tried configuring the pin as output and toggling it just to make s...
by quantalume
Wed Aug 31, 2016 4:20 pm
Forum: ESP8266 boards
Topic: WeMos D1 Mini Pro 16MB
Replies: 15
Views: 19536

Re: WeMos D1 Mini Pro 16MB

I ordered a couple, so we will see what this "rat" looks like. I like having the antenna connector as I put all my IoT devices in metal boxes.
by quantalume
Fri Aug 26, 2016 5:26 pm
Forum: WiPy and CC3200 boards
Topic: update data to thingspeak
Replies: 11
Views: 19254

Re: update data to thingspeak

[quote="jgmdavies"] If I try to do a second 'ss.send' after a delay, I'm getting OSError 1 ("operation not permitted") - any ideas please? Update: of course it works if I recreate the socket...[/quote] I've only been updating my feeds once every 15 minutes, so I close and reopen the socket each time...
by quantalume
Thu Aug 25, 2016 9:38 pm
Forum: WiPy and CC3200 boards
Topic: update data to thingspeak
Replies: 11
Views: 19254

Re: update data to thingspeak

Here is some code I wrote to update a feed on ThingSpeak. I hope it is useful to someone. I apologize that the BBCode formatting tags do not seem to be working. [code] from network import WLAN import socket import ssl # Edit these to suit your particular situation api_key = 'XXXXXXXXXXXXXXX' field_n...