# Receive pixel data through websocket API?

**URL:** <https://forum.electromage.com/t/receive-pixel-data-through-websocket-api/2311>\
**Category:** Patterns and Code\
**Created:** [July 12, 2022, 7:35pm UTC](https://forum.electromage.com/t/receive-pixel-data-through-websocket-api/2311 "2022-07-12T19:35:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zranger1](https://forum.electromage.com/user_avatar/forum.electromage.com/zranger1/32/301_2.png) [@zranger1](https://forum.electromage.com/u/zranger1)\
**Post date:** [July 13, 2022, 1:17am UTC](https://forum.electromage.com/t/receive-pixel-data-through-websocket-api/2311/2 "2022-07-13T01:17:16Z")

</div>

Hi and welcome!

You can definitely do this, and many of the pieces already exist!

If you can use Python, here’s a link to the forum thread for @Nick_W’s [async Python library and MQTT bridge.](https://forum.electromage.com/t/new-mqtt-bridge-posted/1141/2)

And for some guidance on encoding pixels, sending them via the websocket api, and decoding them in Pixelblaze pattern code, here’s a pointer to my [“proof-of-concept” e1.31 proxy](https://forum.electromage.com/t/lightshowpi-and-others-integration-sacn-e1-31-proxy/766)

---

_[View the full topic](https://forum.electromage.com/t/receive-pixel-data-through-websocket-api/2311)._
