[PLUGIN] IR Remote Controller feedback thread

Discuss, contribute and orient Volumio development!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

[PLUGIN] IR Remote Controller feedback thread

Postby mikmas101 » Tue Aug 06 2019 00:00

I am having exactly the same problem as the last poster.
I downloaded and installed Volumio 2.599 on a Pi 2B with an IQAudio Dac+ hat fitted with IR receiver.
I installed the Remote Controller plugin to use with an original Justboom remote.
It doesn't work - I have tried uninstall/reinstall .... still doesn't work.
The fail is reported below:

volumio@volumio:~$ systemctl status lirc
● lirc.service - LSB: Starts LIRC daemon.
Loaded: loaded (/etc/init.d/lirc)
Active: active (exited) since Mon 2019-08-05 23:37:18 UTC; 3min 36s ago
Process: 21339 ExecStart=/etc/init.d/lirc start (code=exited, status=0/SUCCESS)

Aug 05 23:37:18 volumio lirc[21339]: Loading LIRC modules:.
Aug 05 23:37:18 volumio lirc[21339]: Unable to load LIRC kernel modules. Ve...d!
Aug 05 23:37:18 volumio lirc[21339]: selected kernel modules in /etc/lirc/h...d!
Aug 05 23:37:18 volumio lirc[21339]: Starting execution daemon: irexec: failed!
Aug 05 23:37:18 volumio systemd[1]: Started LSB: Starts LIRC daemon..
Hint: Some lines were ellipsized, use -l to show in full.


Is there a fix for this?
Random avatar
mikmas101
Fresh off the boat
Fresh off the boat
 
Posts: 2
Joined: Mon Aug 05 2019 23:54

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


[PLUGIN] IR Remote Controller feedback thread

Postby gorgias » Wed Aug 07 2019 07:17

I had truble to get lirc working in the latest volumio version 2.599 as well. Here's what I did to get it to work (after ca 5 hours of banging my head in the wall...):

Hardware used:
ir reciver TSOP4838 connected to pin 25, + 3.3v and ground.
Logitech harmony 650 remote loaded with profile for Odroid C2

Procedure:
Installed plugin Ir remote controller and choose Odroid remote in settings
added: dtoverlay=gpio-ir,gpio_pin=25 to /boot/config.txt
changed: /etc/lirc/hardware.conf to use MODULES="gpio_ir_recv"

For some reason the file /etc/lirc/hardware.conf gets overwritten on every reboot. I guess that is done by the plugin.
I tried to restart lirc without rebooting and got it working that way:
(After editing /etc/lirc/hardware.conf)
sudo systemctl stop lirc
sudo systemctl start lirc

The last thing I tried was to edit /data/plugins/accessory/ir_controller/hardware.conf.tmpl
I changed MODULES="${module}" to:
MODULES="gpio_ir_recv"
I don't know if that works but worth a try. My thinking is that this value maybe gets written to hardware.conf on reboot.

For anyone else using Logitech harmony I recommend to change behavior for the device odroid to be always on. Otherwise the pi will get powered down everytime you press the power button to turn off your other equipment if you're using Activities with the remote.

Hope this helps while waiting for the plugin/volumio to get updated. :)
Random avatar
gorgias
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Wed Aug 07 2019 05:26


[PLUGIN] IR Remote Controller feedback thread

Postby gvolt » Wed Aug 07 2019 14:55

I opened a PR on GitHub with a fix for the IR Controller plugin: https://github.com/volumio/volumio-plugins/pull/345
Random avatar
gvolt
Objectivist
Objectivist
 
Posts: 268
Joined: Fri Mar 02 2018 16:47


[PLUGIN] IR Remote Controller feedback thread

Postby gorgias » Wed Aug 07 2019 17:27

gvolt wrote:I opened a PR on GitHub with a fix for the IR Controller plugin: https://github.com/volumio/volumio-plugins/pull/345


Great, thanks!
Random avatar
gorgias
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Wed Aug 07 2019 05:26


[PLUGIN] IR Remote Controller feedback thread

Postby mikmas101 » Wed Aug 07 2019 21:56

gorgias wrote:
Hope this helps while waiting for the plugin/volumio to get updated. :)


Thanks so much gorgias :)

Your fix worked like a charm and I now have a fully functioning remote !!

Will stick with this til the next full update ....
Random avatar
mikmas101
Fresh off the boat
Fresh off the boat
 
Posts: 2
Joined: Mon Aug 05 2019 23:54


[PLUGIN] IR Remote Controller feedback thread

Postby burghy » Sat Nov 23 2019 16:40

ciao. scusate se non scrivo in inglese ma se no non ne esco.
il mio sensore è questo:sensore
ho collegato il mio sensore ir al +3.3, gnd e pin 25.
ho modificato il file boot/config.txt aggiungendo sotto i cancelletti:
dtoverlay=gpio-ir,gpio_pin=25
e il file /etc/lirc/hardware.conf la variabile MODULES="gpio_ir_recv"

nel plugin installato ho selezionato il telecomando: A1294
ho preso il telecomando qui: link

vedo che al sensore arrivano i comandi ma non funziona.

