This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Official SDK2
[APP] Kodi [2.2.0]
Kodi support for Homey
This it the official thread to discuss the features and functionality of the Kodi app for Homey.
To install this app on your Homey, go to the app store and download the app. Navigate to your Homey and go to Devices > Add devices and add a new Kodi device to your Homey by following the instructions there.
Please check the FAQ in this post if you have any issues connecting to your Kodi instance before posting in this thread. Information about the currently supported features can be found in the description in the app store.
Release information
Current stable version: 2.2.0Changelog:
2.2.0- Complete rewrite to SDK2
- Improved stability
- Added flow action 'Start addon'
- Add flow condition 'Kodi is playing movie/episode/music/anything'
- New automatic pairing process using zeroconf. This should make it easier for everyone to add Kodi devices . Make sure this is enabled in Settings / Services / General
- Removed speech since there are a lot of collisions with internal Homey commands. Waiting for Athom to improve the speech interface.
- Added trigger 'On screensaver activated'
- Added trigger 'On screensaver deactivated'
- Added trigger 'On video library scan finished'
- Added trigger 'On audio library scan finished'
- Added action 'Send a notification to Kodi'
- Added action 'Scan video library'
- Added action 'Scan audio library'
1.9.0
1.4.1
- Fixed triggers issues with 'movie starts' and 'tv show starts'
- Added support for multiple devices
- Fixed a bug where the app wouldn't reconnect after connection loss
- Talkback is now done via the used media (e.g. mobile, facebook messenger or Homey itself) instead of always Homey. For example, you can now ask Homey via facebook messenger if there are new movies in your library ('any new movies?')
- Added flow action 'Subtitle on'
- Added flow action 'Subtitle off'
- Added flow action 'Set party mode on'
- Added flow action 'Set volume'
- Added flow trigger 'When a song starts playing'
- Added flow trigger 'When Homey reconnects to Kodi'
- Added flow action 'Mute Kodi'
- Added flow action 'Unmute Kodi'
- The generic stop event now also gets triggered along with 'move stopped' and 'episode stopped' when a movie or episode ends
- Added flow trigger 'if anything starts playing'
- Added flow action 'play music by artist xx'
- Homey now responds to question "Any new movies?" (Zijn er nieuwe films?)
- Homey now responds to question "Any new episodes?") (Zijn er nieuwe afleveringen?)
1.4.1
- Fixes for firmware 0.9.1
- Added OnMovieStop trigger
- Added OnEpisodeStop trigger
- Added auto reconnect on init (after homey boots)
- Fixed a bug where flows wouldn't trigger on FW 0.8.39
- Added log viewer to the settings page
- Added add-on support (start add-ons through "start addon xxxxx")
- Fixed flow triggers for movie started by addons (e.g. exodus). Note that episodes cannot be distinguished when played by Exodus. Exodus thinks it's a movie.
- Fixed a bug where the 'play latest episode' action card didn't work
- Renamed app to 'Kodi'
- Added trigger-card/action-card/speech for Shutdown/Hibernate/Reboot:
- Added commands: "Shutdown Kodi", "Reboot Kodi", "Hibernate Kodi"
- Added trigger-card for WakeUp (experimental)
- Added action-card for 'Play latest episode'
- Fixed a bug where app would crash on connection loss
- Fixed a bug where 'play latest episode' didn't work in Dutch
- Added a couple of fallbacks for speech 'play latest episode' (Homey asks for the name of the series if it can't find the one you're looking for) and 'watch a movie'. Try "I wanna watch a movie".
- Added auto-reconnect functionality when Kodi has been disconnected from the network (reboot / sleep).
- Version bump for reupload to the appstore
- Changed way of connecting to support triggering on Kodi events. Homey flows are now triggered when you pause Kodi through your remote or any other remote app. You have to re-add your device (sorry guys)
- Added Dutch support
- Fixed a bug where triggers did not get fired on firmware 0.8.27+
- Fixed a bug where HomeyKodi would crash if there weren't any movies / music / tv shows in your library and you requested playback
- Fixed a bug where HomeyKodi would crash if you told Kodi to 'stop', 'next track' or 'previous track' when there wasn't anything playing
- Initial release
Little demo
https://www.youtube.com/watch?v=tuJ4YrIe8gE Future features (will be added in a later version). Italic features are low priority / hard to implement
- Mobile card to see what's currently playing (hard to map this on Athom's view of drivers / capabilities.)
FAQ
Q: I am getting the following error when I am trying to add a Kodi device: Error: unexpected server response (200)A: Make sure you have configured your HTTP port differently than your TCP port. Homey uses TCP (default port 9090) to connect to Kodi. Homey can't connect if you configure the HTTP port to be the same as the TCP port. This might be a bit confusing because only the HTTP port is configurable through the user interface. I'd recommend leaving the HTTP port to the default value of 8080. Then, when trying to connect from Homey, use 9090 as a port number.
Donate
Consider buying me a beer if you like this app :-)Huge thanks to the people who have already donated:
NOTE: Please keep this thread clean and on-topic. This thread is meant for support and ideas for the Kodi app. Also, please don't ask for any ETA's. I will update this thread whenever there's progress to report!
Cheers!
Comments
For example, a Kodi in the living room and in the bedroom.
I have 4 Kodi's running at home, so what would be super!
Here's a little demo:
i believe the plex app is supporting both.
Keep up the good work.
suggestion2: power on /off kodi player, on by the wol being developed. off by kodi api
EDIT: okay, so I understand Kodi needs to be installed on a separate piece of hardware, separate from Synology. What is the most light-weight device (in dimensions and in power consumption) to run Kodi on?
But I don't know how well the Homey-KODI app works with this.
EDIT:
I've got Kodi running on Amazon Fire TV, I guess its one of the best solutions. Otherwise you could use a RaspPi.
It's a kind of tricky to get KODI on Amazon Fire TV since they removed the app out of the store. Here is a guide, but in german:
http://aftvhacks.de/
Would be too much to load Kodi to Homey I guess?
Using the JSON-RPC will inform homey when something changes on the kodi side opposed to continually requesting a http get. Hope this will help you.
http://kodi.wiki/view/JSON-RPC_API
And yes, if it was a Raspi, it would probably slow your Homey down too much.