Skip to content
View in the app

A better way to browse. Learn more.

Flirc Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Raspberry Pi GPIO

Featured Replies

Hi all,

 

I have an idea and I'm not sure where to get started. My idea is to create a linux daemon that would intercept keyboard combinations (ctrl-shift-1 for example) and toggle a GPIO pin on the raspberry Pi or increase/decrease PWM. I would like to use it to control LED light strings and close motor driven curtains while running Kodi. With this kind of daemon I could use any button on any remote to issue the keyboard combinations through my Flirc.

 

Any way, what I would like to know is does this sound feasable and how hard would it be?

 

Kevin Fonda

  • Author

Thanks, that looks like exectly what I was looking to do...only much easier because somebody else already did it. :-) Since I posted I did some more reading and found out the Kodi can run pyton scripts from the keyboard.xml file and  managed to get it to do What I wanted from there, but trigger happy looks like it will be better since it is at the system level and doesn't count on kodi running.

Using Kodi keymaps and python scripts is also a nice idea. It may depend on Kodi being running correctly but it also gives ability to change keymaps depending on current app state: for example you can run different scripts (or with different arguments) for fullscreen player and different for main menu. Every method is good as long as it does what it needs to do :).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.