Page 1 of 2

Remote control for kodi

Posted: Fri Oct 06, 2017 5:55 pm
by ebohe
Hello, I have a problem, I have a raspberry pi zero w to which I have installed the dietpi distribution with the installed kodi and tvheadend. Everything works very well, the problem is that I have a Xenta Wireless Receiver (Keyboard and Mouse) and I would like to do is to press a button on the remote to open the kodi from the console (since the dietpi starts in text mode because I do not have a desktop installed) by means of a script or something, that is to say without lirc, since the control to be usb already works of luxury in kodi. I do not know if it's possible what I want because I can not find anything anywhere. Thank you.

Re: Remote control for kodi

Posted: Fri Oct 06, 2017 7:05 pm
by lucasmenno
Have you tried the Autostart option inside Dietpi?
Kodi-startoption.png
Kodi-startoption.png (8.24 KiB) Viewed 4571 times
dietpi-config > Autostart options

Maybe this little thing will already make what you want :)

Re: Remote control for kodi

Posted: Sat Oct 07, 2017 12:21 pm
by ebohe
lucasmenno wrote:Have you tried the Autostart option inside Dietpi?
Kodi-startoption.png
dietpi-config > Autostart options

Maybe this little thing will already make what you want :)
hello lucasmenno if that option had already contemplated but does not cover my needs, I'm not interested in the kodi start automatically at first but do so when I press a button on the remote control and meanwhile allow the system in text mode to that does not consume many resources because rasberry pi zero does not have much power. Thank you very much.

Re: Remote control for kodi

Posted: Sat Oct 07, 2017 8:00 pm
by johnvick
I note Lucasmenno you are using Banana PI M1, as am I - have you seen this thread:

http://dietpi.com/phpbb/viewtopic.php?f ... it=+banana

Re: Remote control for kodi

Posted: Sat Oct 07, 2017 9:04 pm
by lucasmenno
Yes I've seen this thread, but I'm not running kodi on my BPI ;)
I thought he wanted to start kodi with the system.

Re: Remote control for kodi

Posted: Mon Oct 09, 2017 3:10 am
by WarHawk
Would a python script monitoring the wifi interface and when it sees the button entry presses then run a "kodi start" script work?

Re: Remote control for kodi

Posted: Mon Oct 09, 2017 9:37 pm
by ebohe
WarHawk wrote:Would a python script monitoring the wifi interface and when it sees the button entry presses then run a "kodi start" script work?
hello what you say sounds interesting but I think the name of the remote has confused (Xenta Wireless Receiver) since although it has that name does not work for wifi but for usb and infrared, anyway I am very lost in python you could guide me or tell me where I can document?

Re: Remote control for kodi

Posted: Tue Oct 10, 2017 5:15 am
by johnvick
lucasmenno wrote:Yes I've seen this thread, but I'm not running kodi on my BPI ;)
I thought he wanted to start kodi with the system.
I was referring to the replacement .fex file not kodi....should have been more explicit.

As far as I know there are few people using DietPi with BananaPi M1.

Maybe just two :)

Re: Remote control for kodi

Posted: Tue Oct 10, 2017 8:44 am
by lucasmenno
Okay, haha. No I haven't installed the fex files..
But I haven't expirienced any troubles with this install.
1 time it was going too hot and shut itself off, that was when I tried YaCy, 15 minutes in and the 'what is YaCy?' was ended sooner as expected :D .
My BPI has no fan or any cooling. It's in a little cardboard box with a hdd. Temps are mostly around 45°C.
Would the fex make any significant differences?
Sry for using this thread for another topic :)

Re: Remote control for kodi

Posted: Tue Oct 10, 2017 9:06 am
by johnvick
Not sure, I just followed Fourdee's advice that the .fex file for the other BPi may cause overvolting on the M1. Been running fine for months now.