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
In the right textboxes:
- Delete playlist: {"jsonrpc":"2.0","id":1,"method":"Playlist.Clear","params":{"playlistid":0}}
- Load a Smart playlist: {"jsonrpc": "2.0", "method": "Playlist.Add","params":{"playlistid":0,"item":{"directory": "special://profile/playlists/music/NameOfSmartPlaylist.xsp", "media": "music"}},"id":1}
- Start playing: {"jsonrpc": "2.0", "method": "Player.Open", "params": { "item": { "playlistid": 0, "position": 0 } }, "id": 1}
On the second card i've set 2 seconds wait timeFor the last card 8 second wait time.
I have a trigger when a movie starts then say, enjoy the movie (title), the problem is sometimes homey says, sometimes nothing, i cant find the problem. Can you help me?
Thanks
I use kodi on intel nuc with windows version and its same device with my local library (qnap server). I hope you can find the problem. And BIG THANKS for the great work in your free time !!!
New problem (sorry), when i start kodi and i have a trigger when homey reconnect, then trigger hue scene, dont triggered. When i end kodi and restart homey, no problem everything is fine. Is it not possible to make a trigger when homey connect (not reconnect). Thanks
Can you make it separate, that woulde be cool.EvertorN said: Do you find the problem?
Thanks
Any news?
@olive The problem is probably due to version of kodi / hardware you're running kodi on. I'd have to do some testing to see if I can somehow capture the events, but unfortunately, no time...
No stress!
I'll have a look and see if I can find a way to get the movie details even if you start the movie from the homescreen
Could some people please test? (@fire69, @Phuturist ?)
Try to start movies from your homescreen, the library and from an addon like Exodus and see if it all works for you
Please push the new version on the app store, or gives some problem.
Thanks
add type of media.
Somehing like:
IF kodi play MOVIES
THEN trigger this
IF kodi play TV SERIES
THE trigger this
Why you ask?
I like to dim the lights when i watch a movie, but not when i am watching a TV series (or the wife is watching a new episode of "Desperate housewife' etc.
So i would only want to use kodi triggers when a MOVIE is played or maybe an other flow when only music or a TV series is started.
Hope this can be added.
Is there a user/passwd problem in this case? I use standard logins, same as for Kodi remote app. This app connects without a problem. I use port 80.
Wake on lan works on the same IP.
Shutting down the remote app makes no difference.
Tried network, modem, router, Homey, Kodi reboots/restarts.
I'm using OpenELEC 5. This is an older version which cannot be updated due to specific configurated and adjusted for the hardware. Do not have the time to build a new dedicated OpenELEC version soon.
The very first time installing there has been a connection if I remember right.
I tried other versions from git as well. Sometimes getting error 200.
Don't know where to look anymore. Any hints?
Thanks in advance.
What do you meant with "standby"?
I use the screensaver as standby function.
Can you explain '"html request" card'? <- FOUND IT! Thanks. :-) With this I can just use HTTP/JSON.
Great News.
"Error: unexpected server response (200)"
Really don't know how to get it to connect.
edit:
tested it but does not work...
I created a few test flows such as:
an episode starts
an movie starts
music is started
And then let homey send me a message on my phone and say something...
Started testing:
- music seems to be working
- movie seems for 90% working, tried several movies and indeed homey responded and executed the flow on most movies i started but not all!
- series seems not to be working at all, tried a lot of tv series and NONE of them worked, homey did NOTHING at all.
So the idea is there now to get it to work
@B3rt this should solve your issues with movies/series triggers.