openSenseMap-API icon indicating copy to clipboard operation
openSenseMap-API copied to clipboard

Real time

Open dscso opened this issue 9 years ago • 3 comments

Nice project! What do you think about an real time API (WebSocket)? For example: A client opens a WebSocket connection and tells the server on which sensor it (the client) pays attention on. If the sensor pushes data, the API server looks, if there is a client which is paying attention on this event and if yes, the client(s) is/are receiving the change. I don't know if you consider this as a good or just complicated feature.

dscso avatar Oct 05 '16 00:10 dscso

Definetely on our agenda!

ubergesundheit avatar Oct 05 '16 07:10 ubergesundheit

If you are already starting to open a WebSocket, it would be nice if all requests are send via WebSocket. Because if the implementation fits, the whole websites updates in real time. (count of measurements, data, existing sensors, etc.)

dscso avatar Oct 05 '16 20:10 dscso

Good idea 👍

On Oct 5, 2016 22:03, "Jurek Weber" [email protected] wrote:

If you are already starting to open a WebSocket, it would be nice if all requests are send via WebSocket. Because if the implementation fits, the whole websites updates in real time. (count of measurements, data, existing sensors, etc.)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sensebox/openSenseMap-API/issues/40#issuecomment-251783101, or mute the thread https://github.com/notifications/unsubscribe-auth/ABbMw1GuC-RE2WeD_946gt7u1LDkLznMks5qxAKGgaJpZM4KOSnD .

ubergesundheit avatar Oct 06 '16 05:10 ubergesundheit