OpenELEC / OpenELEC.tv

OpenELEC - The living room PC for everyone
http://openelec.tv
1.61k stars 883 forks source link

feature request: RPi.GPIO for python on R-Pi builds #1955

Closed ghost closed 9 years ago

ghost commented 11 years ago

https://pypi.python.org/pypi/RPi.GPIO It's a small library to permit using GPIO with python, it would be handy to have and it does not take up much space.

mpgrimes commented 11 years ago

this would be nice, then use the io pins on the pi to run maybe a PWM LED controller to auto dim theater lighting when a movie starts.

kofu commented 10 years ago

I agree, I want to drive some devices when I start a movie. (Dim light, close curtains ...) so we need an easy access to GPIO.

mpgrimes commented 10 years ago

I second this. Would be a great feature On Oct 25, 2013 12:53 AM, "kofu" notifications@github.com wrote:

I agree, I want to drive some devices when I start a movie. (Dim light, close curtains ...) so we need an easy access to GPIO.

— Reply to this email directly or view it on GitHubhttps://github.com/OpenELEC/OpenELEC.tv/issues/1955#issuecomment-27069197 .

gungam commented 10 years ago

I need access to the GPIOs, too

llamafilm commented 10 years ago

I agree, this would be very useful. It's less than 100KB.

espe23 commented 10 years ago

I would like to change my system to OpenELEC but without RPi.GPIO or wiringPi-Python I can't use it for my project. So I agree as well. Would be great to have this.

ignalex commented 10 years ago

that s an extremely necessary feature. both hands up for this

Patrics83 commented 10 years ago

Hands and feets up for this...

ignalex commented 10 years ago

Hey Patric  don't know if you still need this but there is a (simple) way to make open Elec to run RPI.GPIO.  u need to put the RPi modules to any possible location and point your python to there with sys.path.append('path...') - after that you can import modules normally.  cheers  Alex 

On 24 Aug, 2014,at 05:02 PM, Patrics83 notifications@github.com wrote:

Hands and feets up for this... — Reply to this email directly or view it on GitHub.

mike-jl commented 10 years ago

but i need to build the modules first, don't i?

ignalex commented 10 years ago

Technically yes. Practically I copied it from another raspberry pi (raspbian). Works smoothly for several months by now. (Temperature sensor, movement sensor, LED, set of 8 relays controlling lights and watering plants.) If u straggling to get RPI module I can put the one somewhere to grab it Alex

Sent from my iPhone

On 26 Aug 2014, at 2:05, Michi Lehenauer notifications@github.com wrote:

but i need to build the modules first, don't i?

— Reply to this email directly or view it on GitHub.

mike-jl commented 10 years ago

thanks for the fast answer. got it running by taking the files from the .deb archive you can download. thanks a lot (:

stefansaraev commented 9 years ago

not going to happen in OE core. as no team member is interested in adding this. feel free to make a PR (better in unofficial-addons)

littlej956 commented 8 years ago

Hi, it is no longer working in latest Openelec beta, no longer in the unofficial-addons, can anyone fix it? thanks