Open JonathanThorpe opened 1 year ago
When I look at my websocket messages I get the "h" command all on one line, whereas your commands output shows the h command split over multiple lines, that's presumably why the comma error is occurring. Also, my h command doesn't have the D:{"logType".... entry. Here's mine:
h:[{"i":-1,"t":0,"c":1,"b":0,"f":0,"h":1,"d":0,"p":14,"x":1},{"i":-1,"t":0,"c":1,"b":0,"f":0,"h":1,"d":0,"p":15,"x":1},{"i":-1,"t":0,"c":1,"b":0,"f":0,"h":5,"d":0,"p":-1,"j": 0.000}]
That's all on one line in the Chrome network console.
I think we can possibly put this down to my environment and the dependencies it was pulling down for building the code. I ended up trying BrewFlasher to load the 4.3 release and it works fine. It seems faster and has no errors at all.
It also reboots when I try to access the devices page. But this only happens when the circuit is powered by an external source, because when the power comes from the USB connected to the PC, everything works normally.
I'm using version 4.4 on the ESP32
Hi All,
I have a D1 Mini Pro running BPL 4.3 which seems to have problems with the "Refresh Device List".
I have tried:
ERROR: Too many messages queued
Which I understand comes from the ESP Async WebServer.
When I look at the browser console, I see lots of references to:
Uncaught SyntaxError: missing ] after element list
Trying to trace this, it appears to be related to the way that the embedded JS in setup.html is evaling the output from the Websocket:
for (var key in eval("m={" + msg + "}"),
Looking at testcmd, I can see a lot of these messages and I suspect it's because some messages start with a "," - e.g:
Is there something I've missed?
Thanks, Jonathan