Not sure how to share through the app, but I think you mean this:
c6c77abc-11d2-4fc3-8113-c831798e459e
This is me starting, pausing, resuming and stopping on wired keyboard, Homey app and Yatse app.
Not sure how to share through the app, but I think you mean this:
c6c77abc-11d2-4fc3-8113-c831798e459e
This is me starting, pausing, resuming and stopping on wired keyboard, Homey app and Yatse app.
Did the capabilities change for Kodi-devices going to 2.0?
Because I didnāt have to repair any other devices after the update.
Did a quick repair, everything seems to be ānormalā now
@Fire69
What were the steps of your āquick repairā? Just for sake of completeness :). And yes, capabilities were added going to 2.0
I donāt see any weird things in your log, only that you keep losing connection to kodi every 2-3 minutesā¦ Can you tell me a bit more about your Kodi setup? Do you shutdown Kodi every time? Note that Homey polls for a connection to kodi every 10s which means that if you boot Kodi, there could be a delay of max 10sec before Homey picks up a connection to Kodi. If you start a movie within those 10sec it could be possible that events donāt get picked up.
To test if events are fired properly you can create a test flow:
IF: Kodi starts playing something
THEN: Let homey speak ātestā
If this flow is fired correctly, then your lights should work as well (provided your flow is correct)
I shouldāve typed quick āre-pairā.
I deleted my device, added it again and fixed my (luckily only 3) flows
I just need to say that you made a great app @Marvin_Schenkel ! I just found it and it was simple to install and a lot of options available, now i donāt have to tell Alexa to turn on/off cinema lights every time someone ādisturbā me in the cinema! And there a lot of more things to enable/try out, thanks a lot!
Thanks a lot for the kind words and the donation :). Will make sure to buy some coffee from it
Tried what you suggested and everyting worked as it should except for one thingā¦ so I talked to my friend tonight. He also has a Homey, also runs Kodi and only uses Yatse to control. He thought of the possibility that there might be a difference between the pause and play button within the Yatse app. Pressing the spacebar on the keyboard is the same button for pausing and resuming. Iāve come to the conclusion that this is not the case with Yatse. Testing this Iāve narrowed it down to this:
Using Yatse: Kodi starts playing activates flows as they should. So does stopping as well as pausing.
Apparently it is the resuming that isnāt being recognized as starting Kodi, so my lights stay on, eventhough Homey flows tell them theyāre supposed to turn offā¦ I guess Iāll have to take my situation to the Yatse developerā¦ Or am I missing a workaround? What do you think?
How about you create a flow:
WHEN: Kodi has been resumed
THEN: Turn off the lights
āKodi starts playing somethingā is indeed not triggered on a resume action, so maybe that will help. i still find it weird that the Yatse app behaves differently than the key board, but since I donāt own a Yatse control I cannot test thisā¦
Let me know if adding that extra flow solves your problem
These are the flows I am using now (and have been using, except now I cut out time dependency to not get in the way of testing):
So thereās really nothing to addā¦ Any ideas what else I could test?
Strangeā¦ What version of kodi are you running?
Krypton 17.6.0.0 with Horizon skin. Iāll try and contact Tolriq, developer for Yatse if he has any clue. I have to provide both Yatse and Kodi logā¦ Iāll keep you in the loop. Do you, as a Kodi app developer for Homey (assuming that is what you do) use Kodi yourself? And you donāt use Yatse? Then what do you use?
@Bammeles
Ah yatse is an Android app. Though it was some kind of hardware. Yep I definitely use kodi myself. I just have it installed on a raspberry pi and use my TV remote. The only app I occasionally use is Kore. Iāll download yatse and see if I can reproduce your problem! I know theyāve changed something in resuming Kodi as of v18, so Iāll have to check if yatse is working for me. Iāll get back to you when I have some time on my hands
Thank you for your efforts so far. I could have mentioned it was an Android app. Ah, wellā¦ I tried Kore once, but I am much happier with Yatse. At least at the time, not sure how good it is now. It might help to know I am running a version of Kodi that supports SVP (Smooth Video Project) through DSPlayer, which gives me 60 in stead of 24 frames per second. Makes everything run much, much smoother. It does require more powerful hardware than a Raspberry Pie thoughā¦ Iāll get back to you when Iāve had word from the Yatse developer.
Discovered just now my flows arenāt working correctly anymore either.
When I start a movie, I have a flow āWhen Kodi starts a movieā, thatās working correctly.
But for when the movie stops I use āA movie is stoppedā, this isnāt working anymore.
I changed it to āKodi is stoppedā and itās working.
Strange thing I noticed (and this is both with Yatse and my Harmony remote) is that in the Homey-app the device is shown as paused.
@Fire69
Yeah I still need to sync the initial state of a device between Homey and Kodi, so sometimes you could see the device as āpausedā while youāre playing a movie.
Also, āon movie stopā is only triggered when the movie has ended including credits, not when you press āstopā while watching a movie:
Is that whatās going on, or is something broken? Would you expect this event to fire when you manually press stop?
Thatās not really the problem, the state changes when playing or stopping, itās just that it always shows paused when Kodi is stopped.
I donāt know if something is broken, but behavior did change
I had to change my working flow to ākodi is stoppedā because otherwise my lights didnāt turn back on when I pressed Stop.
This wasnāt a problem before when I had āa movie stopsā
So maybe it was broken before
Or maybe itās because itās showing as paused?
@Fire69
I think the āpausedā thing is by design. Sonos devices have exactly the same behaviour. As for the āmovie stopā, the behaviour has always been as I described above, so it would only fire when a movie ended including the credits (basically without any human interaction), so I find it weird that it worked for you before. Maybe I should rename to āa movie has finishedā to avoid any confusion :).
Might not be bad, but thatās your decision
Weird that it worked before indeed. But itās ok now, so Iām good
Iām trying to get two things done. Looks similair to some other flows here but not exactly.
A flow that when kodi starts playing a movie or tv show the lights should dim to 10%. (all hue and a fibaro dimmer 2). But when kodi stops I want it to return to the state it came from. And, when itās paused by spacebar on wireless keyboard lights should undim and dim at resuming. I canāt get it right.
Second a flow that starts kodi playing music. I have on speech trigger āok homey, bluesā. It works, it turns on my denon, switches to the right input, and plays a specific artist. But I would like to play it at genre or playlist. Is this possible? And, can we make it shuffle? Now itās playing one blues album allways in the same order.