Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Thread Closed 
Upcoming moOde 6.4.2 update
#6
(02-14-2020, 05:51 PM)TheOldPresbyope Wrote:
(02-10-2020, 08:41 PM)Tim Curtis Wrote: Here's an updated relnotes. Its shaping up to be a nice reliability update :-)

Code:
- UPD: Add triggerhappy (disabled) plus default media.conf

Yet another package I was unaware of, even though apparently it's been around nearly a decade.

Now I need to revisit my work with devices like the FLIRC to see if triggerhappy can eliminate the need for my Python code. Better one complicated conf file than many add-ons.

Regards,
Kent

Hi Kent,
Triggerhappy does work nicely with IR remotes.
Here is my conf file for some buttons on a WD remote:

flirc_wd.conf
Code:
# KEY=UP > KEY_U
KEY_U 0 /var/www/vol.sh up 4                                                                                          
# KEY= DOWN > KEY_D
KEY_D 0 /var/www/vol.sh dn 4                                                                                          
# KEY=ENTER > KEY_X
KEY_X 0 mpc play                                                                                                      
# KEY=STOP > KEY_Y
KEY_Y 0 mpc stop                                                                                                      
# KEY=PLAYPAUSE > KEY_T
KEY_T 0 mpc toggle                                                                                                    
# KEY=OPTION > KEY_L
KEY_L 0 mpc clear; mpc add http://live-radio01.mediahubaustralia.com/2LRW/mp3/; mpc play; mpc add http://live-radio01$
# KEY=NEXT > KEY_N
KEY_N 0 mpc next                                                                                                      
# KEY+PREVIOUS > KEY_O
KEY_O 0 mpc prev                                                                                                      
# KEY=POWER > KEY_P
KEY_P 1 /etc/power.sh
Note :
1. KEY L commands need to be on one line, no breaks.
2. I had to power down via script KEY P:

power.sh
Code:
#!/bin/bash
sudo /sbin/shutdown -h now

However, there appears to be a conflict with CDPlay.

With a CD playing Flirc has full functions - play, pause, next etc.
When the cd is stopped and ejected Flirc stops.
Re-starting Flirc has no effect.
A Reboot is needed to restore functions

Could you confirm and maybe suggest a fix? If CDPlay works for you without conflict with your original Python Flirc code then I will try it as well.

moOde 6.4.2, Pi 3B +, Flirc V1, no tweaks.

Regards,
Richard.


Messages In This Thread
Upcoming moOde 6.4.2 update - by Tim Curtis - 02-07-2020, 12:12 AM
RE: Upcoming moOde 6.4.2 update - by suzywong - 02-07-2020, 10:19 PM
RE: Upcoming moOde 6.4.2 update - by Tim Curtis - 02-08-2020, 01:57 AM
RE: Upcoming moOde 6.4.2 update - by Tim Curtis - 02-10-2020, 08:41 PM
RE: Upcoming moOde 6.4.2 update - by rh2018 - 02-16-2020, 12:11 PM
RE: Upcoming moOde 6.4.2 update - by Tim Curtis - 02-18-2020, 08:15 PM

Forum Jump: