[Release] [V 1.2] Kodi Manager - integrate and control Kodi with Smartthings

smartapp_av
mediacontrol
kodi
dth_av
project_av

#69

Hi, I have installed the app and DTH for Kodi (tried both stable and Beta), I have configured the app for Kodi (and Kodi already works with the Kore official remote via same settings) and I always have the same issue when I launch the handler for Kodi it says waiting then the whole Smartthings app crashes and closes back to Android home screen - any ideas ? I have tried everything I can think of.


(Todd M) #70

jahlliday45, not sure this will help you but I thought I would comment. I have not used this app. I used Yatse android app to control Kodi. But since I purchased an Alexa Dot, I use https://github.com/m0ngr31/kodi-alexa/blob/master/README.md to voice control Kodi. It works very well.


(DJAC) #71

did you ever get an answer… I have the same problem


(Omri Amos) #72

No, I never got Kodi to work with webCoRE.


(Steve ) #73

So when you’re playing something in Kodi look on the recently tab on the thing it should list the action.
So then on WebCore just do something like.
If “thing” is playing
Then
Turn light off.
Etc


#74

I am seeing the same problem described by jhalliday45 above. @jhalliday45 did you manage to get it working in the end? When I click on my Kodi device under ‘Things’, the Kodi device screen shows momentarily with the ‘Right Now’ tab visible but with a white page and loading animation underneath, then the entire SmartThings app closes and I am taken back to my Android home screen. I even tried setting up some callbacks in Kodi Callbacks and while I can see the status updating on the device list page, I still can’t click into the device itself, when I do the app just crashes.


(Kevin Hekert) #75

@bsteyn and @jhalliday45, having the same problems. Any solution yet?
Using Smartthings on Samsung Galaxy S7.


#76

Hi I have it working now - but I am trying to recall what I did - I seem to recall I went to an earlier version of the smart app that worked in letting the device be added but did not integrate with the device handler. I then updated the smart app to the latest one and it works fine no problems at all. Sorry can’t recall much more detail.


(Kevin Hekert) #77

Hmm, thank you for your fast reply. Tried to fix this but it doesn’t work. :frowning:


(DJAC) #78

Hey how did you manage to get the pause and resume as well as the TV shows in webcore.
video.TVshow? Can’t get it to work with the code. Think I’m doing it wrong.


(DJAC) #79

Any help would be appreciated


(Todd M) #80

Not sure if this will help anyone but…

I used this : [Updated V2.5] Generic Media Renderer (DLNA Speakers). Party Group (multi room) to allow me to add my OSMC Kodi as a “thing” on my Galaxy ST app. Now I can use Webcore and select Kodi as my DLNA player. I can play songs but I am still trying to get Webcore to play a playlist that is on my Kodi.


(Gene Clark) #81

@north3221 I’ve got a couple questions about this setup - what are these settings for in the device? Do they do anything?

Also what commands do I use in webCoRE? Am I actually using the commands for pause, play, etc.?


(Gene Clark) #82

Couple things - this does two way communication? So like I could use a callback to trigger a SmartThings action? If so how do I do that? Say for example playing Kodi dims all lights. I’ve got it working only one way now - from SmartThings to Kodi via virtua momentary buttons but not sure I’m taking full advantage of the callbacks feature.

Also what does this button do?


(Todd M) #83

For those interested in controlling Kodi with webCoRE. You can control many things within Kodi with webCoRE. For instance, Play Track works very well. I was wanting to pass a playlist name from webCoRE to Kodi and play it. There is NOT a Play Playlist command in webCoRE. I had to learn to use JSON RPC and access the Kodi API to do that. The setup is a bit tricky. But it took literally two lines of webCoRE code to do it. See here for the details.


(Gene Clark) #84

Ultimately I wish there was a way to use Alexa to control Kodi without having to setup all the code in WS and Lambda. I’ve seen these but never set them up and unsure how well they work or what the difference between them is since they’re made by the same guy.


#85

It looks like “on playback started” does not trigger properly anymore on Kodi 18.
This is also being discussed on the Callback Kodi forum…
Any solution/alternatives/ideas?
Thanks!


(Todd M) #86

I use Kanzi and it is fantastic. And I have been writing Webcore pistons to interact with Kanzi for specific tasks.


#87

Same for me on Kodi 18. This was working great on 17. I’m using this in conjunction with CoRE to control two different sets of lights based on Kodi events. I’m running Kodi on an nvidia shield and it upgraded to 18 all on its own (even though I have autoupdate turned off). It still seems to recognize playback paused and resumed, but the playback started function is broken. If this doesn’t get fixed or another solution doesn’t present itself, I’ll have to go back to 17 as painful of a process as that is. It was a little cumbersome to set this up, but it works great on 17.


(KroLeXz) #88

is this project still being worked on?