LaserWeb / lw.comm-server

Unified communications server for LaserWeb4 (and other frontends)
GNU General Public License v3.0
38 stars 47 forks source link

Fix reset and connection errors; finish dependency updating #100

Closed easytarget closed 2 years ago

easytarget commented 2 years ago

The first commit on this is the most important; my previous commit actually broke the 'reset-on-connect' function. This restores it properly.

As part of testing that I also set up a esp8266 server to allow testing of the ESP8266 (websocket) dependency;

Testing the above I uncovered a bug where malformed JSON data in firmeware status responses will crash the server, so the server now catches parser errors instead of exiting.

Finally, a couple of dev dependencies were in the package.json file but totally unused otherwise. I removed them.

cprezzi commented 2 years ago

@easytarget I have invited you to the LaserWeb Core Team, so you can merge your PRs yourself ;)