sensebox / openSenseMap-API

API for opensensemap.org
https://docs.opensensemap.org/
MIT License
49 stars 41 forks source link

Real time #40

Open dscso opened 7 years ago

dscso commented 7 years ago

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.

ubergesundheit commented 7 years ago

Definetely on our agenda!

dscso commented 7 years ago

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.)

ubergesundheit commented 7 years ago

Good idea 👍

On Oct 5, 2016 22:03, "Jurek Weber" notifications@github.com 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 .