You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got my first HiGrows these days. I wanted to get them running following the Arduino IDE instructions. All fine. However, when connecting to the Dashboard, it renders in an empty state. No components activated. Firing up the JavaScript debugger shows that the JSON strings sent back to the DASH board are incomplete, partial.
const b = JSON.parse(m.data); keeps failing with
SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 49 of the JSON data
etc.
Watching the Web socket messages to the frontend, one sees data such as (m.data):
I got my first HiGrows these days. I wanted to get them running following the Arduino IDE instructions. All fine. However, when connecting to the Dashboard, it renders in an empty state. No components activated. Firing up the JavaScript debugger shows that the JSON strings sent back to the DASH board are incomplete, partial.
const b = JSON.parse(m.data);
keeps failing withSyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 49 of the JSON data
etc.
Watching the Web socket messages to the frontend, one sees data such as (
m.data
):'{"id":645939565,"symbol":"mV","value":"4804.54"}],"charts":[],"stats": []}'
https://github.com/ayushsharma82/ESP-DASH/blob/b677bf6efbd8edea2151878be59cc683e2ce20d5/src/ESPDash.cpp#L168 does not produce the entire JSON string, e.g. the "command" entry is entirely missing etc.
Any hints, help would be appreciated. (I am using ESPDash from the
lib
package,4.0.3
).The text was updated successfully, but these errors were encountered: