Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
howto:receive_iot_data_to_a_websocket [2019/02/27 06:19] tmuvee |
howto:receive_iot_data_to_a_websocket [2019/03/02 10:26] (current) tmuvee |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Setup a websocket server ===== | ===== Setup a websocket server ===== | ||
- | You can find plenty of tutorials and instructions how to setup a websocket server. Here is one example that you run as a nodejs service. | + | You can find plenty of tutorials and instructions on the Internet on how to set up a WebSocket server. Here is one example which you can run as a nodejs service. |
<Code:js | Example websocket server for receiving Thingsee data.> | <Code:js | Example websocket server for receiving Thingsee data.> | ||
Line 36: | Line 36: | ||
===== Let us know the url and authentication mechanism ===== | ===== Let us know the url and authentication mechanism ===== | ||
- | Thingsee Operations Cloud can connect to websockets. Let us know the end-point (with hash if used) or an other authentication mechanism if you have any. | + | Thingsee Operations Cloud can connect to WebSockets. Let us know the end-point (with hash if used) or the other authentication mechanism if you have any. |
===== Handle the IoT data ===== | ===== Handle the IoT data ===== | ||
- | You will receive Thingsee IoT data to your websocket as shown below. You can either handle that data within your websocket server, or preferably create a client application that can process the data. | + | You will receive Thingsee IoT data to your WebSocket as shown below. You can either handle that data within your WebSocket server or preferably create a client application that can process the data. |
<Code:js | Example Thingsee JSON data array> | <Code:js | Example Thingsee JSON data array> |