Go to advanced search

by troyk
Thu Aug 08, 2013 9:20 am
Forum: Python
Topic: turning gpio buttons into keys
Replies: 31
Views: 13845

Re: turning gpio buttons into keys

I know nothing about XBMC add-ins. You have a busy loop there. I should think it would be better to include a sleep. from time import sleep while True: #CODE TO CATCH BUTTON PRESS HERE input_value = gpio.input(17) if input_value == False: packet = PacketBUTTON(map_name="KB", button_name="left", rep...
by troyk
Thu Aug 08, 2013 8:04 am
Forum: Python
Topic: turning gpio buttons into keys
Replies: 31
Views: 13845

Re: turning gpio buttons into keys

So i almost got it to work properly with proof: http://www.youtube.com/watch?v=Ah-8blgQI40 Problem is (as you can seen) that when I push the button on the breadboard, the key_left command in python moves too much to the left instead of doing just one step, it seems to do multiple steps. I've made t...
by troyk
Thu Aug 08, 2013 7:26 am
Forum: Python
Topic: turning gpio buttons into keys
Replies: 31
Views: 13845

Re: turning gpio buttons into keys

So, I almost got it to work properl, with proof: http://www.youtube.com/watch?v=Ah-8blgQI40 Problem is (as you can see) that when I push the button on the breadboard, the key_left command in python moves too much to the left instead of doing just one step, it seems to do multiple steps. I've made tw...
by troyk
Mon Aug 05, 2013 2:07 pm
Forum: Debian
Topic: gpio-keys and gpio-mouse driver source code
Replies: 7
Views: 24859

Re: gpio-keys and gpio-mouse driver source code

Correct me if i'm wrong but this could be the solution to control XBMC over GPIO ?

Can I remap the keys in the code?
So pin 7 should be key_left , pin 11 key_right etc?

Thanks
by troyk
Mon Aug 05, 2013 12:10 pm
Forum: General discussion
Topic: What's the simple and safe way to do a "shutdown" button?
Replies: 60
Views: 64741

Re: What's the simple and safe way to do a "shutdown" button

Great stuff. Now if there's a way to navigate through XBMC this way , i would be very happy. I've got my buttons all set-up, the python code works but: I can't seem to import xbmc module into my python script so i'm pretty much stuck. Also, i'm very noobish when it comes to code larger projects . M...
by troyk
Mon Aug 05, 2013 9:29 am
Forum: General discussion
Topic: What's the simple and safe way to do a "shutdown" button?
Replies: 60
Views: 64741

Re: What's the simple and safe way to do a "shutdown" button

Great stuff. Now if there's a way to navigate through XBMC this way , i would be very happy. I've got my buttons all set-up, the python code works but: I can't seem to import xbmc module into my python script so i'm pretty much stuck. Also, i'm very noobish when it comes to code larger projects . Ma...
by troyk
Thu Jul 11, 2013 7:22 pm
Forum: Troubleshooting
Topic: USB WiFi Adapter not working.
Replies: 15
Views: 10964

Re: USB WiFi Adapter not working.

Hi Gentlemen,

I've found a solution for the WL-2100 , follow the exact steps in this post and it started working in my case.

http://forum.ubuntuusers.de/post/5692812/

Good luck gentlemen.

Cheers.
Thijs
by troyk
Thu Jun 13, 2013 12:39 pm
Forum: General discussion
Topic: Boblight possible?
Replies: 707
Views: 139735

Re: Boblight possible?

Any idea how I can check my first LED and my second one? I'm thinking about doing the boblight.conf orientation manually since i really messed up the placement of the leds. I thought i started in the left corner below but it seems orientation is all off. Anybody any idea how to check what the first ...
by troyk
Thu Jun 06, 2013 2:36 pm
Forum: General discussion
Topic: Boblight possible?
Replies: 707
Views: 139735

Re: Boblight possible?

Hi I've managed to get boblight working on my raspberry pi with video/movies, even youtube videos via the youtube addon. However I have a slight issue that when streaming live tv from tvheadend i get no lights. Also found that if i try to change channel XBMC restarts. Just to give a bit more detail...
by troyk
Thu May 02, 2013 9:38 am
Forum: General discussion
Topic: Boblight possible?
Replies: 707
Views: 139735

Re: Boblight possible?

Maybe i should post this here: I'm having problems with my Raspberry Pi + XBMC + Boblight setup. I'm currently using this setup: - HTPC - Windows 7 - XBMC - LAN - R-Pi - Occidentalis - Boblightd - LAN - 4 x 25 ws2801 LEDS - 5v - 4A Power adapter. Everything is connected as per diagram: http://boblig...

Go to advanced search