ho usato il file per a1294 postato da un utente su questo topic ma non mi ha funzionato.
ho usato il comando: irrecord -d /dev/lirc0 ~/lircd.conf
e mi sono registrato i comandi raw che arrivano dal telecomando e mi è uscito questo file:
Code: Select all
 name  /home/volumio/lircd.conf.conf
  flags RAW_CODES|CONST_LENGTH
  eps            30
  aeps          100

  gap          110717

      begin raw_codes

          name KEY_DOWN
             9056    2263     569

          name KEY_UP
             9033    2267     543

          name KEY_OK
             9052    2266     541

          name KEY_LEFT
             9035    2266     542

          name KEY_RIGHT
             9006    2292     574

          name KEY_PLAY
             9034    2266     542

          name KEY_MENU
             9032    2267     542

      end raw_codes

end remote


ho modificato il file del plugin in questo modo:
Code: Select all
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Thu Jun 20 13:41:14 2019
#
# contributed by
#
# brand:                       /home/volumio/A1294_lircd.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

  name  /home/volumio/A1294_lircd.conf
  flags RAW_CODES|CONST_LENGTH
  eps            30
  aeps          100

  gap          110717

      begin raw_codes

          name KEY_UP
             9033    2267     543

          name KEY_DOWN
             9056    2263     569

          name KEY_LEFT
             9035    2266     542

          name KEY_RIGHT
             9006    2292     574

          name KEY_PLAY
             9034    2266     542

          name KEY_MENU
             9032    2267     542

          name KEY_OK
             9052    2266     541

      end raw_codes


niente da fare.

ho visto che il file originale del plugin non ha i codici raw ma è scritto cosi:
Code: Select all
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Mon May 15 13:59:35 2017
#
# contributed by
#
# brand:                       lircd.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

  name  lircd.conf
  bits            8
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       9065  4437
  one           590  1634
  zero          590   530
  ptrail        589
  repeat       9065  2205
  pre_data_bits   16
  pre_data       0x77E1
  post_data_bits  8
  post_data      0xE6
  gap          107996
  toggle_bit_mask 0x0

      begin codes
          KEY_MENU                 0xC0
          KEY_PLAY                 0xFA 0xA0
          KEY_ENTER                0x3A 0xA0
          KEY_LEFT                 0x90
          KEY_RIGHT                0x60
          KEY_DOWN                 0x30
          KEY_UP                   0x50
      end codes

end remote



ma io non so come estrapolare il codice 0x..

mi potete aiutare? dove sbaaglio?

aggiungo che con il telecomando del tv samsung configurato semplicemente dal plugin funziona tutto senza problemi

mi
Random avatar
burghy
Sunday DIYer
Sunday DIYer
 
Posts: 34
Joined: Wed Feb 14 2018 11:59


[PLUGIN] IR Remote Controller feedback thread

Postby DipterePow » Sat Jan 04 2020 14:44

Hi everyone!

(Since I did not know on which thread to post my question, I put it in duplicate on the 2 threads of the plugins concerned (I would update the one that will not have an answer))

Is there a command line to refresh the display? For example, when I do an update search, the screen shows me the pop-up window specifying if there is a new version or not. Even if I close this window on my smartphone, it doesn't close it on the screen of my player (and I cannot do it manually since I do not have a touch screen). At this point I have to disable then enable touchdisplay plugin for the window to close. So I was wondering if it was possible to assign a function to a button of the remote to refresh the display. The trick is that I would also like to use it to refresh the track info when these are wrong: sometimes the specified track info are those of the track that comes after the one that is listening. Maybe a command line to refresh webUI?... Not sure it will work for track infos...

Any proposals?
User avatar
DipterePow
Serious Listener
Serious Listener
 
Posts: 58
Joined: Wed Mar 07 2018 08:42
Location: Under the old great tree. France.


[PLUGIN] IR Remote Controller feedback thread

Postby gvolt » Sat Jan 04 2020 15:48

Random avatar
gvolt
Objectivist
Objectivist
 
Posts: 268
Joined: Fri Mar 02 2018 16:47


[PLUGIN] IR Remote Controller feedback thread

Postby JLH » Mon Jan 20 2020 17:31

CYRUS OWNERS BEWARE!
I got a justboom remote and hooked up a receiver to my DAC - Audiophonics iSabre.
The justboom remote works fine BUT - it uses exactly the same IR command for volume as the Cyrus uses to switch inputs so is no use to Cyrus owners.
Worse than that - using volume on the Cyrus remote crashes the R-Pi.
I've ordered an Apple remote which ought to be fine.
Random avatar
JLH
Sunday DIYer
Sunday DIYer
 
Posts: 14
Joined: Wed Jan 11 2017 14:11


[PLUGIN] IR Remote Controller feedback thread

Postby BorTridges » Sat Feb 08 2020 19:06

I would like this plugin to support the FLIRC USB device.

Not everybody wants to mess about with GPIO pins, wires and soldering irons.
Random avatar
BorTridges
Fresh off the boat
Fresh off the boat
 
Posts: 4
Joined: Thu Jan 23 2020 11:27

Previous

Return to Development talks

Who is online

Users browsing this forum: No registered users and 0 guests