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
"Kodi has been paused" -> bring the lights back up, works
"Kodi has been resumed" -> dim again, works fine.
"Kodi has been stopped" - lights should go back up, but don't!
I'm starting to think that the last If card (Kodi has been stopped) does not mean "Playback of whatever you were playing stopped".
Can someone confirm? Should I make separate flows for "Episode / Movie has stopped"? And what if what I'm watching is neither an episode nor a movie? But eh, a nature documentary? *cough*
Maybe post your flow here?
This one for example works fine:
This is my stop flow and this works perfectly:
Is it possible to make a trigger, kodi starts or detected?
- Turn Kodi on
- Kodi boots
- Homey connects to Kodi (takes 0-10sec)
- <fire trigger here>
Correct?
Great news, is it possible with a 5s interval that checks whether Kodi is accessible?
So my flows are not receiving the right triggers.
Last updates of my logging:
This was 2 days ago... no logging showing the "Stil cannot reconnect: "
Any ideas on the issue? Would it be possible to trigger a re-start of the app?
What you have in the when column, for lights on, i mean not kodi has been paused.
This will turn my lights on whenever I trigger the flow 'Lights on'. I can trigger this using different triggers, e.g.:
kodi_stop:
or kodi_pause:
This way I can easily adjust / extend my 'lights on' action without having to modify all the flows that trigger my lights.
here some error log
after turn off/ on the app. it's working again, for sometimes a hour, or a couple of days.. (random)
And is there any way to identify when music started playing? I know about the trigger 'something started', but that also triggers for video.
Hi there,
I'm really in digging your app!
Unfortunately it's not working for me..
I've installed kodi on my Sony android tv as an app.
I've installed the Kodi app on Homey.
When I enter the IP from kodi with the TCP port 9090 it says:
"Kon geen verbinding maken met Kodi. Check je connective gegevens. Error: Cconnect ECONNREFUSED (my.ip.):9090"
I also tried the TCP of my tv 20600, then I don't get any message.
Can you help me out?
Thanks!
Default the port is set to 8080. You should check in your settings what the port for the webserver is set to.
It says in the homey - kodi app TCP port Standard is 9090
What do you mean by check in your settings? Do you mean in Kodi on my TV?
Thanks for your reply!
9090 should be OK.
In Kodi, can you make sure the settings to enable control from other applications are set?
(Settings - Services - Control)
I did everything is on yes (allow)
Don't know where I screw things up..
I believed this app could start a flow when i play a movie on my kodi, is this correct?
I added the app, entered my kodi details and created a flow.
On start (and resume) movie dim all my lights etc.
On pause and stop tunr on lights again.
When i start, pause, stop or resume a movie nothing happens at all...
When i give a voice command: ok Homey i want to watch a movie and say a title it works....
But this is not what i wanted, i believed when i play/start a movie (by remote) it would also trigger a flow, is this corrent?!
If so, why does it not work then?
I use an intel nuc which is powered down when not used, i start it up only when i want to watch a movie.
In the log i see the following:
[code]
[/code]