Search found 28 matches
- Wed Jan 25, 2017 10:17 pm
- Forum: ESP8266 boards
- Topic: boot.py static ip configuration
- Replies: 1
- Views: 3758
boot.py static ip configuration
I'm building a static ip configuration from the Wipy tutorial. But I'm using a WemosD1mini when restarting I get the error. File "boot.py", line 16, in <module> AttributeError: 'WLAN' object has no attribute 'init' Though the Wipy code states. import machine from network import WLAN wlan = WLAN() # ...
- Wed Jan 25, 2017 10:00 pm
- Forum: ESP8266 boards
- Topic: Safely remove Wemos D1 mini
- Replies: 5
- Views: 6429
Re: Safely remove Wemos D1 mini
The ESP8266 boards can't act a USB storage -- they only have the serial console. That means you don't need (in fact, can't) "safely remove" them. However, disconnecting their power while they are performing file operations on their internal file system can still result in file corruption -- so don'...
- Wed Jan 25, 2017 9:56 pm
- Forum: ESP8266 boards
- Topic: Multiple networks in boot.py
- Replies: 4
- Views: 6276
Re: Multiple networks in boot.py
@blckpstv This could be useful for you.... I had to solve the same problem... change the place of work with other APs ##...module aps_trusted.py ##APS = { ## "ssid1":"psw1", ## "ssid2":"psw2", ## "ssidN":"pswN" ##} ##...module boot.py ## Create connection to trusted AP from aps_trusted import APS f...
- Wed Jan 25, 2017 12:01 pm
- Forum: ESP8266 boards
- Topic: Safely remove Wemos D1 mini
- Replies: 5
- Views: 6429
Re: Safely remove Wemos D1 mini
Hey I'm pretty sure It something stupid that I oversaw in reading & rereading the docs. But I'm trying to upload my main.py and I'm doing this via webrepl. I've confirmed this when I os.listdir(). So I reboot and the file is going and main.py could not be read. What I read is that I should safely r...
- Wed Jan 25, 2017 11:22 am
- Forum: ESP8266 boards
- Topic: Multiple networks in boot.py
- Replies: 4
- Views: 6276
Multiple networks in boot.py
Anybody has an example for how to have multiple networks in the boot.py so it searches which ssid gives it's password and prints which is connected to. I can do I for one network, but cant add a second to be read automatic.
- Sat Jan 21, 2017 9:27 pm
- Forum: ESP8266 boards
- Topic: Safely remove Wemos D1 mini
- Replies: 5
- Views: 6429
Safely remove Wemos D1 mini
Hey I'm pretty sure It something stupid that I oversaw in reading & rereading the docs. But I'm trying to upload my main.py and I'm doing this via webrepl. I've confirmed this when I os.listdir(). So I reboot and the file is going and main.py could not be read. What I read is that I should safely re...
- Sat Jan 21, 2017 8:56 pm
- Forum: ESP8266 boards
- Topic: Problems with the DHT example
- Replies: 15
- Views: 23570
Re: Problems with the DHT example
I soldered the wires because I was running other tests with stepper etc... And there was a glitch connection from the pads not touching the pins = (spacers to mount a breadboard). But still get same error. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "dht.py", line 13,...
- Fri Jan 20, 2017 10:49 pm
- Forum: ESP8266 boards
- Topic: Problems with the DHT example
- Replies: 15
- Views: 23570
Re: Problems with the DHT example
The physical pin is connected to the D4 on the Wemos DHT22 module board. So D4 to D4 and int the code that's pin2
Still same error.
Still same error.
- Thu Jan 19, 2017 10:04 pm
- Forum: ESP8266 boards
- Topic: Problems with the DHT example
- Replies: 15
- Views: 23570
Re: Problems with the DHT example
Sorry I didn't quite get why the pin could not be read by the DHT.py (i'm on pin 4)
Or what do I have to change to let it read pin 4.
This on a Wemos D1 mini (pro)
Or what do I have to change to let it read pin 4.
This on a Wemos D1 mini (pro)
- Thu Jan 19, 2017 8:13 pm
- Forum: ESP8266 boards
- Topic: Micropython docs - DHT
- Replies: 7
- Views: 11911
Re: Micropython docs - DHT
I followed and correctly wired my DHT11 & 22 to my wemos D1 mini. When d.measure() I get Traceback (most recent call last): File "<stdin>", line 1, in <module> File "dht.py", line 13, in measure OSError: [Errno 110] ETIMEDOUT When d.humidity() I get & same for temperature 0 Do I need to copy the dh...