Vera - Smarter Home Control Forum

Advanced => Programming => Plugins & Plugin Development => Topic started by: ronluna on November 20, 2014, 04:44:01 pm

Title: Kodi Remote Control
Post by: ronluna on November 20, 2014, 04:44:01 pm
Kodi Remote Control is based off former XBMCState. This Plugin will report the state of XBMC as well provide basic functionality such as Navigation and player control.

Requirements:
micasaverde.addon (Modified for Kodi Service) installed in kodi
akb-json.lua (in vera, Place it in /usr/lib/lua/)
Day or Night Plugin

1- Install Kodi Remote from the mios app store (of it gets approved) or unzip the plugin attached in this post and upload it into your vera.

2- Once you have place micasaverde.addon inside kodi's addon folder, open kodi and go to System -> settings -> Add-Ons -> Enabled add-ons -> services -> Micasaverde Kodi Event

3- Once in there enter the ip of your vera and the device id  that was assigned to Kodi Remote when it got installed as well as the id for your Day or Night Plugin, select the states that you would like Kodi to report to your vera.

4-Once your are done configuring the plugin close kodi and reopen it to initialize the new configuration.

5-Go to your vera and enter into the setting of your KODIRemote Plugin then go to the advanced tab and enter your Kodi's ip address and reload vera.

You should be able to see how Kodi report to vera all the different states, you should also be able to send basic navigation and player commands to Kodi.

KODIREmote.zip updated (11/22/14)
Title: Re: Kodi Remote Control
Post by: SirMeili on November 21, 2014, 08:05:49 pm
Can you explain what setting the values on the "XMBC state" and "Player State" tabs do in teh XBMC plugin configuration? (I know i"m probably just being daft).
Title: Re: Kodi Remote Control
Post by: SirMeili on November 21, 2014, 08:10:34 pm
Can you explain what setting the values on the "XMBC state" and "Player State" tabs do in teh XBMC plugin configuration? (I know i"m probably just being daft).
OK, I figured those out. that just defines what events you want to send and if you want it based on if it's "night"  (or to always report it).

Some questions. You mention that you can control Koki from the plugin. Would there be a way to add these buttons in the UI? Maybe via a separate child device? (just curious).
Title: Re: Kodi Remote Control
Post by: Homer on November 21, 2014, 09:19:11 pm
Hey! Thanks for this plugin :-)

A quick question ...
In regards to this - akb-json.lua (in vera, Place it in /usr/lib/lua/) Can I just go to Apps- Develop Apps- Luup files- and upload from there?
Title: Re: Kodi Remote Control
Post by: ronluna on November 21, 2014, 10:30:27 pm
Can you explain what setting the values on the "XMBC state" and "Player State" tabs do in teh XBMC plugin configuration? (I know i"m probably just being daft).
OK, I figured those out. that just defines what events you want to send and if you want it based on if it's "night"  (or to always report it).

Some questions. You mention that you can control Koki from the plugin. Would there be a way to add these buttons in the UI? Maybe via a separate child device? (just curious).

Yes,  You'll have Up, Down, Right, Left, Home, Back, Select, Play, Pause, Stop and Volume (Partially working)

I'd like to add many more... Hopefully in the next few days....

It requires to 2 Service Files which I'm not sure if they come built-in but just in case I have attached S_AVTransport1.xml and S_RenderingControl1.xml Please feel free to download in case they are missing in your box.
Title: Re: Kodi Remote Control
Post by: ronluna on November 21, 2014, 10:33:33 pm
Hey! Thanks for this plugin :-)

A quick question ...
In regards to this - akb-json.lua (in vera, Place it in /usr/lib/lua/) Can I just go to Apps- Develop Apps- Luup files- and upload from there?

No, You'll have to ssh into your vera.

perhaps scp will be a much easier.

go to your terminal window (Mac or Linux) and run something like this:

scp /local/path/to/akb-json.lua root@your.vera.ip.address:/usr/lib/lua/
Title: Re: Kodi Remote Control
Post by: SirMeili on November 21, 2014, 10:37:24 pm
Yes,  You'll have Up, Down, Right, Left, Home, Back, Select, Play, Pause, Stop and Volume (Partially working)

I'd like to add many more... Hopefully in the next few days....

It requires to 2 Service Files which I'm not sure if they come built-in but just in case I have attached S_AVTransport1.xml and S_RenderingControl1.xml Please feel free to download in case they are missing in your box.

I added those service files, but no UI buttons showed up (not that you were saying they would). I will wait to see if you can add them in later and if not, that's ok. I was just going to use the UI buttons for testing :)
Title: Re: Kodi Remote Control
Post by: Homer on November 21, 2014, 11:33:45 pm

No, You'll have to ssh into your vera.

perhaps scp will be a much easier.

go to your terminal window (Mac or Linux) and run something like this:

scp /local/path/to/akb-json.lua root@your.vera.ip.address:/usr/lib/lua/

Thanks heaps for your help mate!! Very much appreciated. :)
Title: Re: Kodi Remote Control
Post by: ronluna on November 22, 2014, 08:56:25 am
Yes,  You'll have Up, Down, Right, Left, Home, Back, Select, Play, Pause, Stop and Volume (Partially working)

I'd like to add many more... Hopefully in the next few days....

It requires to 2 Service Files which I'm not sure if they come built-in but just in case I have attached S_AVTransport1.xml and S_RenderingControl1.xml Please feel free to download in case they are missing in your box.

I added those service files, but no UI buttons showed up (not that you were saying they would). I will wait to see if you can add them in later and if not, that's ok. I was just going to use the UI buttons for testing :)

Reupload this files "D_KODIRemote.json S_KODIRemote.xml" (Attached) or redownload the zip file from the main post.... You will see the entire player in your "Player State" Tab.

I will try to add more features in the upcoming days....
Title: Re: Kodi Remote Control
Post by: Aaron on December 07, 2014, 08:50:53 pm
ronluna
I have installed the Plugin on both XBMC (Gotham) and Vera... though it is not communicating 100%. The remote portion on the Vera UI is not working... but the UI is showing the PC 'up' and the proper current folder navigation

I did not see any place to put in a user/pw for XBMC ... which most apps require?

Also, I suggest you specify users install your puling into the ADDON folder under the User's data folder... there is another addon folder in the root of Kodi and that did not seem to work properly for me.

thanks!
Title: Re: Kodi Remote Control
Post by: bigbasec on December 23, 2014, 01:45:41 pm
It works alot better if you get rid of the :8080 for the port in the implementation file.  The control port should be in Advanced so it can be modified.  Not all users use 8080, and by default now(just installed a new Rasberry Pi) it's port 80. 
Title: Re: Kodi Remote Control
Post by: macrho on December 24, 2014, 12:34:28 pm
Just upgraded to Helix and attempted to install the add-on in Kodi and get the following:

Add-on does not have the correct structure.

Am I missing something? I attempted to install the add-on like all others: Install from zip file
Title: Re: Kodi Remote Control
Post by: brownstein on December 26, 2014, 05:29:28 pm
Just upgraded to Helix and attempted to install the add-on in Kodi and get the following:

Add-on does not have the correct structure.

Am I missing something? I attempted to install the add-on like all others: Install from zip file

Hey, I'm having the same problem
Title: Re: Kodi Remote Control
Post by: jamezel13 on December 27, 2014, 07:28:50 pm
Same problem here.
Title: Re: Kodi Remote Control
Post by: bigbasec on December 27, 2014, 11:45:05 pm
Helix forced the new directory structure.  The attached should work for you having the problem w/ the structure not being ok. 
Title: Re: Kodi Remote Control
Post by: jamezel13 on December 28, 2014, 06:07:18 pm
That fixed the install issue, but I still can't get the Vera to see it. I got XBMC State to work without an issue, but I can't get this to work for the life of me. I have Raspbmc and a Vera 3 if anyone has any suggestions. Both have the latest software versions.
Title: Re: Kodi Remote Control
Post by: bigbasec on December 28, 2014, 10:27:21 pm
The only problem I have had w/ mine is the current XBMC plugin has a few problems.  First off, the method that is uses to update the "video playing" does not work 100% of the time.  It's blank.  So when it goes to send the "current playing" video name to the vera it fails.   I am working through this now, as I have the exact setup you have.  I think it has to do with the Pi not having the balls to get that processing done before the play is started as the issue doesn't happen w/ my Linux based XBMC. 

I don't see the author replying, so I'm not sure of the status of this plugin, but if I get it working a little more solid I will reply back w/ new attached plugins.  (both of them). 
Title: Re: Kodi Remote Control
Post by: amp3d on December 30, 2014, 03:36:33 pm
This is very cool, got everything installed and it works as advertised.

However, I've been getting the same functionality with a program called eventghost. I'm sure many of you have used it.

Dont you think eventghost is a better option? ANY button you press or action that happens on your computer can trigger a scene or event directly to your controller...so there is no need for any of this?

This plugin only works within kodi, where eventghost is system wide...don't you think?

Unless there is something you guys are using this plugin for that I didn't think about?
Title: Re: Kodi Remote Control
Post by: bigbasec on December 30, 2014, 05:34:37 pm
I use it so I don't need to have a PC running 24/7.  Eventghost requires a PC. 

I simply have a Raspberry Pi running w/ a bunch of external drives on it. 
Title: Re: Kodi Remote Control
Post by: macrho on December 30, 2014, 06:40:04 pm
This is very cool, got everything installed and it works as advertised.

However, I've been getting the same functionality with a program called eventghost. I'm sure many of you have used it.

Dont you think eventghost is a better option? ANY button you press or action that happens on your computer can trigger a scene or event directly to your controller...so there is no need for any of this?

This plugin only works within kodi, where eventghost is system wide...don't you think?

Unless there is something you guys are using this plugin for that I didn't think about?

Can you post the details of how you used EventGhost and XBMC to achieve these results? I've looked at EventGhost a number of times but never really jumped in, this seems like an interesting way to use it
Title: Re: Kodi Remote Control
Post by: PhilbyJ5 on January 04, 2015, 12:36:13 am
Thanks so much!  After upgrading to Kodi I now have my Z-wave lighting automated again.  Really appreciate your efforts getting this plugin up and running so quickly.
Title: Re: Kodi Remote Control
Post by: nullx8 on January 05, 2015, 06:45:32 am
does this work with xbmc 12 as well ?
use XBMC State now ... but it does crash from time to time ..
Title: Re: Kodi Remote Control
Post by: kyle.dawson on January 07, 2015, 11:24:27 am
I have this working, I can see the status up/down and I can control my XBMC running on Raspberry PI. Nice Plugin.   I use it to alert me if my daughter while in her room, is watching a movie after her bed time and I get alert on my phone.  The issue I am seeing is that the dashboard does not display the current playing media.  Looking at the advance tab, looks like there are duplicate variables.  Does anyone know the issue and how to fix it and show on the dashboard page the current state and what is playing?

I attached the advance view and the Dashboard view to show what I am seeing.

Title: Re: Kodi Remote Control
Post by: bigbasec on January 09, 2015, 02:28:46 am
That likely has to do with partially  the hardware, and partially how the plugins handles the data.  The "playing title" sometimes is not refreshed fast enough so it is sent blank.  That causes an error, and a crash for the most part.  I commented that out. 
Title: Re: Kodi Remote Control
Post by: kyle.dawson on January 16, 2015, 01:46:19 pm
I found out my issue on this, user error.  I installed the XMBC State on my XBMC but was running Kodi Remote on my Vera.  That was causing the XBMC to call the vera with wrong strings.  Once I upgraded my KODI to correctly addon, works like a charm.. Love this....


Side note:  I use this to alert me if my daughter watches movies/youtube after 9 pm.  Plus we get log of all titles she watches, so we make sure she is not watching bad stuff...



I have this working, I can see the status up/down and I can control my XBMC running on Raspberry PI. Nice Plugin.   I use it to alert me if my daughter while in her room, is watching a movie after her bed time and I get alert on my phone.  The issue I am seeing is that the dashboard does not display the current playing media.  Looking at the advance tab, looks like there are duplicate variables.  Does anyone know the issue and how to fix it and show on the dashboard page the current state and what is playing?

I attached the advance view and the Dashboard view to show what I am seeing.
Title: Re: Kodi Remote Control
Post by: fusion600 on February 07, 2015, 02:41:51 pm
I updated my UI7 version (1.7.513) this morning, then installed the  micasaverde.addon and KodiRemote app. Then configured the KODIRemote devicewith KODI IP and device ID's and set all flags to true.

