# Can Losant receive websocket data from ground device?

**URL:** <https://forums.losant.com/t/can-losant-receive-websocket-data-from-ground-device/4673>\
**Category:** Feature Request\
**Created:** [August 2, 2022, 8:33am UTC](https://forums.losant.com/t/can-losant-receive-websocket-data-from-ground-device/4673 "2022-08-02T08:33:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jennifer\_Poo](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@Jennifer\_Poo](https://forums.losant.com/u/Jennifer_Poo)\
**Post date:** [August 2, 2022, 8:33am UTC](https://forums.losant.com/t/can-losant-receive-websocket-data-from-ground-device/4673/1 "2022-08-02T08:33:19Z")

</div>

I am using a simulator which support websocket protocol.  
Currently it is send to my localhost Java program.  
Can i use the same simulator to send data to Losant Platform via websocket?

Appreciate help and advice.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [August 2, 2022, 1:16pm UTC](https://forums.losant.com/t/can-losant-receive-websocket-data-from-ground-device/4673/2 "2022-08-02T13:16:02Z")

</div>

Losant does not have first-class support for ingesting data over a websocket connection, though this is a feature request we have received in the past. I will add your +1 to that request. (We do support connecting to our [MQTT broker](https://docs.losant.com/mqtt/overview/#the-losant-message-broker) over `ws` or `wss` protocols, but I do not think that will help in your use case.)

Instead, you could send the data to Losant over a [webhook](https://docs.losant.com/applications/webhooks/) request, through our MQTT broker, or one of our other supported [integration](https://docs.losant.com/applications/integrations/).

---

<div class="post-metadata">

**Author:** ![Tony\_Garcia](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@Tony\_Garcia](https://forums.losant.com/u/Tony_Garcia)\
**Post date:** [February 5, 2024, 8:08pm UTC](https://forums.losant.com/t/can-losant-receive-websocket-data-from-ground-device/4673/3 "2024-02-05T20:08:45Z")

</div>

Hi Dylan,

I’m reaching out to inquire about Losant’s support for websockets. While I understand MQTT is supported, our work with third-party APIs requires direct websocket support. Is this feature on your roadmap, and if so, could you share any potential release dates?

Best,  
Tony

---

<div class="post-metadata">

**Author:** ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)\
**Post date:** [February 5, 2024, 8:18pm UTC](https://forums.losant.com/t/can-losant-receive-websocket-data-from-ground-device/4673/4 "2024-02-05T20:18:48Z")

</div>

Hey @Tony_Garcia,

We [just released](https://www.losant.com/blog/platform-update-websockets-twilio-sendgrid) WebSocket support for our Webhooks. This allows our existing [Webhooks](https://docs.losant.com/applications/webhooks/) to now support [WebSocket](https://docs.losant.com/workflows/triggers/webhook/#websocket-webhook-payload) connections. Does this deliver the functionality you require?

---

<div class="post-metadata">

**Author:** ![Tony\_Garcia](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@Tony\_Garcia](https://forums.losant.com/u/Tony_Garcia)\
**Post date:** [February 5, 2024, 10:05pm UTC](https://forums.losant.com/t/can-losant-receive-websocket-data-from-ground-device/4673/5 "2024-02-05T22:05:52Z")

</div>

I’m not sure if we are able to make the direct websocket connection to our client API. I konw they are not using webhook, but that being said i’m not too farmilar with how the websocket and webhook interact. One other technicality we have is that our data over the websocket is serialized using CapNProto, so we would need a way to serialize and deserialize using CapNProto. I do have a free account and will try to do my own analysis on this. Thank you.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [April 10, 2024, 4:02pm UTC](https://forums.losant.com/t/can-losant-receive-websocket-data-from-ground-device/4673/6 "2024-04-10T16:02:09Z")

</div>

We’ve just released a WebSocket integration that allows your application to establish a client connection to a WebSocket server for bidirectional data flow. You can learn more about this feature in our [documentation](https://docs.losant.com/applications/integrations/#websocket).

Thanks for the feature suggestion.
