Search found 473 matches

by devnull
Sat Oct 21, 2017 4:23 am
Forum: ESP32 boards
Topic: ESP32 Thing Flash Options [solved]
Replies: 1
Views: 2047

ESP32 Thing Flash Options [solved]

I've not built or touched the esp32 clone for several months and have just started on it today. First thing I noticed is my clone and build scripts no longer work due to the new "ports" folder in the build path, but that is fixed and all is updated and built. But now my flash scripts for the esp32 t...
by devnull
Thu Oct 19, 2017 9:24 am
Forum: Drivers for External Components
Topic: Using the ESP with a Ethernet Port through SPI
Replies: 15
Views: 15169

Re: Using the ESP with a Ethernet Port through SPI

Robert: This page https://github.com/micropython/micropython/tree/master/drivers Does state that they are available across all ports ??? This directory contains drivers for specific hardware. The drivers are intended to work across multiple ports. I have ordered 10 of these (https://www.aliexpress.c...
by devnull
Tue Oct 17, 2017 1:27 pm
Forum: Drivers for External Components
Topic: OLED Drivers
Replies: 5
Views: 5319

Re: OLED Drivers

I will try this tomorrow, have you tried on the 8266 ?
by devnull
Mon Oct 16, 2017 10:53 am
Forum: ESP8266 boards
Topic: Bullet-Proof HTTP server.
Replies: 9
Views: 9884

Re: Bullet-Proof HTTP server.

I just setup a timer to get the sock status:

Code: Select all

<socket state=0 timeout=-1 incoming=0 off=0>
It shows this exact same status when the connection is alive and after it decides to stop responding, there's no errors and no indiction that anything has failed.
by devnull
Mon Oct 16, 2017 9:35 am
Forum: General Discussion and Questions
Topic: This forum's behaviour has changed for the worse.
Replies: 9
Views: 7976

Re: This forum's behaviour has changed for the worse.

See attached - were have the edit buttons gone ??
by devnull
Mon Oct 16, 2017 9:11 am
Forum: ESP8266 boards
Topic: Bullet-Proof HTTP server.
Replies: 9
Views: 9884

Re: Bullet-Proof HTTP server.

Hi Peter, thanks for replying. Microwave is a good idea, I have put it in a aluminium foil covered box in the past and it made no difference, and also put it in a steel cabinet and there appeared to be no change in the signal strength. I've been working on this intermittently now for over 6 months, ...
by devnull
Sun Oct 15, 2017 11:58 am
Forum: ESP8266 boards
Topic: Watchdog in ESP8266
Replies: 2
Views: 5141

Re: Watchdog in ESP8266

Given the popularity of the ESP8266 and that it is partially implemented, would it be possible to fully implement this feature ?

It would be sooo useful when the device is headless without the possibility of a human to reset it.

Right now, if the device hangs, it will be dead forever !
by devnull
Sun Oct 15, 2017 11:48 am
Forum: ESP8266 boards
Topic: uasyncio frozen include
Replies: 5
Views: 4455

Re: uasyncio frozen include

Thanks, yes I figured that out earlier this afternoon.

But this server seems to suffer with the same problem that all the others I have tried suffer from, it appears to go offline when there's no activity for some time.
by devnull
Sun Oct 15, 2017 7:59 am
Forum: ESP8266 boards
Topic: Bullet-Proof HTTP server.
Replies: 9
Views: 9884

Re: Bullet-Proof HTTP server.

I am still chasing this 'bullet proof web server' and have yet to find a solution. Is there any way to prevent the server from just going offline without any reported errors or reason, it just appears to stop responding and there's only one connection, where the page might be loaded / reloaded once ...
by devnull
Sun Oct 15, 2017 7:23 am
Forum: ESP8266 boards
Topic: picoweb URL Params in routes
Replies: 2
Views: 2579

Re: picoweb URL Params in routes

OK, I found the reason, the queryParams are already stripped from the url and are available from req.qs

Code: Select all

def json(req,res):
  dict = {x[0] : x[1] for x in [x.split("=") for x in req.qs[1:].split("&") ]}
  print(dict);
  yield from picoweb.jsonify(res,dict)