JoaoLopesF / RemoteDebug

Library for Arduino to debug projects over WiFi, with web app or telnet, with print commands like Serial Monitor
MIT License
613 stars 127 forks source link

Websocket client #60

Open dronecz opened 4 years ago

dronecz commented 4 years ago

Hello,

we are using RemoteDebug in our access control system for 3D printers and I would like to ask if websocket client can be also implemented .

As we are still developing our FW and we have no problem with RemoteDebug, we could use some remote logging to our server in local network, which can be done by websocket client. Sometimes I need look at log for information what happened and telnet and web app is good but sometimes connection break and I lost log which is very valuable.

I tried implement websocket client at our server, but this is not good solution for us as we do not use static IP addresses at our printers, this is also for mobility of printer (different places, different networks) so this would be very good solution for us and I believe for some other people as well.

If you can at least point it out what need to be changed to implement this, so we can look at it at try that, but for now I´m bit lost.

Thanks

jeroenst commented 4 years ago

Maybe its an idea to use a syslog server in combination with https://github.com/arcao/Syslog ?

It also uses UDP so connection break is not a problem (maybe packet loss in exceptional cases)