ioBroker.socketio icon indicating copy to clipboard operation
ioBroker.socketio copied to clipboard

Socket.io Server Version

Open peter9teufel opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. I am developing a mobile client app for ioBroker (IOB Mobile für ioBroker) which communicates with ioBroker via the socket.io adapter. Client libraries used have to be held on rather old (3 years) versions as the socket.io adapter still uses Socket.io Server version 2.

Describe the solution you'd like Update the adapter to support up-to-date socket.io server version 4.7.* or above.

Describe alternatives you've considered The alternative would be, that I take the whole source code of the client libraries to re-write the client code to eliminate deprecation warnings and build problems that arise from using the old library versions.

Additional context The library used is socket_io_client version 1.0.2, details can be found here --> https://pub.dev/packages/socket_io_client

Thanks for your feedback and best regards, Peter

peter9teufel avatar Oct 06 '24 16:10 peter9teufel

The problem is that the socketio versions are incompatible to a certain extend - especially v1 vs v3 .... so the question is ... how to upgrade without breaking all users?

Apollon77 avatar Oct 06 '24 19:10 Apollon77

Totally understand that, was just curious if there are attempts to update the server version in the future. I'll have a look into the client lib to directly include it directly.

Thanks anyways and thx for the great work on ioBroker!

BR, Peter

peter9teufel avatar Oct 07 '24 03:10 peter9teufel

I would still leave it openl maybe more are interested ...

Apollon77 avatar Oct 07 '24 07:10 Apollon77

I really tried to update, but because of incompatibility, it is impossible. Please use iobroker.ws. It is smaller and faster. uses pure web sockets.

GermanBluefox avatar Feb 27 '25 15:02 GermanBluefox