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
I must work, i come tomorrow at home and send to you the log. I have a flow when kodi go to hibernate, homey says movie lights are offline and this says homey multiple times. Disabling and re-enabling dont solve it.
Could you guys help out with testing and report back any issues?
Testers: @Fire69 @Phuturist ;
(In case you want to help out testing, make sure to let me know by posting a message in this thread. On a new (beta) release, I will mention your name to help out with testing.)
However, adding the 3rd raspi isn't working. I enter the settings, press save, the window closes, but the device doesn't appear.
Log only says this:
.15 is the 1st I added, tried the .14 twice.
Can't really test more now since I'm at work.
Original Kodi (Win7, Kodi 16) was working without any issues
Added 1 additional Kodi (Win7, Kodi 16) without any issues.
Did experience some issues with adding the third Kodi (RPi2, Kodi 15).
After resetting the services settings do default and restarting of this Kodi, I was able to connect.
All three seem to be working great now; triggers from all three are coming in at Homey.
Great work @EvertorN!
Start a movie
Play / Pause
Play music by artist
Stop
Mute
Unmute
Subtitle on
Subtitle off
Set party mode on
Set Volume
The Trigger Cards I've tested aren't working:
On movie start
On movie stop
On playback start
On pause
On resume
On stop (when you press stop)
I think all the trigger aren't working.
What about the voice commands. The voice commands works only for the first Kodi device. Maybe you could make a setting item to make a choice: first device V second device V alle devices together.
Just added another Kodi that's running on my laptop without a problem.
So I was able to add 3 Kodis and those work OK in a flow.
4th Kodi gets detected correctly in Yatse on Android (and that app also checks port 9090 so the device should be OK)
@WRos Strange, I have tested trigger cards with 2 devices and they were working perfectly (e.g. start the same movie on device 2 when device 1 starts playing something). Also seems to work for @TedTolboom . Could you check your log and see if it shows anything interesting?
Also, about voice commands, currently it defaults to the first registered device. I know Athom is drastically going to change the speech parsing (no idea when), so I won't spend too much time on that. In the meantime I could implement a confirmation step that asks which device the command needs to be executed on. For now, a single command is too hard to implement because of the speech parsing limitation (e.g. "Play movie finding nemo on kodi in the living room" is too hard to do)
The log shows .14 twice because I tried adding it a second time after the first time didn't work. But it still didn't work.
But I discovered something else now
I first added my son's RasPi as .14 but then saw his was .15, so I changed the ip to .15
After that I tried adding my daughter's as .14 which wouldn't work.
Now, as a test I deleted my son's RasPi (so the .15), and this was shown in the log:
[edit]
Yep, after removing that device I was able to add both RasPi's correctly.
You'll have to have a look at why the settings aren't correctly saved after changing the IP
The Trigger is logged, but there isn't a action in the flow:
@EvertorN : what test could I do, so it's possible for you to reproduce this?
Just check the app version:
Edit:
The reason of the problem was the slow database for kodi on a nas.
New 1.8 version has been uploaded which should fix a lot of connectivity issues and issues with flows not firing / firing multiple times.
Could you guys give it a go and report back before I push this to the app store?
Lights ---> C#
Kodi ---> C#
Old Non Smart Television --> C# (from RPI HDMI CEC by JSONRPC mesages, addon: https://github.com/joshjowen/script.json-cec)
Movable bed ----> ........ (Ir or by potential-free contact)
The bed would be for now the most important thing to Homeynize.
I've tested a lot functionality of the app, I can't find issues.
All triggers / flow action cards seem to work.
I do have some suggestions:
- Can you add the device name as tag to the trigger cards?
- I do have a Kodi system that is off for 90% of the time... it's a bit useless to continously monitor this device. Would it be possible to enable and disable the polling of a device from an action card. I have the following flow in mind: Once energy of Kodi is larger than 20W, then start listening to device
- We use Kodi to also watch live TV (TVHeadend on Synology); the app nicely provides the title if a recording or movie is started... Is it possible to also provide the title of live TV?
@TedTolboom
- Why would you need the device's name? That's implicitly obtained from the fact that you're triggering flows from a certain device, right?
- PVR support might be possible, I'd have to look into this. It would be hard for me to implement, since I am living in Australia and don't have PVR setup. Can you tell me how to get this working with my NAS?
@Reemster Already working on condition cards, I'll try to add them in the next release
Next on the agenda:
- Condition cards
- Action card to start an Addon
Also, if FW 1.2 gets released this week I will have a look at the new speech parsing. This should make things so much easier to perform actions based on speech input. Not sure if they have improved the speech recognition, so I guess we'll just have to wait and see. If this proves to be working, I can focus on more speech related functionality
I figured out that when I use the "On stop" and "On resume" Trigger.
It will be activated every time when I change a channel on de Live TV.
Maybe you can take this with you when you looking on the PVR support.
I'm looking forward to get the update!
Keep continue with your good work!
https://community.openhab.org/t/smart-playlists-in-xbmc-kodi/2755/2
First delete the current playlist, then load a smart playlist and finally start playing it.
Nice!
Could you please show what is places in the post fields.... (ip of Kodi, with the port number added to it, I presume. And what is the second field...)
Thanks!