GPIO input to trigger Scenes

All the topics related to QLC+ on the Raspberry Pi
Post Reply
wcrosbie
Posts: 3
Joined: Sun Apr 19, 2015 6:22 pm
Real Name: Wayne Crosbie

Has anyone created an interface which would permit GPIO inputs to be used to trigger scenes? I'm thinking of having a simple wired keyboard some distance from the Raspberry Pi.
User avatar
mcallegari
Posts: 4827
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

I believe this has been discussed already in this forum.
Together with serial input (and I would add I2C as well)

They are not supported for the simple fact that they would be niche applications.
You can write a plugin for that though and submit a Pull Request on GitHub :)

We ended up saying that a USB keyboard is the most convenient/cheaper way to do remote controlling.
Have a look at this: https://www.youtube.com/watch?v=N3Nx0_epcuc
wcrosbie
Posts: 3
Joined: Sun Apr 19, 2015 6:22 pm
Real Name: Wayne Crosbie

Thanks for the reply.

Two questions:
1) Is there a document describing development on the Raspberry Pi itself?
2) Is the a plugin developer's guide?
User avatar
mcallegari
Posts: 4827
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

wcrosbie wrote:1) Is there a document describing development on the Raspberry Pi itself?
No. It's a standard Linux based on Debian Wheezy. Every specific information can be found in the huge RPi forum: https://www.raspberrypi.org/forums/
wcrosbie wrote:2) Is the a plugin developer's guide?
Unfortunately not. You need to study the code of one plugin and then implement a new one with the same structure.
I would say an easy one to learn from can be the loopback plugin.
wcrosbie
Posts: 3
Joined: Sun Apr 19, 2015 6:22 pm
Real Name: Wayne Crosbie

Thanks. The compile was long, but went mostly well once all the prerequisites were in place. I have also never seen or used QT before. The fftw3 library was the most troublesome. I ended up setting $SUBLIBS to -lfftw3 and then it was found.

I will have a look at the loopback plugin and others. Thanks.

I'll post back if/when I get something reasonable to share.
Post Reply