# WebSockets

**URL:** <https://community.smartthings.com/t/websockets/311840>\
**Category:** Developer Programs\
**Created:** [October 29, 2026, 4:48pm UTC](https://community.smartthings.com/t/websockets/311840 "2026-10-29T16:48:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SR712](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@SR712](https://community.smartthings.com/u/SR712)\
**Post date:** [October 29, 2026, 4:48pm UTC](https://community.smartthings.com/t/websockets/311840/1 "2026-10-29T16:48:52Z")

</div>

Has anyone been successful with sending websocket strings to a local IP from SmartThings? I have a simple string I’d like to send to a device. I have read some threads on this here, but everything is rather old and dated. I’m hoping someone figured this out.😁

Thanks.

---

<div class="post-metadata">

**Author:** ![TapioX](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@TapioX](https://community.smartthings.com/u/TapioX)\
**Post date:** [October 29, 2026, 5:22pm UTC](https://community.smartthings.com/t/websockets/311840/2 "2026-10-29T17:22:30Z")

</div>

This could be useful

> [@\[ST Edge\] Simple The Pill by Shelly integration](https://community.smartthings.com/t/st-edge-simple-the-pill-by-shelly-integration/309613/2):
>
> @TAustin mentioned somewhere that Shelly Gen3 supports Websocket communication. This Shelly WebSocket driver uses this driver as a model: The selection criteria was that this implementation seemed the simplest of all. I have also used as a model for driver implementation @lmullineux driver: I’m looking for tips on finding good instructions for creating a Websocket driver in Lua.

---

<div class="post-metadata">

**Author:** ![SR712](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@SR712](https://community.smartthings.com/u/SR712)\
**Post date:** [October 29, 2026, 7:03pm UTC](https://community.smartthings.com/t/websockets/311840/3 "2026-10-29T19:03:09Z")

</div>

Thank you. I would need some advice on how to implement it, though. I was successful in getting websockets to work by using Todd Austin’s HTTP Edge Driver, sending that to a perl service running on a RHEL 9 box that converts HTTP to WebSocket and then sending that to the device. It works well. However a simpler solution would be nice. Could you explain the Shelly WebSocket driver some, and how I could use it?

Thanks

---

<div class="post-metadata">

**Author:** ![TapioX](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@TapioX](https://community.smartthings.com/u/TapioX)\
**Post date:** [October 29, 2026, 7:16pm UTC](https://community.smartthings.com/t/websockets/311840/4 "2026-10-29T19:16:23Z")

</div>

You can use this driver as model. Start exploring by looking at the _init.lua_

> [@\[ST Edge\] Simple The Pill by Shelly integration](https://community.smartthings.com/t/st-edge-simple-the-pill-by-shelly-integration/309613/2):
>
> This Shelly WebSocket driver uses this driver as a model:
> 
> [SmartThingsEdgeDrivers/drivers/SmartThings/harman-luxury at beta · SmartThingsCommunity/SmartThingsEdgeDrivers · GitHub](https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/tree/beta/drivers/SmartThings/harman-luxury)
> 
> The selection criteria was that this implementation seemed the simplest of all.

I am using it as a model, and I don’t understand everything about how WebSocket work. I have focused solely on implementing The Pill by Shelly integration using the WebSocket.

---

<div class="post-metadata">

**Author:** ![SR712](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@SR712](https://community.smartthings.com/u/SR712)\
**Post date:** [October 29, 2026, 8:14pm UTC](https://community.smartthings.com/t/websockets/311840/5 "2026-10-29T20:14:50Z")

</div>

OK. Thanks you.
