Kodi Mediaserver Support
Moderator: leecollings
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Kodi Mediaserver Support
I've seen the new Kod Mediaserver Support functionality
(not my screenshot)
I do not see my mediacenter is active as in the picture above.. Need special settings?
(not my screenshot)
I do not see my mediacenter is active as in the picture above.. Need special settings?
Last edited by ThinkPad on Monday 31 August 2015 15:05, edited 1 time in total.
Reason: Fixed typo in topictitle :)
Reason: Fixed typo in topictitle :)
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Kodi Medisserver Support
Settings:
IP-adress of your Kodi machine and the port of the Kodi webserver.
When you have set username and password for the Kodi webserver, remove them as this is not (yet?) supported in Domoticz settings.
Edit: also works with username and password.
Add your username and password in front of the ip adress like this:
username:[email protected]
IP-adress of your Kodi machine and the port of the Kodi webserver.
When you have set username and password for the Kodi webserver, remove them as this is not (yet?) supported in Domoticz settings.
Edit: also works with username and password.
Add your username and password in front of the ip adress like this:
username:[email protected]
Last edited by Raspberry Piet on Monday 29 June 2015 0:41, edited 1 time in total.
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: Kodi Medisserver Support
Ah fixed, needed to change my port number to 80 (running openelec, guess this is the default)
- Attachments
-
- Screenshot
- kodi.PNG (36.15 KiB) Viewed 24781 times
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
-
- Posts: 82
- Joined: Tuesday 17 September 2013 13:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.9269
- Location: The Netherlands
- Contact:
Re: Kodi Medisserver Support
where can you add kodi server i cant see it
is it in hardware?
is it in hardware?
1X Raspberry4B : Domoticz Version 2023.1 [Linux 5.10.63-v7l+ armv7l]
1X Conbee II : 2.25.3 - 26720700
1X RFXtrx433 USB Firmware:183
1X Mysensors Gateway 1.5 -3
6X ESP8266: Tosmota firmware
Zigbee : 6 Operators, 13 Sensors
1X Conbee II : 2.25.3 - 26720700
1X RFXtrx433 USB Firmware:183
1X Mysensors Gateway 1.5 -3
6X ESP8266: Tosmota firmware
Zigbee : 6 Operators, 13 Sensors
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: Kodi Medisserver Support
Yes add hardware. This will result in new switches
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
-
- Posts: 82
- Joined: Tuesday 17 September 2013 13:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.9269
- Location: The Netherlands
- Contact:
Re: Kodi Medisserver Support
yes see it right now i havent updated yet
have updated and see it now
Thanks for the info
greetz
have updated and see it now
Thanks for the info
greetz
1X Raspberry4B : Domoticz Version 2023.1 [Linux 5.10.63-v7l+ armv7l]
1X Conbee II : 2.25.3 - 26720700
1X RFXtrx433 USB Firmware:183
1X Mysensors Gateway 1.5 -3
6X ESP8266: Tosmota firmware
Zigbee : 6 Operators, 13 Sensors
1X Conbee II : 2.25.3 - 26720700
1X RFXtrx433 USB Firmware:183
1X Mysensors Gateway 1.5 -3
6X ESP8266: Tosmota firmware
Zigbee : 6 Operators, 13 Sensors
-
- Posts: 46
- Joined: Sunday 11 May 2014 22:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Kodi Medisserver Support
What version is this on?
Raspberry Pi B+
Rfxcomm rfxtrx433
LigthwaveRF
Byron Door Bell
Accenta Gen4 Security System Integration
HomeEasy PIR
Nest Thermostat
Geofencing
Pushover
Blog: http://www.shyambhundia.com
Rfxcomm rfxtrx433
LigthwaveRF
Byron Door Bell
Accenta Gen4 Security System Integration
HomeEasy PIR
Nest Thermostat
Geofencing
Pushover
Blog: http://www.shyambhundia.com
- Dnpwwo
- Posts: 819
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Kodi Medisserver Support
Nice workaround with the username:password, I've updated the hardware page with some help text.
(I don't have a u:p set so this worked by complete accident btw )
(I don't have a u:p set so this worked by complete accident btw )
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 69
- Joined: Tuesday 15 April 2014 17:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Vaassen
- Contact:
Re: Kodi Medisserver Support
Where can I find screen nodes? Can't get this to work...?? #noob
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Kodi Medisserver Support
Setup=> Hardware then add "Kodi Media Server" , then use setup button. That's all.Steven84 wrote:Where can I find screen nodes? Can't get this to work...?? #noob
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Kodi Medisserver Support
@Dnpwwo: Thank you for your effort to implement this functionality into Domoticz.
I really like it!
Till now i use the xbmc-kodi-status-in-domoticz script made by ChopperRob for this. (wich works very good!)
Maybe you can add same functions like that script. It changes user variables dependant on state from screensaver, profilename, mute, volume ..... etc.
I really like it!
Till now i use the xbmc-kodi-status-in-domoticz script made by ChopperRob for this. (wich works very good!)
Maybe you can add same functions like that script. It changes user variables dependant on state from screensaver, profilename, mute, volume ..... etc.
- Dnpwwo
- Posts: 819
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Kodi Medisserver Support
There is still a fair bit of integration work that I want to do around core functionality: logging, device control, 'switch off' to name a few. I also want to move from polling (which it currently does) to listening.
After that I will look at integrating it into things like lua (and maybe even blocky). The challenge will be in ensuring that it sits comfortably with the existing functionality and that the capabilities are kept as generic as possible so that other Media Players could be added later (Plex, Sonos....).
I will probably try and stay away from User Variables if possible because, as I understand it, they really a mechanism to allow custom extensions to Domoticz via scripts not to support native implementations. Also, if I can expose properties in lua then people can update User Variables manually as (or if) required.
I've had a look at ChopperRob's script and would expect to expose similar details. Also want to be able to push messages and/or images to Kodi.
After that I will look at integrating it into things like lua (and maybe even blocky). The challenge will be in ensuring that it sits comfortably with the existing functionality and that the capabilities are kept as generic as possible so that other Media Players could be added later (Plex, Sonos....).
I will probably try and stay away from User Variables if possible because, as I understand it, they really a mechanism to allow custom extensions to Domoticz via scripts not to support native implementations. Also, if I can expose properties in lua then people can update User Variables manually as (or if) required.
I've had a look at ChopperRob's script and would expect to expose similar details. Also want to be able to push messages and/or images to Kodi.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 17
- Joined: Wednesday 28 May 2014 21:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: NL
- Contact:
Re: Kodi Medisserver Support
If you would switch to the raw TCP port instead of the web api you can integrate a much better listening system. After connecting, KODI pushes all actions to the connected devices, so you would only need to listen and not poll. My script works the same way, this makes to reaction time very fast.
You can test this by connecting to the TCP port (9090) with a simple telnet client.
You can test this by connecting to the TCP port (9090) with a simple telnet client.
- tcviper
- Posts: 89
- Joined: Monday 30 June 2014 13:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Kodi Medisserver Support
Might aswell add support for Plex Media server? Would be very cool so you can see who and which friends are playing what.
A bit like what Plexwatchweb does.
A bit like what Plexwatchweb does.
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Kodi Medisserver Support
V2.2662: Kodi Log function is working! (would be nice to choose Log On/Off)
Shutdown doesn't work:
Shutdown doesn't work:
Code: Select all
2015-08-02 15:01:35.430 Kodi: (Kodi Slaapkamer) Switch Off: CanReboot:true, CanShutdown:true, CanHibernate:false, CanSuspend:true. Shutdown requested.
2015-08-02 15:01:35.439 Error: Kodi: -32700 - 'Parse error.' request '/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%System.Shutdown%22,%22id%22:1,}'
- Dnpwwo
- Posts: 819
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Kodi Medisserver Support
Thanks for reporting. I couldn't test this because when you run on top of Raspian all the shutdown options are 'false'. Try 2.2664 and let me know.
I'll turn the logging down as much as possible once I know things are working smoothly. Per hardware logging sounds like a good idea but would be quite a big job now so much hardware has been implemented.
I'll turn the logging down as much as possible once I know things are working smoothly. Per hardware logging sounds like a good idea but would be quite a big job now so much hardware has been implemented.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Kodi Medisserver Support
Updated to v2.2666, same error i'm affraid.
This command i use in bash scripts to shutdown my Kodi machine:
Edit: Updated to v2.2673, Shutdown is working now! Thanks for fixing.
Code: Select all
2015-08-03 19:52:23.372 Kodi: (Kodi Slaapkamer) Switch Off: CanReboot:true, CanShutdown:true, CanHibernate:false, CanSuspend:true. Shutdown requested.
2015-08-03 19:52:23.376 Error: Kodi: -32700 - 'Parse error.' request '/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22System.Shutdown%22,%22id%22:1,}'
Code: Select all
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"id":1,"jsonrpc":"2.0","method":"System.Shutdown"}' http://user:[email protected]:8080/jsonrpc
Last edited by Raspberry Piet on Tuesday 04 August 2015 17:51, edited 1 time in total.
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Kodi Medisserver Support
Is it perhaps possible to use kodi in the network, use like a sonos?
And then with a bleutooth device?
And then with a bleutooth device?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
- Dnpwwo
- Posts: 819
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Kodi Medisserver Support
@Raspberry Piet, There was a fairly obvious spurious comma towards the end of the command. Crappy testing on my part. Glad it works now, thanks for letting me know.
@Derik, Not sure exactly what you looking to do with it. You can control it over the network, via http commands or UPNP and you can get remotes for most devices (there is even a primitive one even built into the latest beta for Domoticz)
@Derik, Not sure exactly what you looking to do with it. You can control it over the network, via http commands or UPNP and you can get remotes for most devices (there is even a primitive one even built into the latest beta for Domoticz)
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
Who is online
Users browsing this forum: No registered users and 0 guests