I get:

Variable Name:Variable Value:
Computer:up
Player:Video_start
Kodi:video

But none of the remote functions work and it constantly says Can't Detect Device.

Please help
Title: Re: Kodi Remote Control
Post by: n0ir on February 07, 2015, 05:34:23 pm
I also have some issues...

Get a "ERROR: Device not ready"-message when I press any of the buttons on the Vera.

I also keeps getting the "KODIRemote : IP Address is required in Device's Advanced Settings!" error message, even though I have entered Kodi IP under Advanced->Params->ip.
Title: Re: Kodi Remote Control
Post by: kyle.dawson on February 07, 2015, 06:20:48 pm
Just checking, but after you add the IP address, you save and reload vera?  That is the only think I think that could cause that error.
Title: Re: Kodi Remote Control
Post by: fusion600 on February 07, 2015, 07:47:00 pm
I think you can just reload LUUP, in UI7 anyway.  but yeah, you definitely need to have Vera restart to pick up the IP changes.  Just disappointed about not being able to actually control KODI.

Hopefully someone can come up with a suggestion or answer.
Title: Re: Kodi Remote Control
Post by: kyle.dawson on February 07, 2015, 07:54:09 pm
Not sure what you mean, I can control all three of my Kodi's.   Stop/Pause/Play, etc..  The one thing I with, I could send a move in the library to play.  I can only control active movie, nothing new.  Would love to turn on TV, Play scene/movie at 8:00 am to wake me up.


Title: Re: Kodi Remote Control
Post by: fusion600 on February 07, 2015, 07:58:57 pm
UI7?
Title: Re: Kodi Remote Control
Post by: kyle.dawson on February 07, 2015, 08:05:39 pm
OH, good point.  I have not gone to UI7, too many issues.  I am on UI5.  Since all my stuff works, did not want to go down that rabbit hole.
Title: Re: Kodi Remote Control
Post by: fusion600 on February 07, 2015, 08:08:53 pm
perhaps that's my problem.  I had it working in UI5, ugh....
Title: Re: Kodi Remote Control
Post by: conchordian on February 07, 2015, 09:57:12 pm
This is very cool, got everything installed and it works as advertised.

However, I've been getting the same functionality with a program called eventghost. I'm sure many of you have used it.

Dont you think eventghost is a better option? ANY button you press or action that happens on your computer can trigger a scene or event directly to your controller...so there is no need for any of this?

This plugin only works within kodi, where eventghost is system wide...don't you think?

Unless there is something you guys are using this plugin for that I didn't think about?

I am a big fan of EventGhost and use it for heaps of automation, as well as XBMC/KODI control, but I still use the XBMC/KODI plugin for Vera, because there's no extra functionality, as far as lighting is concerned, so you may as well cut out the middleman.

Title: Re: Kodi Remote Control
Post by: nullx8 on February 07, 2015, 11:09:30 pm
Eventghost = windows = pre-programmed failure :p

Xbmcstate runs within kodi, which makes it alot more solid.
Title: Re: Kodi Remote Control
Post by: aalmans on February 08, 2015, 10:18:04 am
I updated my UI7 version (1.7.513) this morning, then installed the  micasaverde.addon and KodiRemote app. Then configured the KODIRemote devicewith KODI IP and device ID's and set all flags to true.

I get:

Variable Name:Variable Value:
Computer:up
Player:Video_start
Kodi:video

But none of the remote functions work and it constantly says Can't Detect Device.

Please help


Same here! Can anyone confirm this works with UI7 as advertised and also without the "Can't Detect Device"?
Title: Re: Kodi Remote Control
Post by: conchordian on February 11, 2015, 01:50:53 am
Eventghost = windows = pre-programmed failure :p

Xbmcstate runs within kodi, which makes it alot more solid.

A lot of folks are already using Windows to run Kodi, so that failure rate won't be fixed by eschewing EventGhost.
Title: Re: Kodi Remote Control
Post by: n0ir on February 13, 2015, 07:42:12 am
I didn?t get it to work on my new vera Edge with UI7. Now running the DLNA app instead together with PLEG.
Title: Re: Kodi Remote Control
Post by: fusion600 on February 15, 2015, 08:09:32 am
I didn?t get it to work on my new vera Edge with UI7. Now running the DLNA app instead together with PLEG.

Can you elaborate on what you did, please?
Title: Re: Kodi Remote Control
Post by: bigmonkey70 on February 16, 2015, 08:30:06 pm
install the add on on kodi 14.1 on Fire TV ... I enter the Vera IP .. but for XBMC State ID and Day or Night Device ID I can't enter anything ... the keyboard is blank no number no letter at all. 

EDIT: I got it all 5 of my XBMC unit working now.  It was caused by an incompatible Confluence++ FireTV skin.  Upgrade to the Helix version and I can enter the Unit ID for XBMC State and Day or Night devices.  Thanks
Title: Re: Kodi Remote Control
Post by: konradwalsh on February 17, 2015, 02:07:59 am
I didn?t get it to work on my new vera Edge with UI7. Now running the DLNA app instead together with PLEG.
Dont know what the difference is but it works perfectly for me on UI7 and Helix.
The UI7 controls need fixing but functions are there.
Title: Re: Kodi Remote Control
Post by: richgodfrey on March 01, 2015, 04:46:15 am
Can this plugin/kodi differentiate between you playing a movie vs live Tv?   Used to use XBMC State until I implemented live TV and couldn't work out how not to trigger a scene when watching TV (when I dont want the lights to be dimmed)
Title: Re: Kodi Remote Control
Post by: joecrow on March 01, 2015, 11:29:54 am
Does anybody know how to use the "Idle" function of this plugin in a LUUP script?

would it be something like:
local KODI_SID = "urn:upnp-org:serviceId:XBMCState1"
local playerState = luup.variable_get(KODI_SID, "IdleTime", 123)

Does the idle time even work?, I dont see it changing in the Advanced tab.

Is there a way to even do it via the UI? I would like to turn off the power to the TV when Kodi is idle for a certain amount of time.
Title: Re: Kodi Remote Control
Post by: joecrow on March 02, 2015, 02:25:27 am
Nevermind I used a python script to send the command from kodi to the Vera.

Got the idea here:
http://www.jordanhackworth.com/home-automation-with-xbmc/
Title: Re: Kodi Remote Control
Post by: fusion600 on March 05, 2015, 08:20:32 am
UPDATE: I got all the functionality working on Amazon Fire TV Stick, with UI7.  The button functionality problem was caused by not setting all necessary settings in Kodi to enable remote control.  I forgot after I upgraded.

Only outstanding issues are button layout on UI7, and consistently states Can't detect device.  but app fully functions.
Title: Re: Kodi Remote Control
Post by: williamwyles on March 13, 2015, 12:40:51 am
I cannot get this to work. I'm using UI7 with OpenELEC / KODI 14.2. I get "Computer:upPlayer:--Kodi:--". XBMC state worked perfectly. This will not trigger events, nor do the remote buttons work. I don't care if the remote buttons on the device work, but I would like the lights to dim again. I erased all the XBMCState files prior to install. I've tried this install fresh, three times. Any advice?
Title: Re: Kodi Remote Control
Post by: cw-kid on April 16, 2015, 06:34:04 am
Hi

So this is a complete replacement for XBMCState? And also gives you some control over the Kodi PC like playback transport controls?

