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
Comments
- Login to homey and go to Settings > Apps
- Click the logo of the Kodi app
- Hold ALT on your keyboard and click 'Send log to the developer'
This will help me pinpoint what is going wrong. I don't seem to experience any connectivity issues, so it is really hard to figure out what is going wrong
All credits go to @robertklep for submitting the Pull Request .
Changelog:
- Added support to manually add a new Kodi device (like the old version
I installed the beta.
I send a log file The unique log ID is: f3209f1b-e17c-4241-928a-ded934836b22
I added the Kodo to THUIS group, but it doesnt show up in the app from Homey.
I switched it to another but no difference
If i click the music symbol and do a search i get the message no music apps installed.
I restarted the Homey .
If i acces the Kodi server thru my pc i get a good connection.
If i open the app on my phone, the added Kodi device will not show up?
Any help would make me happy!
Kind regards Herman
I just got your log, but I couldn't see anything strange with it. It looks like you have succesfully added your Kodi device and played a song on Kodi
However, I think you've got the wrong expectations of the Kodi app:
- The Kodi app only adds support for Kodi devices, so it won't show up under apps
- The kodi app does not integrate with the Homey Music library, so searching for songs through the Homey app will not work.
Try navigating to your Flows. Your Kodi device should show up there and you should be able to build all kinds of flows using events (e.g. when a movie starts) or actions (play this movie).
Let me know if anything is unclear.
Cheers,
Marvin
I ll try working with the flows, thx for the quick reply.!
Im a new user so some things i expected the homey could do it just cant do it seems , i was hoping to play MP3 's with ease but its harder then it should be .
Ill post something if i get a flow working!
have a nice day!
kind regards!
I was planning on looking into adding support for integration with Homey Media, but I read that this will be discontinued in a future Homey version. So I don't think Homey would be able to solve your problem of playing MP3's in an automated way.
Also, every day I reboot the Homey as a last resort, but it still can't find Kodi every time I start Kodi.
And when I use the ZeroConf option, the app can't find Kodi, when other apps on my smartphone (Yatse) can, this isnt a problem for me, but maybe I can help solve it.
I really like the app btw, I bought a Homey for some simple automation, but I was pleasantly surprised what it can do with Kodi, it's really powerful and high tech imo, turning down the lights when a movie starts or starting the game addon and putting the tv in Game Mode, (which is really laborious without automation), really cool!
So if I am understanding correctly, you:
- Have successfully added a Kodi device to Homey
- all works as expected
- Then you put your PC in hibernation mode and after you resume your PC, restart Kodi, Homey doesn't seem to find it?
If this is the case, please send me a log at the moment Homey is unable to find Kodi. You can do this by:
- Logging in to my.athom.com (on a PC)
- Go to 'Settings'
- Go to 'Apps'
- Click the Kodi app logo
- Hold the Alt-key. A new link called 'send a log to the developer' should now appear.
- Click the link and I should receive some detailed information in my email to help me resolve this problem.
PS: Thanks for the kind words :-)
Just had a look at the log. I have a hunch this is because the IP address of your changes after you restart your PC. The reason Zero Conf cannot find your Kodi is because it has already been added (Homey recognizes a device by its MAC address). The Kodi app unfortunately does not (yet) detect IP address changes
My suggestion would be to assign a static IP address to your PC, remove the Kodi device from Homey and re-add it.
Let me know if this all makes sense.
Hmm, I tried adding the Kodi "device" multiple times with Zeroconf. I deleted the Kodi "device" all three times, and tried adding it with the both the desktop app and the Beta android app, it didnt detect anything. I tried it last time too, to no avail.
Try to reinstall the app and make sure you are on the latest version (2.2.0)
- Follow the instructions on the app store to make sure you have enabled the appropriate settings to enable Homey to find Kodi using zero conf.
- If this fails, try adding Kodi manually by selecting the Manual driver and typing the static ip of your kodi..
I have a different question, and it should maybe be aimed for another developer, but it involves you in some way!
There is a really nice app called Homeyda.sh which is a dashboard that gather information from Homey, control a light, if a certain light is on or what value a temp sensor is broadcasting etc etc.
With two movie loving kids in the family, it would be so cool to also have "play state" for Kodi devices in that dashboard. For instance, via the Kodi web interface one can see what is playing, the duration of that media object and how much is left of it to play.
I know that this is something that is not such event that is fired, but do you think that information is easily retrieved and implemented? Maybe this is information that can be retrieved and contained by your app, and presented by Homeyda.sh?
This is definitely a good idea. I have already looked into something similar where I wanted to display the 'play state' on one of the mobile cards. Unfortunately Athom's available capabilities (e.g. turn on, turn off, dim, etc) are not easily mapped to Kodi's play state. I must say that was a while ago, whenever I have some free time I'll have a look and see if I can get it to work. As soon as Kodi devices have a play-state and Homey 'understands' this, it should be fairly easy to link it to homey dash
Btw. I'm running Kodi 18 nightly.
First sorry for my english.
Little problem, i have a addon on kodi tv melodies, this plays a soundtrack from the movie folder when you search in your kodi library and here comes the problem. I have two triggers, the first one is when kodi plays a movie the lights go off and the second one is when kodi stopped a movie the lights go on. The problem is when i go in my library and go from movie to another the lights go on/off. Can you please help me. Ah i forgott cheers again for the great work, best regards from germany.
Did you read my post?
Thanks
I think the problem is that the addon actually plays something on Kodi in order to play the themesongs. So Kodi thinks something starts playing and fires the 'play something' event.
In order to be sure, please submit a log (instructions somewhere in the last few pages of this thread). Then I can also think of a workaround you could build in your flows, because I don't think I can do anything about this from an app perspective.