# Can’t connect NR to control Kodi?

**URL:** https://discourse.nodered.org/t/can-t-connect-nr-to-control-kodi/11048
**Category:** General
**Created:** [12 May 2019 20:54 UTC](https://discourse.nodered.org/t/can-t-connect-nr-to-control-kodi/11048 "2019-05-12T20:54:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nodecentral](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nodecentral/32/10432_2.png) [@nodecentral](https://discourse.nodered.org/u/nodecentral)
#### Post date: [12 May 2019 20:54 UTC](https://discourse.nodered.org/t/can-t-connect-nr-to-control-kodi/11048/1 "2019-05-12T20:54:33Z")

</div>

Hi

I’ve tried a number of ways to connect to my Kodi installation but had no luck, I’ve tried the Kodi node (which just keeps showing reconnecting), I’ve also tried a tcp node (which shows connected but I can’t get that to work with a command), and I’ve also tried a websocket node, but no luck ?

I can access and control kodi via its web interface in a browser (as that’s enabled), but that’s it - any ideas anyone - does anyone have a working set up ?

I’m using v17.5 of kodi  
Kodi web port shows up as 8189

---

<div class="post-metadata">

### Author: ![nodecentral](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nodecentral/32/10432_2.png) [@nodecentral](https://discourse.nodered.org/u/nodecentral)
#### Post date: [12 May 2019 21:17 UTC](https://discourse.nodered.org/t/can-t-connect-nr-to-control-kodi/11048/2 "2019-05-12T21:17:29Z")

</div>

As I continue to try things, I can get the following to work directly into a browser.

```auto
http://192.168.1.227:8189/jsonrpc?request={"jsonrpc":"2.0","id":"1","method":"GUI.ShowNotification","params":{"title":"Test Household","message":"Everything is great","displaytime":6000}}

```

Which seems to confirm the ip and port were correct within the other attempts, but no idea why I cant send these jsonrpcs directly via node Red

---

<div class="post-metadata">

### Author: ![nodecentral](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nodecentral/32/10432_2.png) [@nodecentral](https://discourse.nodered.org/u/nodecentral)
#### Post date: [12 May 2019 22:01 UTC](https://discourse.nodered.org/t/can-t-connect-nr-to-control-kodi/11048/3 "2019-05-12T22:01:36Z")

</div>

As I can get it to work via a http request node, using a function or template to do the json, I can only assume the issue is with connection via tcp and/or with the kodi node Red module..