I am currently using XBMCState which I wrote about here (http://windowsmediacenter.blogspot.co.uk/2013/02/xbmc-vera-home-automationbasic.html) on my blog and the DLNA plug-in which I wrote about here (http://windowsmediacenter.blogspot.co.uk/2015/04/vera-dlna-plug-in-yet-more-integration.html).

Think I will have to give Kodi Remote Control a try, I am still on Vera UI5.

Thanks
Title: Re: Kodi Remote Control
Post by: ronluna on April 16, 2015, 07:55:45 am
I'm currently adding UI7 compatibility and a few fixes. I will upload it soon.
Title: Re: Kodi Remote Control
Post by: cw-kid on April 16, 2015, 08:07:36 am
Helix forced the new directory structure.  The attached should work for you having the problem w/ the structure not being ok.

Hi

I just installed the Kodi service add-on, but can't see anything in Kodi for this add-on?

Does it not get listed in Kodi under Settings - Addons - Enabled Addons - Services ?

The KodiRemote device in Vera UI web is now connected to Kodi after I put in the IP address, so it appears to have connected to it OK and the up / down buttons are working and making Kodi move around its GUI.

Will try and play some media content in Kodi next see what gets displayed in the KodiRemote device in Vera ?

Thanks

Title: Re: Kodi Remote Control
Post by: nullx8 on April 16, 2015, 08:09:47 am
Does it support PVR?
I'm still on xbmcstate, but the vera plugin usally crashes once  live tv is used.


Sent from my iPhone using Tapatalk
Title: Re: Kodi Remote Control
Post by: cw-kid on April 16, 2015, 08:11:21 am
I'm currently adding UI7 compatibility and a few fixes. I will upload it soon.

Ronluna

This all looks very promising. I'd like to write a setup guide and how-to on The Media Center Blog (http://windowsmediacenter.blogspot.co.uk/) at some point!

I have guides on there currently for XBMCState and the DNLA plug-in for Vera.
Title: Re: Kodi Remote Control
Post by: cw-kid on April 16, 2015, 08:16:50 am
Maybe its overwritten the existing XBMCState service add-on in Kodi? As that was previously installed.

I can see in Kodi the add-on called "Micasaverde XBMC Event" which I thought was the XBMCState one. But when I look at its information it says author "Michael Grenier" verison beta

Which is this new add-on right ?

EDIT:

I just looked on one of my other Kodi PCs with XBMCState installed and that "Micasaverde XBMC Event" add-on says the same thing author "Michael Grenier" verison beta.

So I am confused now.

I installed this file script.service.micasaverde.zip  from the forum poster earlier on here (http://forum.micasaverde.com/index.php/topic,28490.msg210054.html#msg210054) for Helix

So I guess the question is should this replace the XBMCState add-on or work in conjunction with it?

EDIT 2:

OK it seems you should first uninstall the XBMCState add-on for Kodi which is called "Micasaverde XBMC Event".

If I then install as a zip the script.service.micasaverde.zip file I now can see the new add-on called "Micasaverde Kodi Event"

I am assuming there are more differences between the two add-ons for Kodi other than the name of it ?
Title: Re: Kodi Remote Control
Post by: cw-kid on April 16, 2015, 09:40:58 am
KodiRemote its working now!

Should the XBMC icon in Vera still be present? Or should it be a Kodi one? Please see screen shot attached of the KodiRemote device.

So basically with this KodiRemote we can potentially replace both XBMCState and the DLNA plug-ins for Vera, which combined have similar functionality to KodiRemote.

Although we need Garrett to update the Authomation HD Android app to support KodiRemote devices.
The beta version of the app does support the Vera DLNA plug-in devices which is nice, because you can then have basic playback transport controls over Kodi in the Authomation HD app for Vera on your tablet or phone. But development is on hold now with Authomation HD so probably won't happen.

I've attached a few screen shots of a "DLNA device" connected to Kodi in the Authomation HD app and also in the Vera web UI, so you can see what I am talking about.

I wonder if any other 3rd party Vera remote control apps would support KodiRemote devices?

I also wonder if it might be possible to have KodiRemote display artwork as well as metadata like the DLNA plug-in devices can?
(Well with the DLNA plug-in artwork is displayed for music albums but not movies or TV shows? (http://forum.micasaverde.com/index.php/topic,16905.msg230413.html#msg230413)).

Looking forward to new updates now for KodiRemote !!
Title: Re: Kodi Remote Control
Post by: nullx8 on April 16, 2015, 11:21:02 am
one serious thing !!

every time i start a PVR channel (simple IP CLient)
Lua does crash

Code: [Select]
06 04/16/15 22:19:26.635 Device_Variable::m_szValue_set device: 14 service: urn:upnp-org:serviceId:KODIRemote1 variable: IdleTime was: -- now: (null) #hooks: 0 upnp: 0 v:0x12b97f8/NONE duplicate:0 <0x335f0680>

2015-04-16 22:19:26 - LuaUPnP Terminated with Exit Code: 245
2015-04-16 22:19:26 - LuaUPnP crash


this apears to happen only if titles beeing submit to Vera ... once this turned off ... it does not crash anymore.
Title: Re: Kodi Remote Control
Post by: cw-kid on April 16, 2015, 11:35:18 am
The Kodi PVR IPTV Simple Client add-on?

I use this as well, how can you tell that Lua is crashing? Does it say so at the top of the Vera web UI? Or are you seeing it in the Vera logs?

I just tried to play a TV channel in Kodi from the PVR IPTV Simple Client and it plays the channel and the KodiRemote device instance in Vera is not updated with any new information about what is now playing.

It just shows the movie title I was playing in Kodi prior to starting the Live TV channel playback. If I then reload Vera it still shows the movie title that was previously playing which was "The 6th Day".

Interestingly the DLNA plug-in that is also connected to Kodi is saying "VH1 Classic" so that is picking up the fact that Kodi is playing a Live TV channel.

See attached image
Title: Re: Kodi Remote Control
Post by: cw-kid on April 16, 2015, 11:42:58 am
this apears to happen only if titles beeing submit to Vera ... once this turned off ... it does not crash anymore.

Think you are referring to the Player State -> Video Title: = Yes option in the "Micasaverde Kodi Event" add-on settings.

I also have this turned on currently.

And I've just uninstalled XBMCState from my Vera! And changed all my Kodi HTPCs to use KodiRemote instead..
Title: Re: Kodi Remote Control
Post by: cw-kid on April 16, 2015, 01:06:28 pm
Hi

In the KodiRemote device in the Vera web UI (UI5) the volume slider appears to be the wrong way round?

My Kodi PC is set to 100% volume, yet the volume slider in the KodiRemote device is always at 0%.

Thanks
Title: Re: Kodi Remote Control
Post by: nullx8 on April 16, 2015, 09:33:03 pm
volume and Stop does not work at all for me !  (see image)
anything else is just fine

running on Kodi 14.1 (32 bit) and UI5
Title: Re: Kodi Remote Control
Post by: jjwalker on April 17, 2015, 12:08:48 am
Excuse me if this has been answered. Does this work in Gotham?   I've read through the whole thread and didn't see it.  Would I have to uninstall XBMCState? 

Title: Re: Kodi Remote Control
Post by: cw-kid on April 17, 2015, 03:11:20 am
You should uninstall the xbmcstate add-on in Gotham, the one called "Micasaverde XBMC Event" this is in the services area of the enabled add-ons in Kodi.

Then for Gotham install the Kodi add-on zip file (micasaverde.addon.zip) from the first post on this thread. (I think).

You don't need to uninstall xbmcstate from the Vera unit right away though, you can do this once you have changed all your kodi PCs to use KodiRemote.

In Vera add your new KodiRemote Devices for each Kodi PC . Make a note of the KodiRemote device ID in Vera and add this device ID in to the settings of the new add-on called "Micasaverde Kodi Event" in Kodi etc.

If you also have the day / night plug-in installed in Vera make a note of its ID number and also add that In to the kodi add-on settings.




Title: Re: Kodi Remote Control
Post by: cw-kid on April 17, 2015, 03:17:39 am
volume and Stop does not work at all for me !  (see image)
anything else is just fine

running on Kodi 14.1 (32 bit) and UI5

Stop works fine for me on Openelec 5.0.8 Kodi 14.2 and VeraLite UI5

I've not tested all the transport control buttons yet, but will do.
Title: Re: Kodi Remote Control
Post by: cw-kid on April 17, 2015, 03:20:30 am
Volume also works for me but the slider starting posision is inverted as I already mentioned.
Title: Re: Kodi Remote Control
Post by: cw-kid on April 17, 2015, 07:55:37 am
Hi

OK I have written the first part of a setup guide for KodiRemote, based on Vera UI5 and Kodi Helix 14.2.

You can see it here (http://windowsmediacenter.blogspot.co.uk/2015/04/kodiremote-for-micasaverde-vera-home.html) on my blog.

Perhaps Ronluna you would like to add this to your first post in the thread?

In Part two I will be looking at creating scenes in Vera and using the KodiRemote device(s) as triggers to do stuff. For example if it is night time and if my curtains are still open, when I start playing a movie in Kodi it will automatically close the curtains and then dim the living room lamps down to 25%. And if I pause or stop the movie it will automatically brighten up the lamps to 100%.
Title: Re: Kodi Remote Control
Post by: dfortier on April 17, 2015, 11:32:39 pm
I've got the kodi remote and addon installed and running but the Kodi Open and Kodi Close triggers don't work.  Also, I noticed that the state on the device says XBMC_close and XBMC_Open.  Not sure if that matters or not but all the other triggers seem to match what the device state reports.  Video resuem, video pause, etc..   My scenes work fine with those.  Just not the open and close.

Any one else experience this?
Title: Re: Kodi Remote Control
Post by: nullx8 on April 18, 2015, 12:18:42 am
You can see it here (http://windowsmediacenter.blogspot.co.uk/2015/04/kodiremote-for-micasaverde-vera-home.html) on my blog.

that is you ?
NICE !! i know your blog for quite some time already ... great to know on who is who
Title: Re: Kodi Remote Control
Post by: cw-kid on April 18, 2015, 08:51:21 am
You can see it here (http://windowsmediacenter.blogspot.co.uk/2015/04/kodiremote-for-micasaverde-vera-home.html) on my blog.

that is you ?
NICE !! i know your blog for quite some time already ... great to know on who is who

Yes that's me!

I'll be doing part two soon and looking at using some Vera scenes with KodiRemote and maybe a short video clip.
Title: Re: Kodi Remote Control
Post by: nullx8 on April 18, 2015, 08:40:15 pm
you basically responsible for me finally buying a Harmony Remote .. which was by far the best addition to the automated life,
in combination with a IR Reciever on the Raspberry to control the vera

even my wife loves it, and THAT means somethings .. haha
well wrong topic .. just wanted to trow some flowers :P

 
Title: Re: Kodi Remote Control
Post by: jjwalker on April 19, 2015, 01:11:47 am
You should uninstall the xbmcstate add-on in Gotham, the one called "Micasaverde XBMC Event" this is in the services area of the enabled add-ons in Kodi.

Then for Gotham install the Kodi add-on zip file (micasaverde.addon.zip) from the first post on this thread. (I think).

You don't need to uninstall xbmcstate from the Vera unit right away though, you can do this once you have changed all your kodi PCs to use KodiRemote.

In Vera add your new KodiRemote Devices for each Kodi PC . Make a note of the KodiRemote device ID in Vera and add this device ID in to the settings of the new add-on called "Micasaverde Kodi Event" in Kodi etc.

If you also have the day / night plug-in installed in Vera make a note of its ID number and also add that In to the kodi add-on settings.

Nice, I may give this a try.  Thanks for the info!
Title: Re: Kodi Remote Control
Post by: cw-kid on April 19, 2015, 06:36:06 pm
You should uninstall the xbmcstate add-on in Gotham, the one called "Micasaverde XBMC Event" this is in the services area of the enabled add-ons in Kodi.

Then for Gotham install the Kodi add-on zip file (micasaverde.addon.zip) from the first post on this thread. (I think).

You don't need to uninstall xbmcstate from the Vera unit right away though, you can do this once you have changed all your kodi PCs to use KodiRemote.

In Vera add your new KodiRemote Devices for each Kodi PC . Make a note of the KodiRemote device ID in Vera and add this device ID in to the settings of the new add-on called "Micasaverde Kodi Event" in Kodi etc.

If you also have the day / night plug-in installed in Vera make a note of its ID number and also add that In to the kodi add-on settings.

Nice, I may give this a try.  Thanks for the info!

Full setup instructions here (http://windowsmediacenter.blogspot.co.uk/2015/04/kodiremote-for-micasaverde-vera-home.html)
Title: Re: Kodi Remote Control
Post by: cw-kid on April 20, 2015, 12:12:28 pm
Part two of the setup guide here (http://windowsmediacenter.blogspot.co.uk/2015/04/kodiremote-for-micasaverde-vera-home_20.html), looks at Vera scenes / the triggers / Luup code and using a Virtual Switch so you can turn on and off the integration between Kodi and Vera when you don't want to use it.

Hope this helps new Vera / KodiRemote users wanting to setup it up!  ;)


Title: Re: Kodi Remote Control
Post by: jjwalker on April 22, 2015, 12:35:18 am
I just installed this plugin and unfortunately, the media controls do not work.  I uninstalled XBMC State on XBMC Gotham and installed the zip file from this thread (actually the script zip file as the regular zip file didn't work because of the structure error).  Entered device ids of Kodi and Day or Night.  On Vera end  I installed the plugin and the akb-json.lua in the lua folder.  Reloaded Vera and restarted XBMC.  The Kodi plugin shows the player state with no issues.  Not sure why the media buttons don't work.

Title: Re: Kodi Remote Control
Post by: nullx8 on April 22, 2015, 12:37:11 am
Not sure why the media buttons don't work.

make sure the port is correct
if you access the web interface of xbmc via another port .. make sure to set it to this one.
Title: Re: Kodi Remote Control
Post by: jjwalker on April 22, 2015, 11:13:45 pm
Not sure why the media buttons don't work.

make sure the port is correct
if you access the web interface of xbmc via another port .. make sure to set it to this one.

Duh!  I didn't even think of that.  That's exactly my issue.  Thanks
Title: Re: Kodi Remote Control
Post by: Freddan101 on April 26, 2015, 04:17:32 am
Is it possible to determain if you play a TV episode or a movie?
Title: Re: Kodi Remote Control
Post by: cw-kid on April 29, 2015, 09:31:18 am
Is it possible to determain if you play a TV episode or a movie?

No not currently.

But upon entering the Videos area of Kodi e.g. the Movies or TV Shows library you can have KodiRemote detect this, using the Kodi State Change trigger of "Menu Video"

See the comments at the end of this article (http://windowsmediacenter.blogspot.co.uk/2015/04/kodiremote-for-micasaverde-vera-home_20.html), we have just been discussing this today.
Title: Re: Kodi Remote Control
Post by: cw-kid on April 29, 2015, 09:38:26 am
Not sure why the media buttons don't work.

make sure the port is correct
if you access the web interface of xbmc via another port .. make sure to set it to this one.

Duh!  I didn't even think of that.  That's exactly my issue.  Thanks

What is the default port number in Kodi for the Webserver 80? I always change it to 8080 on my HTPCs, it still works OK with the buttons on the KodiRemote device instances.

If I look in the advanced tab in Vera I can see the port number field is still set to 80.

Seems to work regardless as long as you have the Kodi Webserver enabled in the Kodi Settings - Services - Webserver - Allow control of Kodi via HTTP.

EDIT: I just changed it to 8080 in Vera on the KodiRemote device and saved and reloaded Vera. Buttons still work OK LOL.
Title: Re: Kodi Remote Control
Post by: richgodfrey on April 29, 2015, 12:11:07 pm
Is there any way in the Vera Plugin to allow Custom Menu events to be used as triggers in scenes?

I have set a custom menu event for when I access the EPG.  I can see in the Vera plugin that it is working,  but I am not able to trigger anything from it.
Title: Re: Kodi Remote Control
Post by: cw-kid on April 29, 2015, 12:56:23 pm
Is there any way in the Vera Plugin to allow Custom Menu events to be used as triggers in scenes?

I have set a custom menu event for when I access the EPG.  I can see in the Vera plugin that it is working,  but I am not able to trigger anything from it.

+1

Think we need this!

And you are limited to only two custom events currently?

Thanks
Title: Re: Kodi Remote Control
Post by: cw-kid on April 29, 2015, 01:03:56 pm
And could more default Menu state items be added? For the Live TV areas of Kodi?

These are the ones we have currently

Kodi Open
Menu Home
Menu Program
Menu Picture
Menu Setting
Menu Video
Menu Music
Menu Weather
Kodi Close

Trying to work out a way not to have the lights dimmed or brightened when watching liveTV but only for movies.
Title: Re: Kodi Remote Control
Post by: cw-kid on April 29, 2015, 01:23:00 pm
@richgodfrey

Ok I can also confirm that the custom events in the Kodi add-on work and when I enter the EPG (Window ID 10617) the KodiRemote device in Vera changes to event_1

However looking in the scene triggers in Vera there appears to be no way to select event_1 as a trigger.
Title: Re: Kodi Remote Control
Post by: Freddan101 on April 29, 2015, 01:29:27 pm

Is it possible to determain if you play a TV episode or a movie?

No not currently.

But upon entering the Videos area of Kodi e.g. the Movies or TV Shows library you can have KodiRemote detect this, using the Kodi State Change trigger of "Menu Video"

See the comments at the end of this article (http://windowsmediacenter.blogspot.co.uk/2015/04/kodiremote-for-micasaverde-vera-home_20.html), we have just been discussing this today.
Thanks for the suggestion. I will check that article.
Title: Re: Kodi Remote Control
Post by: richgodfrey on April 29, 2015, 02:13:31 pm
And could more default Menu state items be added? For the Live TV areas of Kodi?

These are the ones we have currently

Kodi Open
Menu Home
Menu Program
Menu Picture
Menu Setting
Menu Video
Menu Music
Menu Weather
Kodi Close

Trying to work out a way not to have the lights dimmed or brightened when watching liveTV but only for movies.

There's no reason why not,  as all the different views eg recorded tv, epg, guide etc are defined by Window IDs.  That would give you way more control.

Also,  if would be useful to allow more custom entries than the current 2 if possible.
Title: Re: Kodi Remote Control
Post by: cw-kid on April 29, 2015, 02:35:39 pm
Yes you are correct and using your idea of turning off a virtual switch when entering the Live TV areas of Kodi, so that the auto dimming / brightening of the lights doesn't happen.

I see two ways this could be done, both would need the Vera plug-in updating!

1. Add triggers for custom events, as we discussed, this should be done regardless really.

2. Add more "Menu" status items to cover the Live TV areas of the Kodi GUI. E.g.

"Menu EPG"
"Menu TV Channels"
"Menu Radio Channels"
"Menu Recordings"
"Menu Timer"

Number 2 would be my preferred option as that would leave the custom events unused and they could then be used for something else.

And then using the existing "Menu Video" trigger to turn back on the virtual switch, when we enter the movies or TV shows areas of the Kodi GUI, would then allow the auto dimming / brightening of the lights to happen.

All of this would be based on the video playback status as well obviously, Start or resume videos dims the lights and pause or stop brightens the lights.

We'd use Luup code or pleg in our scenes to query the status of the virtual switch, off then nothing happens, on then the lights are then "Linked" with Kodi and are controlled as per the Kodi playback status etc.

And could more default Menu state items be added? For the Live TV areas of Kodi?

These are the ones we have currently

Kodi Open
Menu Home
Menu Program
Menu Picture
Menu Setting
Menu Video
Menu Music
Menu Weather
Kodi Close

Trying to work out a way not to have the lights dimmed or brightened when watching liveTV but only for movies.

There's no reason why not,  as all the different views eg recorded tv, epg, guide etc are defined by Window IDs.  That would give you way more control.

Also,  if would be useful to allow more custom entries than the current 2 if possible.
Title: Re: Kodi Remote Control
Post by: cw-kid on April 29, 2015, 02:55:00 pm
Regarding the existing "Menu Video" could this be split down further? For even more granular control.

The Kodi window ID's can be seen here (http://kodi.wiki/view/Window_IDs).

Ideally I like to have:

"Menu Movies"
"Menu TV Shows"

So it can determine if we are in the Movies or TV Shows area of the Kodi GUI.

Not sure if that is possible? But the more menu status items we have the better!
Title: Re: Kodi Remote Control
Post by: cw-kid on April 29, 2015, 03:07:05 pm
From the Kodi wiki

video   WINDOW_VIDEOS   10006   6   None
this is just a wrapper for the current My Video view (who's IDs are 21-25)

pvrsettings   WINDOW_SETTINGS_MYPVR   10021   21   
SettingsCategory.xml

videolibrary   WINDOW_VIDEO_NAV   10025   25   

MyVideoNav.xml - Replaces the following .XML files:
MyVideoGenre (WINDOW_VIDEO_GENRE),
MyVideoActors (WINDOW_VIDEO_ACTOR),
MyVideoYear (WINDOW_VIDEO_YEAR),
MyVideoTitle (WINDOW_VIDEO_TITLE)

So looks to me you can't determine between just the Movies or TV Shows areas of Kodi.

But looks more promising for the Live TV areas, the ones where I've added a * are the ones I think we'd need adding:

pvrguideinfo   WINDOW_DIALOG_PVR_GUIDE_INFO   10602   602
pvrrecordinginfo   WINDOW_DIALOG_PVR_RECORDING_INFO   10603   603
pvrtimersetting   WINDOW_DIALOG_PVR_TIMER_SETTING   10604   604
pvrgroupmanager   WINDOW_DIALOG_PVR_GROUP_MANAGER   10605   605
pvrchannelmanager   WINDOW_DIALOG_PVR_CHANNEL_MANAGER   10606   606
pvrguidesearch   WINDOW_DIALOG_PVR_GUIDE_SEARCH   10607   607
pvrosdchannels   WINDOW_DIALOG_PVR_OSD_CHANNELS   10610   610
pvrosdguide   WINDOW_DIALOG_PVR_OSD_GUIDE   10611   611
*tvchannels   WINDOW_TV_CHANNELS   10615   615
*tvrecordings   WINDOW_TV_RECORDINGS   10616   616
*tvguide   WINDOW_TV_GUIDE   10617   617
*tvtimers   WINDOW_TV_TIMERS   10618   618
*tvsearch   WINDOW_TV_SEARCH   10619   619
*radiochannels   WINDOW_RADIO_CHANNELS   10620   620
radiorecordings   WINDOW_RADIO_RECORDINGS   10621   621
radioguide   WINDOW_RADIO_GUIDE   10622   622
radiotimers   WINDOW_RADIO_TIMERS   10623   623
radiosearch   WINDOW_RADIO_SEARCH   10624   624   
Title: Re: Kodi Remote Control
Post by: jjwalker on May 03, 2015, 10:39:10 pm
Not sure why the media buttons don't work.

make sure the port is correct
if you access the web interface of xbmc via another port .. make sure to set it to this one.

Duh!  I didn't even think of that.  That's exactly my issue.  Thanks

I finally got around to trying this again.  Just put together a new HTPC/Game machine and still can't get the media controls to work.  I've entered in the port number and KodiRemote sees the status of my player and when it's open or close.  Only odd thing is that it keeps showing the computer as being down.  Not sure what other settings I'd have to change as I use Yatse and it's working fine with Kodi. 



Title: Re: Kodi Remote Control
Post by: cw-kid on May 04, 2015, 05:29:08 am
Not sure why the media buttons don't work.

make sure the port is correct
if you access the web interface of xbmc via another port .. make sure to set it to this one.

Duh!  I didn't even think of that.  That's exactly my issue.  Thanks

I finally got around to trying this again.  Just put together a new HTPC/Game machine and still can't get the media controls to work.  I've entered in the port number and KodiRemote sees the status of my player and when it's open or close.  Only odd thing is that it keeps showing the computer as being down.  Not sure what other settings I'd have to change as I use Yatse and it's working fine with Kodi.

Sounds like your running Kodi on a Windows OS ?

I also have Kodi installed on my Windows 7 laptop. I just looked at the Windows firewall rules / allowed programs and Kodi was listed under Private network and ticked. If I un-tick this entry and apply and then try the buttons on the KodiRemote device instance in Vera, then the buttons no longer work!

If I then re-enable the firewall rule and close and re-open Kodi, then the buttons start working again.

Check your Windows firewall settings or that of any other software firewall you may have installed. As a test disable the firewall and then see if they work?

If that's not the issue, try changing the Kodi webserver default port number from 80 to 8080.
Title: Re: Kodi Remote Control
Post by: jjwalker on May 04, 2015, 02:05:14 pm
Ok thanks for the tips.  I got it working on port 8080.  I THINK for the controls to work, you have to have Kodi webserver port on 8080 as it's hardcoded into the xml file.  What's still puzzling me is that the computer is still showing down.  Also, is it abnormal that I don't have the xbmc icon in my device? 

Title: Re: Kodi Remote Control
Post by: jjwalker on May 04, 2015, 02:09:55 pm
Actually, page 1 in this thread addressed that issue of 8080 being hardcoded into the file.  I thought maybe it got changed since someone brought it up.  I replaced all instances of 8080 in the implementation file to my port and it all works, without having to change the firewall rules. 

Title: Re: Kodi Remote Control
Post by: cw-kid on May 04, 2015, 03:11:16 pm
I'm not sure, all my Kodi PCs were set to use port 8080 for the webserver anyways and when I installed KodiRemote the transport controls / navigational buttons worked out of the box. Also all my Kodi PCs state UP if they are powered on.

And on the advanced tab of the KodiRemote device in Vera it didn't seem to matter if the port field said 80 or 8080 it worked either way. So maybe that port field doesn't actually work as suggested by a comment on the first page of this thread.
I didn't need to edit any xml files, presumably as I was already using port 8080.

And also all my KodiRemote device instances in the Vera web UI5 have the XBMC icon. Do yours not?

Glad you got it working
Title: Re: Kodi Remote Control
Post by: jjwalker on May 05, 2015, 07:20:24 pm
Yeah mine doesn't have the icon.  Now to come to think about it, not sure if XBMCState plugin ever had an icon.  I'm running into another issue now where the status of the player will clear as a video is playing, making it impossible for pleg to react to player status.  I still have XBMCState installed so I'm not sure if that's interfering with it.  I uninstalled Kodi Remote to see if XBMCState is exhibiting the same thing and it is.  I'm gonna uninstall everything tonight and start from scratch. 
Title: Re: Kodi Remote Control
Post by: jjwalker on May 05, 2015, 11:17:10 pm
Ok I fixed the "Computer: down" problem I was having.  I tried to ping the kodi/htpc box and there was no response.  So I googled this and found out that I had to turn on ICMP Echo request in Windows 7 firewall.  Computer is now showing up.  Yay!  I think this solves the issue I had with "Player:" and "Kodi:" clearing it's status after a certain amount of time - even if a video is playing. 

Title: Re: Kodi Remote Control
Post by: glavewu on June 12, 2015, 11:38:57 pm
I'm using UI7 and everything works just fine, status update from Kodi is instant and controls from Vera are working. I have a series of scenes that triggered by Kodi status, like Video_start will dim light and Video_pause will light philips hue strips etc. All those player status triggered scenes work fine, but the Kodi status like Kodi_open, Kodi_close is just not working, they can't trigger any scenes. I find the addon from Kodi returns Xbmc_open instead of Kodi_open, so I modified the code and now it returns Kodi_open, but still it is not working... Actually I can modify the Kodi addon not to just change value but directly call the scene I want. But still I want to learn how all those things work, how to set up a variable to trigger Vera scenes. Any ideas of fixing it? Thanks
Title: Re: Kodi Remote Control
Post by: glavewu on June 19, 2015, 04:43:28 pm
No one had this issue I mentioned before?
Title: Re: Kodi Remote Control
Post by: LightsOn on June 24, 2015, 06:19:54 am
Hi All,

Thanks for all the hard work here.  I just wanted to add my experience for other also.  Any old all for XBMC State must indeed be un-istalled before the kodi add in can be installed and configured.  By default you do indeed need to use 8080 with no user name or password in web server in kodi.  you can get round this is you like buy downloading I_KODIRemote file - editing it to replace 8080 with the port you want - find and replace all in notpad++ works.  You can also add a password by changeling "http://" .. ipAddress .. " to "http://<User_Name>:<Password>@" .. ipAddress .. "

save the file and upload it again - it will replace the original (so make a back up) - do the vera dance (f5 etc.) and all will work under the new desired port and also with a password and suer name if desired.

I also had no need for ther day and night function since i handle this with PLEG - as such the items i want reported I just select YES to and then leave the field for the day night plugin blank.  I have not installed the day night plugin and all works fine for me.  Logic can al be handled in PLEG.  This will reduce load on Vera.

Hope this is helpfully to someone and thanks to all for the info and work on this app.
Title: Re: Kodi Remote Control
Post by: aalmans on June 26, 2015, 03:15:22 pm
Has anyone been able to fix the annoying "Can't Detect Device" issue in UI7?

Everything else works ok. It's just this stupid error that annoys the hell out of me! :)
Title: Re: Kodi Remote Control
Post by: glavewu on June 26, 2015, 05:30:17 pm
The can't detect device error message should stop showing after you change kodi port to 8080 and remove user name and password. I did that to get rid of the error message. But still the kodi_open and kodi_close can't trigger scenes for me.
Title: Re: Kodi Remote Control
Post by: LightsOn on June 28, 2015, 05:06:01 am
Does any one know how to have kodi report status at intervals as if say kodi remote reports audio playing after a period of time you get "--" as status even though content is still playing? If we could set an inteeval updater or something to report every x amount of time what the player state is that wold be ace.
Title: Re: Kodi Remote Control
Post by: aalmans on June 28, 2015, 06:02:48 pm
The can't detect device error message should stop showing after you change kodi port to 8080 and remove user name and password. I did that to get rid of the error message. But still the kodi_open and kodi_close can't trigger scenes for me.

Thanks! You mean remove username and password in Kodi in the section: system - services - webserver? I have the port number at 8080 and removed the default username: kodi. I had no password. Rebooted both Kodi and vera but am still getting the can't detect device message?
Title: Re: Kodi Remote Control
Post by: glavewu on June 29, 2015, 12:36:34 pm
The can't detect device error message should stop showing after you change kodi port to 8080 and remove user name and password. I did that to get rid of the error message. But still the kodi_open and kodi_close can't trigger scenes for me.

Thanks! You mean remove username and password in Kodi in the section: system - services - webserver? I have the port number at 8080 and removed the default username: kodi. I had no password. Rebooted both Kodi and vera but am still getting the can't detect device message?

That's what I did... system - services - webserver and removed the default username no password. And the error message just disappeared after relaunch both sides. Make sure you used the latest plugin files from this thread early pages. If still not working, I gonna have no idea...
Title: Re: Kodi Remote Control
Post by: Andr on July 13, 2015, 05:24:55 pm
I finally succeed to set this up on my Vera Edge (Ui7) and my OpenElec htpc
But after a while the add-on stops, usually after 1+ hour, so when the movie ends Vera doesn't get any status updated from my htpc.
A quick message drops by that said the add-on stopped.
I have enabled debug logging in the add-on, should i post the "01_KODI.log" here?

If I disable/enable the add-on it works a little while again.

EDIT.
BTW, I use the "script.service.micasaverde" from this post http://forum.micasaverde.com/index.php/topic,28490.msg210054.html#msg210054 (http://forum.micasaverde.com/index.php/topic,28490.msg210054.html#msg210054) as recommended in cw-kid's tutorial.
Is there any difference from the add-on link in the first post?
Title: Re: Kodi Remote Control
Post by: LightsOn on July 14, 2015, 04:22:17 am
Does any one know how to have kodi report status at intervals as if say kodi remote reports audio playing after a period of time you get "--" as status even though content is still playing? If we could set an inteeval updater or something to report every x amount of time what the player state is that wold be ace.

Hi @ Andr,

I have found similar finding and have set up a PLEG solution to pause and play each time "--" is identified - this has helped this issue somewhat but is messy and of course does not always work.  The app ideally needs some sort of interval updater i belie to stop this issue occurring.  I have no idea how to implement this but i guess this would solve the issue.
Title: Re: Kodi Remote Control
Post by: seanwalter on July 27, 2015, 05:24:55 am
For people on UI7 getting the "Can't detect device" error...I was also having this problem and solved it pretty simply -- after following all instructions in this forum, but with no luck.

I finally decided I had nothing to lose (at 2am...) and noticed in Advanced Settings-->Variables there is a variable called "CommFailure". I manually changed this from 1 to 0, and now my Kodi Remote is detected.

I did do a couple of other things, but I doubt they are necessary. You can try them if the simple change above doesn't solve your problem:

0. Follow all other instructions in the forum to install the plugin correctly and install the addon correctly in Kodi

1. Upgrade Kodi to 15.0 Isengaard (I was on the 14.2 Helix before)

2. In Advanced-->Params I filled in the following:
- Added the MAC address for my Kodi box
- Added "Team Kodi" as the manufacturer
- Added "Isengaard" as the model

I am 99% sure all I really had to do was follow the instructions already in the forum and then change the CommFailure variable, but I'll never know unless someone else in the forum tries to do that and reports back before doing all these other things.

Or maybe sometime this week I'll set up another instance for the other Kodi box in the house, and report back myself.

ps - many thanks to cw-kid for elaborating the instructions, and for that blog post, which got me thinking more about the effects of the Params and Variables

pps - many many thanks to Ron for an awesome plugin

ppps - on UI7 there is an unlabeled and mostly invisible Mute button...any chance someone can make it more obvious and/or add real volume controls? I am still very much a noob -- just opened my first Vera (Edge) this morning.
Title: Re: Kodi Remote Control
Post by: cw-kid on July 30, 2015, 11:19:52 am
Hi guys

I have recently upgraded my Windows 7 test PC to Kodi v15.0 Isengard. I have not changed any settings on the Vera UI5 box or in the KodiRemote Kodi add-on.

A quick test and it appears the KodiRemote device instance in Vera that was pointing to this Windows 7 test PC, is still working fine. It says if the the Computer is UP/DOWN. Says Video_Start and the name of the movie, Video_Pause / Video_Stop also being reported fine.

So it seems the upgrade to Isengard over the top of Helix hasn't affected the KodiRemote from working etc.

Just thought I'd report on things..

Cheers
Title: Re: Kodi Remote Control
Post by: cw-kid on July 30, 2015, 11:23:12 am
Actually one other thing, on the KodiRemote device instances in Vera, I still have an XBMC icon. Anyone else?

I saw a screen shot earlier in this thread showing a Kodi icon instead, maybe his was a clean install of KodiRemote with no previous XBMCState?

Title: Re: Kodi Remote Control
Post by: cw-kid on August 30, 2015, 10:05:56 am
I've just noticed a big problem with KodiRemote and a particular video add-on for Kodi.

The Apple iTunes Trailers video add-on here (http://kodi.wiki/view/Add-on:Apple_iTunes_Trailers)

Whenever I start playback of a movie trailer Vera crashes and restarts. I see this in the log right before the crash:

Code: [Select]
06 08/30/15 14:52:55.720 Device_Variable::m_szValue_set device: 113 service: urn:upnp-org:serviceId:KODIRemote1 variable: IdleTime was: -- now: (null) #hooks: 0 upnp: 0 v:0xf09828/NONE duplicate:0 <0x2f440680>

2015-08-30 14:52:55 - LuaUPnP Terminated with Exit Code: 245


2015-08-30 14:52:55 - LuaUPnP crash

I then tried other Kodi video add-ons for online video content such as YouTube / BBC iPlayer  / ITV player / Vevo music and starting playback with any of these add-ons does NOT cause Vera to crash.

Only with the Apple iTunes Trailers add-on does it happen and it happens every time I start to play a trailer with this Kodi add-on.  :(

I have a VeraLite UI5.

Can anyone else replicate this??

Title: Re: Kodi Remote Control
Post by: cw-kid on August 30, 2015, 10:13:08 am
Here is more from another instance of it crashing from the Vera log

Code: [Select]
04 08/30/15 14:49:07.517 <0x2b036000>
06 08/30/15 14:49:07.641 Device_Variable::m_szValue_set device: 113 service: urn:upnp-org:serviceId:KODIRemote1 variable: PlayerStatus was: Video_stop now: Video_start #hooks: 10 upnp: 0 v:0xb228a8/NONE duplicate:0 <0x2f9aa680>
07 08/30/15 14:49:07.641 Event::Evaluate 4 KODI - Video Paused scene KODI - Lounge On is false repeat 0/-1 <0x2f9aa680>
07 08/30/15 14:49:07.642 Event::Evaluate 5 KODI - Music Stopped scene KODI - Lounge On is false repeat 0/-1 <0x2f9aa680>
07 08/30/15 14:49:07.642 Event::Evaluate 6 KODI - Music Paused scene KODI - Lounge On is false repeat 0/-1 <0x2f9aa680>
07 08/30/15 14:49:07.642 Event::Evaluate 7 KODI - Video Ended scene KODI - Lounge On is false repeat 0/-1 <0x2f9aa680>
07 08/30/15 14:49:07.642 Event::Evaluate 8 KODI - Video Stopped scene KODI - Lounge On is false repeat 0/-1 <0x2f9aa680>
07 08/30/15 14:49:07.643 Event::Evaluate 9 KODI - Video Resumed scene KODI - Lounge Dim 25% is false repeat 0/-1 <0x2f9aa680>
07 08/30/15 14:49:07.643 Event::Evaluate 10 KODI - Video Starting scene KODI - Lounge Dim 25% lua returned false repeat 0/-1 <0x2f9aa680>
07 08/30/15 14:49:07.643 Event::Evaluate 11 KODI - Music Starting scene KODI - Lounge Dim 25% is false repeat 0/-1 <0x2f9aa680>
07 08/30/15 14:49:07.644 Event::Evaluate 12 KODI - Music Resuming scene KODI - Lounge Dim 25% is false repeat 0/-1 <0x2f9aa680>
07 08/30/15 14:49:07.644 Event::Evaluate 24 KODI - Video Starting scene KODI - Close Curtains lua returned false repeat 0/-1 <0x2f9aa680>
06 08/30/15 14:49:07.646 Device_Variable::m_szValue_set device: 113 service: urn:upnp-org:serviceId:KODIRemote1 variable: IdleTime was: -- now: (null) #hooks: 0 upnp: 0 v:0xb22828/NONE duplicate:0 <0x2f9aa680>

2015-08-30 14:49:07 - LuaUPnP Terminated with Exit Code: 245

2015-08-30 14:49:07 - LuaUPnP crash

I am also using the Vera multi switch plug-in and my scenes for the KodiRemote first check to see if this "Virtual Switch" is turned on or not, for the KodiRemote to be "Linked" or "Not Linked"

Using LUUP code like this in my KodiRemote scenes:

Code: [Select]
Link_KODI_to_devices = luup.variable_get("urn:dcineco-com:serviceId:MSwitch1","Status3",128)
if(Link_KODI_to_devices=="1")then
luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1","RunScene",{SceneNum="1"},0)
end
Title: Re: Kodi Remote Control
Post by: cw-kid on August 30, 2015, 10:17:23 am
If I turn on the Multi switch to link Kodi to the scenes then it still crashes Vera when I start to playback a trailer with the Apple iTunes Trailers video add-on for Kodi.

I am using Kodi Helix version 14.2 on OpenElec, the Apple iTunes Trailers add-on is version 0.2.2
Title: Re: Kodi Remote Control
Post by: cp1983 on September 01, 2015, 09:32:58 am
For people on UI7 getting the "Can't detect device" error...I was also having this problem and solved it pretty simply -- after following all instructions in this forum, but with no luck.

I finally decided I had nothing to lose (at 2am...) and noticed in Advanced Settings-->Variables there is a variable called "CommFailure". I manually changed this from 1 to 0, and now my Kodi Remote is detected.

I did do a couple of other things, but I doubt they are necessary. You can try them if the simple change above doesn't solve your problem:

0. Follow all other instructions in the forum to install the plugin correctly and install the addon correctly in Kodi

1. Upgrade Kodi to 15.0 Isengaard (I was on the 14.2 Helix before)

2. In Advanced-->Params I filled in the following:
- Added the MAC address for my Kodi box
- Added "Team Kodi" as the manufacturer
- Added "Isengaard" as the model

I am 99% sure all I really had to do was follow the instructions already in the forum and then change the CommFailure variable, but I'll never know unless someone else in the forum tries to do that and reports back before doing all these other things.

Or maybe sometime this week I'll set up another instance for the other Kodi box in the house, and report back myself.

ps - many thanks to cw-kid for elaborating the instructions, and for that blog post, which got me thinking more about the effects of the Params and Variables

pps - many many thanks to Ron for an awesome plugin

ppps - on UI7 there is an unlabeled and mostly invisible Mute button...any chance someone can make it more obvious and/or add real volume controls? I am still very much a noob -- just opened my first Vera (Edge) this morning.

I was also finally able to get rid of the "Can't detect device" from KODIRemote on UI7. I only changed the CommFailure variable for 0 to 1. No need to change the other parameters.
Title: Re: Kodi Remote Control
Post by: cw-kid on September 01, 2015, 10:06:45 am
This thing with the Apple iTunes Trailers add-on for Kodi and starting to play a trailer making Vera crash.

It seems that the KodiRemote is detecting the video trailer playback back as Audio_Start and not Video_Start. Or after the Vera crash its just showing Audio_Start and it then also lists what ever the last played music audio track was which is strange.

However when I stop the trailer playback, KodiRemote does then correctly say Video_Stop which is also weird.

Anyone else also using the Apple iTunes Trailers add-on and KodiRemote / Vera can confirm this crashing issue?

Thanks.
Title: Re: Kodi Remote Control
Post by: cw-kid on September 01, 2015, 10:22:20 am
Here is a Kodi debug log file whilst starting a video trailer playback using the iTunes Trailers add-on.

The name of the trailer / movie was "No Escape" can be seen in the log as noescape

There is an exception thrown relating to the Micasaverde / KodiRemote add-on.

Code: [Select]
15:18:32 T:140091875903232   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'httplib.BadStatusLine'>
                                            Error Contents: ''
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/script.service.micasaverde/default.py", line 79, in onPlayBackStarted
                                                urllib2.urlopen('http://%s:3480/data_request?id=variableset&DeviceNum=%s&serviceId=urn:upnp-org:serviceId:KODIRemote1&Variable=IdleTime&Value=%s' % (ip, dev, currentvideo))
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 126, in urlopen
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 400, in open
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 418, in _open
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 1207, in http_open
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 1180, in do_open
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 1030, in getresponse
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 407, in begin
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 371, in _read_status
                                            BadStatusLine: ''
                                            -->End of Python script error report<--

Here is the full log file: (Available for 1 month from today - 01/09/15)

http://xbmclogs.com/pflkxplji

The exception refers to line #79 in the default.py file which is this code:

Code: [Select]
urllib2.urlopen('http://%s:3480/data_request?id=variableset&DeviceNum=%s&serviceId=urn:upnp-org:serviceId:KODIRemote1&Variable=IdleTime&Value=%s' % (ip, dev, currentvideo))
If in Kodi I disable the Micasaverde Kodi Event add-on and reboot the HTPC. If I then play the same trailer again in the iTunes Trailers add-on, Vera now does not crash and when I look in the Kodi debug log file again, there is no exception this time.

So certainly some conflict between the Micasaverde Kodi Event add-on and playing trailers in the Apple iTunes Trailers add-on for Kodi.

Do any of the DEVs know how to fix this?

Thank you.
Title: Re: Kodi Remote Control
Post by: cw-kid on September 01, 2015, 12:55:18 pm
The HD Trailers add-on (http://kodi.wiki/view/Add-on:HD-Trailers.net) also made by the same XBMC/Kodi developer, also makes Vera crash when running KodiRemote.

As a work around I am currently looking for a new / different Kodi movie trailers add-on with CP integration, that doesn't use Apple.com for its trailers source.

EDIT: It seems there are not any decent movie trailers add-on for Kodi that are working, just tried some from the repo but they were broken.
Apple iTunes Trailers add-on is the best out there, so could really do with this issue with KodiRemote fixing if anyone with the skills can??
Title: Re: Kodi Remote Control
Post by: alansmithee on September 08, 2015, 08:24:20 am
I'm using UI7 and everything works just fine, status update from Kodi is instant and controls from Vera are working. I have a series of scenes that triggered by Kodi status, like Video_start will dim light and Video_pause will light philips hue strips etc. All those player status triggered scenes work fine, but the Kodi status like Kodi_open, Kodi_close is just not working, they can't trigger any scenes. I find the addon from Kodi returns Xbmc_open instead of Kodi_open, so I modified the code and now it returns Kodi_open, but still it is not working... Actually I can modify the Kodi addon not to just change value but directly call the scene I want. But still I want to learn how all those things work, how to set up a variable to trigger Vera scenes. Any ideas of fixing it? Thanks

I'm having the same issue. I want my vera to WOL my pc when XBMC is opened but the scenes that are trigger by 'Kodi State Changes' never get triggered. Did anyone ever found a sollution?
Title: Re: Kodi Remote Control
Post by: jjwalker on October 04, 2015, 12:19:57 pm
Anybody having issue with the STOP command?  It works in the UI gui, but if you have it in the automation (advance) section, nothing happens.  I was trying to setup something for vacation where Kodi will play/stop a certain movie. 

 
Title: Re: Kodi Remote Control
Post by: alpha1 on October 06, 2015, 05:17:59 pm
Is anyone able to shed some light on my issue

New to VeraEdge (UI7) but having 4 RaspberyPi2's scattered around the house, i would like to run scenes on the report of Kodi status.

I can get Kodi to report on the TV show i am watching, but the controls are not working

i installed the script.service.micasaverde.zip a few posts down on the first page.

Any ideas where i am going wrong?
I have attached screenshots of everything i have configured

thanks
n
Title: Re: Kodi Remote Control
Post by: alpha1 on October 07, 2015, 05:05:54 pm
Anyone any ideas?

Thanks
N
Title: Re: Kodi Remote Control
Post by: alpha1 on October 07, 2015, 05:27:52 pm
So i cant get it to report whats playing but i cant seem to get the controls to work

Running 15.1 on Openelec
I get the following error
ERROR: Invalid Service
Title: Re: Kodi Remote Control
Post by: alpha1 on October 07, 2015, 05:46:10 pm
GOT IT

Thanks LightsOn

Hi All,

Thanks for all the hard work here.  I just wanted to add my experience for other also.  Any old all for XBMC State must indeed be un-istalled before the kodi add in can be installed and configured.  By default you do indeed need to use 8080 with no user name or password in web server in kodi.  you can get round this is you like buy downloading I_KODIRemote file - editing it to replace 8080 with the port you want - find and replace all in notpad++ works.  You can also add a password by changeling "http://" .. ipAddress .. " to "http://<User_Name>:<Password>@" .. ipAddress .. "

save the file and upload it again - it will replace the original (so make a back up) - do the vera dance (f5 etc.) and all will work under the new desired port and also with a password and suer name if desired.

I also had no need for ther day and night function since i handle this with PLEG - as such the items i want reported I just select YES to and then leave the field for the day night plugin blank.  I have not installed the day night plugin and all works fine for me.  Logic can al be handled in PLEG.  This will reduce load on Vera.

Hope this is helpfully to someone and thanks to all for the info and work on this app.
Title: Re: Kodi Remote Control
Post by: cw-kid on October 10, 2015, 07:09:42 pm
I just noticed the Kodi video add-on for Disclose.tv is also causing Vera luup to restart when I start playback of a video stream, just like it was with the iTunes Trailers add-on.

Has no one else noticed this problem with Kodi video add-ons for online videos and Vera restarting???
Title: Re: Kodi Remote Control
Post by: LightsOn on October 15, 2015, 06:49:29 am
Hi all,

I have now moved away from kodi remote. In theory it was great but as others have found small issues made it a pain. For me the main issues were vera restarts and also uodates somtimes timing out and status being lost in vera. For me I just needed player status and have since installed the kodi plugin callbacks2. You can send http request on all player states.  For me I sent status updates in text to a single multiswitch status value. Such a Resume or Pause. I tjen kust use pleg to deal with the logic. This has worked flawlessly for my needs.  Hope this helps some one else too.
Title: Re: Kodi Remote Control
Post by: alpha1 on October 15, 2015, 07:24:57 am
Hi all,

I have now moved away from kodi remote. In theory it was great but as others have found small issues made it a pain. For me the main issues were vera restarts and also uodates somtimes timing out and status being lost in vera. For me I just needed player status and have since installed the kodi plugin callbacks2. You can send http request on all player states.  For me I sent status updates in text to a single multiswitch status value. Such a Resume or Pause. I tjen kust use pleg to deal with the logic. This has worked flawlessly for my needs.  Hope this helps some one else too.

Nice idea.
Do you have this working in Isengard?
https://github.com/KenV99/service.xbmc.callbacks2
Thanks
N
Title: Re: Kodi Remote Control
Post by: LightsOn on October 15, 2015, 07:30:28 am
Hmmm embarrassing that I dont know the exact kodi im running? Fairly certain its the latest version. I belive it works across most recent kodi releases.  This soloution realy is working well for me. I tested with http sends then mived to running a script. Tje scripts I compile with autoit and the send the http request twice with a short 2 second gap and then do other things I want to happen also. Allows for a simple soloution that works every time and that can be extendable to wider uses. The plug in also allows for ctions on other events also but I have no needbfor these yet. Definatly worth a look. Ot also means you can remove tje plug in vera side this reducing the lpad on vera. Win win.
Title: Re: Kodi Remote Control
Post by: LightsOn on October 15, 2015, 07:33:24 am
Sory on mobile so bad grammer etc. Last bit is "reducing load" not ipdad lol.
Title: Re: Kodi Remote Control
Post by: alpha1 on October 19, 2015, 03:49:44 am
Sory on mobile so bad grammer etc. Last bit is "reducing load" not ipdad lol.

lol
Title: Re: Kodi Remote Control
Post by: alpha1 on October 19, 2015, 04:21:53 pm
Hmmm embarrassing that I dont know the exact kodi im running? Fairly certain its the latest version. I belive it works across most recent kodi releases.  This soloution realy is working well for me. I tested with http sends then mived to running a script. Tje scripts I compile with autoit and the send the http request twice with a short 2 second gap and then do other things I want to happen also. Allows for a simple soloution that works every time and that can be extendable to wider uses. The plug in also allows for ctions on other events also but I have no needbfor these yet. Definatly worth a look. Ot also means you can remove tje plug in vera side this reducing the lpad on vera. Win win.

Hi lights out.

What's the http string you are using to call your multi switch?
Kodi remote is failing to report its status correctly and want to follow you in using xbmc callback2

Thanks
N
Title: Re: Kodi Remote Control
Post by: cw-kid on October 20, 2015, 07:58:49 am
Hi LightsOn

I am just setting up a new VeraEdge to replace my VeraLite and am debating if to put KodiRemote back on or not. So is the Callbacks2 Kodi add-on simple to get up and running? It enables you to run a script upon player state. Where are the scripts stored on the local Kodi HTPC or on the File Server / NAS? And the script I presume just contains a http request to send to Vera for it to do something.

More details and some examples would be helpful !

Cheers
Title: Re: Kodi Remote Control
Post by: LightsOn on October 20, 2015, 11:08:37 am
Hi Alpha1

I use the below - adapt as you need:

http://[ip]:49451/data_request?id=variableset&DeviceNum=[device_ID]&serviceId=urn:dcineco-com:serviceId:MSwitch1&Variable=Status[the_number_if_the_Switch_1>8]&Value=[desired_variable]

Hi cw-kid - you can either launch an http request by just, for example, adding the above string adapted for your needs.  or you can run a script, python with variables, or in my case a simple au3 script compiled to .exe.  the script as you state just has http requests in it as discussed above.  the scripts you can store where ever - as long as Kodi can map to it then it is usable.

Hope this helps?  I am really pleased I transitioned.
Title: Re: Kodi Remote Control
Post by: cw-kid on October 20, 2015, 04:48:43 pm
For people on UI7 getting the "Can't detect device" error...I was also having this problem and solved it pretty simply -- after following all instructions in this forum, but with no luck.

I finally decided I had nothing to lose (at 2am...) and noticed in Advanced Settings-->Variables there is a variable called "CommFailure". I manually changed this from 1 to 0, and now my Kodi Remote is detected.

I did do a couple of other things, but I doubt they are necessary. You can try them if the simple change above doesn't solve your problem:

0. Follow all other instructions in the forum to install the plugin correctly and install the addon correctly in Kodi

1. Upgrade Kodi to 15.0 Isengaard (I was on the 14.2 Helix before)

2. In Advanced-->Params I filled in the following:
- Added the MAC address for my Kodi box
- Added "Team Kodi" as the manufacturer
- Added "Isengaard" as the model

I am 99% sure all I really had to do was follow the instructions already in the forum and then change the CommFailure variable, but I'll never know unless someone else in the forum tries to do that and reports back before doing all these other things.

Or maybe sometime this week I'll set up another instance for the other Kodi box in the house, and report back myself.

ps - many thanks to cw-kid for elaborating the instructions, and for that blog post, which got me thinking more about the effects of the Params and Variables

pps - many many thanks to Ron for an awesome plugin

ppps - on UI7 there is an unlabeled and mostly invisible Mute button...any chance someone can make it more obvious and/or add real volume controls? I am still very much a noob -- just opened my first Vera (Edge) this morning.

I was also finally able to get rid of the "Can't detect device" from KODIRemote on UI7. I only changed the CommFailure variable for 0 to 1. No need to change the other parameters.

I just installed KodiRemote for the first time on Vera Edge UI7. I am trying to change the CommFailure variable from 1 to 0 however it never seems to keep the change and when I go back  in to the Variables tab again its changed back.

I have tried clicking in the field and pressing 0 on keyboard and then tab to come out of the field and it says "Change property command sent"

I've also tried ticking the box "switch to input type text" but that doesn't seem to work either.

How did you change the variable and make it stick?

Also when playing Trailers in the Kodi Apple iTunes Trailers add-on it doesn't appear to make Vera restart. As I reported it was earlier with my VeraLite UI5.

EDIT: OK maybe it was changing it but I couldn't see it was, as after refreshing the browser page it now says CommFailure is 0. And after then reloading Vera it now does NOT say "Can't Detect Device"  ;D
Title: Re: Kodi Remote Control
Post by: alpha1 on October 22, 2015, 06:00:36 am
Hi Alpha1

I use the below - adapt as you need:

http://[ip]:49451/data_request?id=variableset&DeviceNum=[device_ID]&serviceId=urn:dcineco-com:serviceId:MSwitch1&Variable=Status[the_number_if_the_Switch_1>8]&Value=[desired_variable]

Hi cw-kid - you can either launch an http request by just, for example, adding the above string adapted for your needs.  or you can run a script, python with variables, or in my case a simple au3 script compiled to .exe.  the script as you state just has http requests in it as discussed above.  the scripts you can store where ever - as long as Kodi can map to it then it is usable.

Hope this helps?  I am really pleased I transitioned.

LightsOn, as i said in my PM, thanks so much for your help and clear instructions!
Title: Re: Kodi Remote Control
Post by: cw-kid on December 10, 2015, 04:41:50 am
Some news for you guys.

Looks like there is a new Kodi add-on for Vera I just stumbled on it via a Google Search

http://www.smarthome.com.au/smarthome-blog/xbmc-vera-z-wave-addon/

Its called "XBMC Z-Wave Vera Addon"

It can run scenes upon play and pause. you can specify a time range for night mode and most interesting it also lets you create shortcuts to five other Vera scenes and has an on-screen popup menu to select them!

Screen shot:

http://www.smarthome.com.au/media/extendware/ewimageopt/media/template/54/b/xbmc-insteon-addon-24.jpg

I've not tried this add-on but it might be worth testing.

KodiRemote on the other hand is actually working pretty well for me at the moment on my new VeraEdge UI7 unit with OpenElec Kodi v15.2

 
Title: Re: Kodi Remote Control
Post by: alpha1 on December 10, 2015, 07:27:39 am
Wow, now that looks pretty slick.  going to give that a go tonight.

I like the Kodi remote which this topic runs for but i find it all a bit hit and miss if it works.  I like the on screen shortcuts from this new plugin!

Thanks for posting!
N
Title: Re: Kodi Remote Control
Post by: cw-kid on December 10, 2015, 07:30:08 am
Wow, now that looks pretty slick.  going to give that a go tonight.

I like the Kodi remote which this topic runs for but i find it all a bit hit and miss if it works.  I like the on screen shortcuts from this new plugin!

Thanks for posting!
N

Let us know how you get on trying this new add-on ? I may have a go myself as well if I have time. 
Title: Re: Kodi Remote Control
Post by: cw-kid on December 10, 2015, 10:14:46 am
I've started a new thread about the new add-on here (http://forum.micasaverde.com/index.php/topic,35252.0.html) so least we can discuss it there instead.

I tried it but there are some issues already.
Title: Re: Kodi Remote Control
Post by: alpha1 on December 11, 2015, 04:31:17 am
There are a couple of KODI Vera addons in Git i have found:
https://github.com/gderosa/xbmc-vera
https://github.com/ronluna/kodi-vera-ui7


Not sure if they are related to this thread though
Title: Re: Kodi Remote Control
Post by: cw-kid on December 11, 2015, 05:44:21 am
There are a couple of KODI Vera addons in Git i have found:
https://github.com/gderosa/xbmc-vera
https://github.com/ronluna/kodi-vera-ui7


Not sure if they are related to this thread though

The first one I am aware of and it doesn't work fully.

The second one I am not sure about, have you tried installing it on Kodi  ?
Title: Re: Kodi Remote Control
Post by: cw-kid on February 16, 2016, 07:08:25 am
Hi

Was just looking in the Kodi log for something else and noticed a few of these errors relating to KodiRemote. Anyone else seeing this?

Code: [Select]
09:20:32 T:140661303006976   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.URLError'>
                                            Error Contents: <urlopen error [Errno 111] Connection refused>
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/script.service.micasaverde/default.py", line 91, in onPlayBackStarted
                                                data = json.load(urllib2.urlopen(url))
                                              File "/home/stephan/projects/openelec-6.0/build.OpenELEC-Generic.x86_64-6.0.1/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 126, in urlopen
                                              File "/home/stephan/projects/openelec-6.0/build.OpenELEC-Generic.x86_64-6.0.1/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 400, in open
                                              File "/home/stephan/projects/openelec-6.0/build.OpenELEC-Generic.x86_64-6.0.1/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 418, in _open
                                              File "/home/stephan/projects/openelec-6.0/build.OpenELEC-Generic.x86_64-6.0.1/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
                                              File "/home/stephan/projects/openelec-6.0/build.OpenELEC-Generic.x86_64-6.0.1/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 1207, in http_open
                                              File "/home/stephan/projects/openelec-6.0/build.OpenELEC-Generic.x86_64-6.0.1/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 1177, in do_open
                                            URLError: <urlopen error [Errno 111] Connection refused>
                                            -->End of Python script error report<--

Line 91 contains:

data = json.load(urllib2.urlopen(url))

EDIT: Actually thinking about it, this could just mean my Vera unit was unreachable at the time. Which it was earlier today as it crashed. Will keep an eye on the log for this error again ?
Title: Re: Kodi Remote Control
Post by: Evoxer on February 20, 2016, 02:31:16 pm
Having some issue here guys - I've just configured Kodi to talk to my new VeraPlus and its going really well. Although it states "Cant Detect Device" in Vera. Im unsure what this means as I can see status information is working perfectly:
Computer: Up
Player: Audio_stop
Kodi: home

All that changed when I navigate or play TV / Films etc. But the red banner in Kodi wont go away. Anyone else experianced this?

Thanks
Evo
Title: Re: Kodi Remote Control
Post by: cw-kid on February 21, 2016, 04:46:41 am
Having some issue here guys - I've just configured Kodi to talk to my new VeraPlus and its going really well. Although it states "Cant Detect Device" in Vera. Im unsure what this means as I can see status information is working perfectly:
Computer: Up
Player: Audio_stop
Kodi: home

All that changed when I navigate or play TV / Films etc. But the red banner in Kodi wont go away. Anyone else experianced this?

Thanks
Evo

Read the last page
http://forum.micasaverde.com/index.php/topic,28490.msg252965.html#msg252965
Title: Re: Kodi Remote Control
Post by: seanwalter on April 24, 2016, 11:30:08 pm
For people on UI7 getting the "Can't detect device" error...I was also having this problem and solved it pretty simply -- after following all instructions in this forum, but with no luck.

I finally decided I had nothing to lose (at 2am...) and noticed in Advanced Settings-->Variables there is a variable called "CommFailure". I manually changed this from 1 to 0, and now my Kodi Remote is detected.

I did do a couple of other things, but I doubt they are necessary. You can try them if the simple change above doesn't solve your problem:

0. Follow all other instructions in the forum to install the plugin correctly and install the addon correctly in Kodi

1. Upgrade Kodi to 15.0 Isengaard (I was on the 14.2 Helix before)

2. In Advanced-->Params I filled in the following:
- Added the MAC address for my Kodi box
- Added "Team Kodi" as the manufacturer
- Added "Isengaard" as the model

I am 99% sure all I really had to do was follow the instructions already in the forum and then change the CommFailure variable, but I'll never know unless someone else in the forum tries to do that and reports back before doing all these other things.

Or maybe sometime this week I'll set up another instance for the other Kodi box in the house, and report back myself.

ps - many thanks to cw-kid for elaborating the instructions, and for that blog post, which got me thinking more about the effects of the Params and Variables

pps - many many thanks to Ron for an awesome plugin

ppps - on UI7 there is an unlabeled and mostly invisible Mute button...any chance someone can make it more obvious and/or add real volume controls? I am still very much a noob -- just opened my first Vera (Edge) this morning.

I was also finally able to get rid of the "Can't detect device" from KODIRemote on UI7. I only changed the CommFailure variable for 0 to 1. No need to change the other parameters.

I just installed KodiRemote for the first time on Vera Edge UI7. I am trying to change the CommFailure variable from 1 to 0 however it never seems to keep the change and when I go back  in to the Variables tab again its changed back.

I have tried clicking in the field and pressing 0 on keyboard and then tab to come out of the field and it says "Change property command sent"

I've also tried ticking the box "switch to input type text" but that doesn't seem to work either.

How did you change the variable and make it stick?

Also when playing Trailers in the Kodi Apple iTunes Trailers add-on it doesn't appear to make Vera restart. As I reported it was earlier with my VeraLite UI5.

EDIT: OK maybe it was changing it but I couldn't see it was, as after refreshing the browser page it now says CommFailure is 0. And after then reloading Vera it now does NOT say "Can't Detect Device"  ;D

I've been off the forums for awhile, but logged back on today because I'm having the same issues as other people where I can get my VeraEdge to see Kodi for a period of time, but eventually it "loses" the IP address I have manually entered in the Advanced Settings. I have put up with this for a few months now and am finally going to try a few other options, including some of the others mentioned in this thread.

I just don't want anyone reading the forums thinking the solution I outlined last fall is a permanent solution. It seemed permanent at the time... I'd be interested to revisit if anyone has ideas for making it stick.
Title: Re: Kodi Remote Control
Post by: cw-kid on April 25, 2016, 06:35:42 am
I don't think I have had any issues with the Kodi Remote instances loosing their IP addresses. All seems OK.

I have had issues with the WOL with Ping Plugin however that is also setup for the Kodi PCs. That does sometimes lose the IP addresses.
Title: Re: Kodi Remote Control
Post by: seanwalter on April 30, 2016, 02:17:50 am
Hi everyone... after my last message I looked at a few of the other Kodi plugins mentioned in the forums and didn't see anything that had the functionality I needed, so I came back to KodiRemote and have a bit of good news for people struggling with the lost connection and computer: down issues...I hope...

1. On a whim, I deleted the MAC address in my KodiRemote Advanced Settings. This seems to have eliminated the recurring "lost connection" issues -- it's been running for about a week without that error coming up.

2. Note that if you are getting the "lost connection" issue and make this change, you will still need to go back into the Variables tab in Advanced Settings one more time to delete the values in the CommFailure and CommFailure Time fields.

3. After being happy I no longer see "lost connection," I noticed I was getting the Computer: down status message that a few people have mentioned in this forum. In my case, after a small amount of trial and error, I found this was due to the fact that my Kodi box was not responding to Pings. The computer status in KodiRemote is based on whether the computer responds to a Ping request. I made adjustments to the firewall software on the Kodi box to enable ping responses from devices on my local LAN, and now KodiRemote shows Computer: up.

I hope this helps others. Thanks for everyone's contributions throughout the forums -- what a great resource.
Title: Re: Kodi Remote Control
Post by: fabstar81 on September 22, 2016, 04:15:39 pm
now i see everyone in this thread uses the Kodi Remote app by doing things/scenes according to player state. All i am interested in, is to let vera control Kodi whenever something happens.

I am running UI7 and what i want is this:
whenever the door bell rings, i want Kodi to pause

For that i created a scene with trigger door bell. when i choose for the device Kodi remote (raspberry pi) i get the message:
No actions could be found for the following devices: pi-sk

Now, does anyone know a solution to that?

if this cannot be handled via GUI, does someone know the LuuP code for Kodi to pause?
Title: Re: Kodi Remote Control
Post by: michaelhinchey on October 02, 2016, 02:28:45 am
Kodi Remote Control is based off former XBMCState. This Plugin will report the state of XBMC as well provide basic functionality such as Navigation and player control.

Requirements:
micasaverde.addon (Modified for Kodi Service) installed in kodi
akb-json.lua (in vera, Place it in /usr/lib/lua/)
Day or Night Plugin

1- Install Kodi Remote from the mios app store (of it gets approved) or unzip the plugin attached in this post and upload it into your vera.

2- Once you have place micasaverde.addon inside kodi's addon folder, open kodi and go to System -> settings -> Add-Ons -> Enabled add-ons -> services -> Micasaverde Kodi Event

3- Once in there enter the ip of your vera and the device id  that was assigned to Kodi Remote when it got installed as well as the id for your Day or Night Plugin, select the states that you would like Kodi to report to your vera.

4-Once your are done configuring the plugin close kodi and reopen it to initialize the new configuration.

5-Go to your vera and enter into the setting of your KODIRemote Plugin then go to the advanced tab and enter your Kodi's ip address and reload vera.

You should be able to see how Kodi report to vera all the different states, you should also be able to send basic navigation and player commands to Kodi.

KODIREmote.zip updated (11/22/14)

Before I get started is this the correct way to do this or have they updated.???  THX
Title: Re: Kodi Remote Control
Post by: Newzwaver on February 11, 2017, 10:43:16 am
Hi Everyone,

I have downloaded the files and added the plugin on both vera and kodi android box.  Using kodi 16.1 and vera plus on 17.the latest.  I have the correct ipaddress and i have can't the comm failure from 1 to 0....  with all that i still don't ahev any control over the android box.  it is becuase of the skin i am using on the box?  I am using pluse...

Any guidance would be greatly appreciated. 
Title: Re: Kodi Remote Control
Post by: fabstar81 on July 17, 2017, 03:33:21 pm
is this app still under maintenance? i updated kodi to Krypton or something like that and the .zip failes to install. anyone can be of service?
Title: Re: Kodi Remote Control
Post by: rjayyyy on December 06, 2017, 09:23:25 pm
Bump

Same deal for myself, latest Kodi v17 has been around for length with v18 not too far away and not seeing any plugins etc that support it for Vera. This zip file doesn't install for me either and I couldn't find any later versions in any of the Repo's around.

Title: Re: Kodi Remote Control
Post by: conchordian on December 06, 2017, 10:56:10 pm
I use this one with Kodi Krypton: http://forum.micasaverde.com/index.php?topic=13697.0

I think it has slightly different functionality to this plugin, but it does what I need it to.
Title: Re: Kodi Remote Control
Post by: rjayyyy on December 06, 2017, 11:55:36 pm
thanks Conchordian, I will give this a spin over the weekend :) bit confusing as from my brief reading of the forums it looked like the XBMCState app had been superseded by the Kodi Remote app but by the looks maybe it has gone back the other way now ;)

thanks
Title: Re: Kodi Remote Control
Post by: rjayyyy on December 07, 2017, 12:29:19 am
I use this one with Kodi Krypton: http://forum.micasaverde.com/index.php?topic=13697.0

I think it has slightly different functionality to this plugin, but it does what I need it to.

Just to confirm Conchordian, is the pinned post at the start of the thread with version 1.2 attached the latest Kodi addon version for XBMC state? and is the XBMCState App in your Vera version 1.1 from Mios store?

Just want to make sure I am starting off correctly incase I have to chase down anything should it not work
Title: Re: Kodi Remote Control
Post by: conchordian on December 08, 2017, 02:39:12 am
Yes, and yes. :)
Title: Re: Kodi Remote Control
Post by: rjayyyy on December 08, 2017, 03:00:38 am
Yes, and yes. :)

Ace thanks! Got it up and running last night and will do some testing of scenes based on elements of that device over the weekend. Do you find it pretty reliable?
Title: Re: Kodi Remote Control
Post by: fabstar81 on December 12, 2017, 10:02:06 am
so does it work with newest UI7, newest kodi? last time i installed it failed...
Title: Re: Kodi Remote Control
Post by: rjayyyy on December 12, 2017, 09:34:45 pm
so does it work with newest UI7, newest kodi? last time i installed it failed...

yep latest version of Kodi (17.6 from memory) and latest UI7 (.3232 not the Beta). Definitely working, it might take a reboot of Vera and the Kodi endpoints to kick in. Also even tho it is working and showing status initially you do get a red error showing below the device and you need to change the setting in the in the attachment to 0 and save. Someone on one of the threads mentioned it.

It is damn confusing as basically the threads start off by saying KodiRemote was a port of the original XBMCState but it looks like KodiRemote hasn't worked since version 16.x of Kodi which is a pity as it sounds like it has a larger feature set than KodiRemote.
Title: Re: Kodi Remote Control
Post by: conchordian on December 14, 2017, 09:51:59 pm
Ace thanks! Got it up and running last night and will do some testing of scenes based on elements of that device over the weekend. Do you find it pretty reliable?

Yes, I've used it for years without a single hiccup.
Title: Re: Kodi Remote Control
Post by: rjayyyy on December 14, 2017, 10:13:35 pm
Ace thanks! Got it up and running last night and will do some testing of scenes based on elements of that device over the weekend. Do you find it pretty reliable?

Yes, I've used it for years without a single hiccup.

Thanks!
Title: Re: Kodi Remote Control
Post by: rjayyyy on December 17, 2017, 09:06:41 am
Just as a side note I reinstalled KodiRemote to test and that in combination with the XBMCState plugin that does install on Kodi 17 does provide some functionality.

The Device displays that the Kodi box is up, although doesn't display what it is currently playing. The controls some of them work (e.g. the up, down, left, right and info buttons but not the pause button)

Would be great to have the functionality to use in scenes.
Title: Re: Kodi Remote Control
Post by: RichieB on June 10, 2018, 12:50:02 pm
yeah it seems that the APIV8 has not been upgraded to reflect this
Title: Re: Kodi Remote Control
Post by: rjayyyy on June 10, 2018, 11:38:48 pm
yeah it seems that the APIV8 has not been upgraded to reflect this

Spewing, it would be great if it was as the extra functionality of the remote is decent. I have got a around some of it by sending direct commands to Kodi via LUA but would be far easier not to have to "program" to do basic control of Kodi
Title: Re: Kodi Remote Control
Post by: fabstar81 on June 11, 2018, 04:17:51 am
Does it show if the player plays something?
Title: Re: Kodi Remote Control
Post by: rjayyyy on June 11, 2018, 04:37:39 am
Does it show if the player plays something?

Player? Kodi?

I don't think so from memory. In the end I uninstalled the device and am using the other plugin and some scripting for my needs, hoping this plugin (like a few other dead or not functioing Vera Plugins) will be resurected at some stage :)
Title: Re: Kodi Remote Control
Post by: fabstar81 on June 11, 2018, 04:45:12 am
Indeed Kodi. I think version 17.

I used the play status for kicking off a scene but since I didn't get the plug-in installed on Kodi itself I just stopped using it.
Title: Re: Kodi Remote Control
Post by: rjayyyy on June 11, 2018, 04:55:45 am
Indeed Kodi. I think version 17.

I used the play status for kicking off a scene but since I didn't get the plug-in installed on Kodi itself I just stopped using it.

Yeh I still use it that way, the XBMCState plugin, the earlier plugin from which this KodiRemote one was developed, still works :)

Also there is this option if you wanted to initiate the scenes manually from Kodi end point itself rather than from the Vera side;
http://www.smarthome.com.au/smarthome-blog/xbmc-vera-z-wave-addon/
Title: Re: Kodi Remote Control
Post by: RichieB on June 11, 2018, 06:55:02 am
yeah but I would like this plugin to work .. Xbmc state will work but too much scene usage I'm going to dig through this plugin to see if i can get it to work

I know what needs to change -- just the Http calls in the implementation to reflectKodi APiV8
Title: Re: Kodi Remote Control
Post by: rjayyyy on June 11, 2018, 07:41:44 am
yeah but I would like this plugin to work .. Xbmc state will work but too much scene usage I'm going to dig through this plugin to see if i can get it to work

I know what needs to change -- just the Http calls in the implementation to reflectKodi APiV8

Mate if you can get this plugin working and back up and running I am sure there will be some happy ppl out there, Kodi is definitely the choice for DIY home media centres. Keep us in the loop on this thread. :D
Title: Re: Kodi Remote Control
Post by: RichieB on June 12, 2018, 02:56:56 pm

Requirements:
micasaverde.addon (Modified for Kodi Service) installed in kodi
akb-json.lua (in vera, Place it in /usr/lib/lua/)
Day or Night Plugin


it works u just need to add

akb-json.lua (in vera, Place it in /usr/lib/lua/)
Title: Re: Kodi Remote Control
Post by: rjayyyy on June 12, 2018, 08:48:12 pm

Requirements:
micasaverde.addon (Modified for Kodi Service) installed in kodi
akb-json.lua (in vera, Place it in /usr/lib/lua/)
Day or Night Plugin


it works u just need to add

akb-json.lua (in vera, Place it in /usr/lib/lua/)

Are you suggesting it is working now and that the only reason it wasn't working is that lua file was missing? Trying to recall now when I tested it a few times, I am pretty sure I just chose it from the Apps store within the Vera console so I am guessing as part of the app store process it doesn't do that loading of the Lua file?
Title: Re: Kodi Remote Control
Post by: fabstar81 on June 14, 2018, 07:39:52 am
So, if that is the only reason, why doesn't someone just add it to the install package and publish it again?
Title: Re: Kodi Remote Control
Post by: rjayyyy on June 14, 2018, 09:47:01 am
Revisited this again as a test, seeing the same as I saw a few posts back. Can get it to work in terms of it shows the Kodi box as up, Can use most of the controls but it doesn't seem to display what the Kodi device is playing.

Not sure if RichieB can confirm it that part is working for him and if he can confirm what version of Kodi he is using?

thanks
Title: Re: Kodi Remote Control
Post by: fabstar81 on June 14, 2018, 09:56:25 am
I wouldn't be interested in what it's playing, but that it's playing. So kicking of a scene because it starts to play something.

Is that working?
Title: Re: Kodi Remote Control
Post by: rjayyyy on June 14, 2018, 10:05:10 am
I wouldn't be interested in what it's playing, but that it's playing. So kicking of a scene because it starts to play something.

Is that working?

Well I think that part of "what" and if its playing is basically in the same element as it is displayig the current state of the player. But if that is all your chasing use the other XBMC State plugin, as I mentioned above I already have scenes (e.g. lights turn off when Kodi starts playing) working from that plugin :)

I will await a comment from @RichieB if he is getting it to show player state and content name :)
Title: Re: Kodi Remote Control
Post by: RichieB on June 20, 2018, 12:15:15 pm
Everything is working - i can start i can pause i can stop - i can see waht is playing etc
Title: Re: Kodi Remote Control
Post by: rjayyyy on June 20, 2018, 09:30:25 pm
Everything is working - i can start i can pause i can stop - i can see waht is playing etc

thank the feedback @RichieB.

Wonder why I am not seeing what is playing! Can you confirm a couple of things for us;
What version of Kodi are you using?
What version of the Micasaverde plugin?
What Vera unit and Firmware are you on?

I might try a reboot of my Vera, I am wondering if that is required post installing that extra file from this thread :)
Title: Re: Kodi Remote Control
Post by: rjayyyy on June 21, 2018, 01:01:00 am
Everything is working - i can start i can pause i can stop - i can see waht is playing etc

thank the feedback @RichieB.

Wonder why I am not seeing what is playing! Can you confirm a couple of things for us;
What version of Kodi are you using?
What version of the Micasaverde plugin?
What Vera unit and Firmware are you on?

I might try a reboot of my Vera, I am wondering if that is required post installing that extra file from this thread :)

haha ok finally got it working after going through every frikken message in the first few pages. Basically because I had noticed that the plugin didn't install in Kodi Krypton but the XBMC one did I had been using the XBMCState plugin (pretty hard to tell as they pretty much look the same), found a post someone having the same issue of it all working but not showing the movie name and the player state, they had done the same thing with using KodiRemote in Vera but XBMCState plugin on Kodi. Went back and found that there was a new version of the KodiRemote plugin for Kodi, uninstalled my current plugin, installed the new one and restarted Kodi. BAM all working.

Someone needs to update the frikken pinned post with the first plugin having a note beside it saying pre Helix XBMC and then someone adding the extra plugin uploaded a few posts down on Pg1 I think for Helix and beyond XBMC\Kodi.

Anyway hopefully this post saves someone some pain :)

cheers to all those that chimed in