# Send custom events to mopidy websocket

**URL:** <https://discourse.mopidy.com/t/send-custom-events-to-mopidy-websocket/1342>\
**Category:** Misc\
**Created:** [September 11, 2016, 6:59am UTC](https://discourse.mopidy.com/t/send-custom-events-to-mopidy-websocket/1342 "2016-09-11T06:59:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaedb](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jaedb/32/2340_2.png) [@jaedb](https://discourse.mopidy.com/u/jaedb)\
**Post date:** [September 11, 2016, 6:59am UTC](https://discourse.mopidy.com/t/send-custom-events-to-mopidy-websocket/1342/1 "2016-09-11T06:59:48Z")

</div>

I’m trying to simplify the implementation of my HTTP Frontend by using the built-in Mopidy websockets. Currently I create a new websocket to handle my extension-specific events.

How can I get my python code to send a mopidy websocket message? I’ve been looking at `backend.send( event, **kwargs)` but I understand that to be sending message _to_ mopidy rather than to the websocket client(s).

I’m still figuring out the Python language, but I’m getting there…
