Home of the Squeezebox™ & Transporter® network music players.
Page 13 of 16 FirstFirst ... 31112131415 ... LastLast
Results 121 to 130 of 158
  1. #121
    Junior Member Dr_U's Avatar
    Join Date
    May 2018
    Posts
    9
    Hi Ralphy,
    thanks a lot for all your replies.

    The commands from ir.c were already copied into my folder for this task.

    I gave it a try with 3.50.

    The lircrc looks exactly the same.
    I tested irw again, all keys are accessible.

    But debugging squeezelite reported this:
    Code:
    [18:43:05.210182] load_lirc:208 loaded liblirc_client.so.0
    [18:43:09.157672] ir_thread:151 ir cmd: fwd -> 7689a05f
    [18:43:09.283992] ir_thread:165 ir lirc: KEY_RIGHT [01] -> 0
    [18:43:15.848376] ir_thread:151 ir cmd: rew -> 7689c03f
    [18:43:15.974630] ir_thread:165 ir lirc: KEY_LEFT [01] -> 0
    [18:43:23.723881] ir_thread:165 ir lirc: KEY_VOLUMEUP [00] -> 7689807f
    [18:43:23.831840] ir_thread:165 ir lirc: KEY_VOLUMEUP [01] -> 7689807f
    [18:43:23.958245] ir_thread:165 ir lirc: KEY_VOLUMEUP [02] -> 7689807f
    [18:43:26.724468] ir_thread:165 ir lirc: KEY_VOLUMEDOWN [00] -> 768900ff
    [18:43:26.850893] ir_thread:165 ir lirc: KEY_VOLUMEDOWN [01] -> 768900ff
    As the .lircrc is sitting in /home/tc and all the undefined keys are assigned, it is still the same situation:
    My lircrc is not used.

    Right now this is a dead end.
    Sorry to bother you with this problem.

    FYI:
    I am creating the lircrc with putty // nano // pasting the content.
    There couldn't be any kind of corruption, I guess.

    The same procedure with the lircd.conf.

    May I ask a stupid question:
    It's not about the empty IR_CONFIG?

    Code:
    IR_LIRC="yes"
    IR_GPIO_IN="25"
    IR_GPIO_OUT=""
    IR_DEVICE="lirc0"
    IR_CONFIG=""
    A look into *Current /opt/.filetool.lst*
    Code:
    usr/local/etc/lirc/lircd.conf
    home/tc/.lircrc
    I will not give up.
    But a hint, a workaround would be great.

    Kind Regards,
    Urban

  2. #122
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    1,982
    The 2 ir cmd: lines from the debug output suggests /home/tc/.lircrc is being used.

    [18:43:09.157672] ir_thread:151 ir cmd: fwd -> 7689a05f
    [18:43:09.283992] ir_thread:165 ir lirc: KEY_RIGHT [01] -> 0
    [18:43:15.848376] ir_thread:151 ir cmd: rew -> 7689c03f
    [18:43:15.974630] ir_thread:165 ir lirc: KEY_LEFT [01] -> 0

    but also looks like your lircd.conf needs to be tweaked to fix the keys repeating too quickly, the ir lirc: lines.

    There's a video on youtube explaining how to configure it.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  3. #123
    Junior Member Dr_U's Avatar
    Join Date
    May 2018
    Posts
    9
    Thx again.
    Saw that tutorial a few days ago.
    Now the lines are added.

    The irw shows perfect results now.
    Thanks for the advice.


    Fun Fact:
    In debugging mode, the keys are working, like Key_Home, which was diverted to muting.
    As soon as I leaving the debugging, Key_Home is dead again.

    And fwd or prev are working, somehow, but not properly.
    Sluggish, kind of.

    May I ask:
    Is there any chance to get the commands below onto the remote?
    These track_next and track_prev are just fine, but I guess they refering to LMS?

    Code:
    <!-- Start of pcp_lms_controls toolbar -->
            <a class="nav7" href="controls.cgi?COMMAND=track_prev" title="Previous Track">◄◄ Previous Track</a>
            <a class="nav7" href="controls.cgi?COMMAND=track_next" title="Next Track">Next Track ►►</a>
    Furthermore:
    I changed the lircd.conf, with a subtle different header.
    The result is the same, as my remote is for C1+/C2.

    There must be a solution.
    Not today.

  4. #124
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    1,982
    I must be missing something as fwd and rew are next_track and previous_track.

    Holding fwd and rew maps to repositioning within the current track but you need to set repeat = 1 in .lircrc for each.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  5. #125
    Junior Member Dr_U's Avatar
    Join Date
    May 2018
    Posts
    9
    Sorry, no difference.

    With another Raspi (B) I am using a minimal distro, with mpd and ympd as web interface.
    An old Topfield remote (5000) is controlling it, smoothly,
    but the distro needs to be shut down properly.
    In there repeat is set to zero.

    PiCore is much more comfortable.
    And so easy to switch off.

    Whatever.
    As irw proves, the hardware is working, it is just about the application setup.
    I will check lircrc again.

  6. #126
    Junior Member
    Join Date
    Jun 2018
    Posts
    1
    Just had the same issue like Dr_U.

    I have the Justboom remote and copied the exact lircd.conf and lircrc files into pcp like ralphy. But lircrc wasn't in use.
    When in debug it was used.
    My theory, squeezelite is started under root and default -i uses ~/.lircrc, which isn't /home/tc/.lircrc.

    When addind "-i /home/tc/.lircrc" to Various Arguments under Squeezelite Settings it is working.
    The line looks bad with the -i -i /home/tc/.lircrc, but it does it's job.

    Maybe that helps?

  7. #127
    Junior Member
    Join Date
    Jul 2018
    Posts
    9

    Add Car MP3 IR Remote to Picoreplayer 3.50

    Hi,

    I am from Chile and new into the forum and Picoreplayer (V3.50 standart).

    I had a couple of weeks running sucsesfully two RPI3 with 7" touchscreen (Jivelite), associated with audioengine A2+ (through USB port).
    The installation was very easy, no SSH require or linux knowlodge.


    Works like a charm 100% of the time.
    The LMS server is running on Syno DS416Play.
    Everything is ethernet connected.

    Now I want to add IR remote, then I buy this Car MP3 Remote Control with its IR receiver.



    I connect the IR receiver folllowing Adafruit tutorial.
    Added lirc (port 25) in the picoreplayer configuration page...and Lirc is running.
    If I try to costumize lirc it says that not config file was found...I thing these is a problem.

    But after Google a lot, I couldn`t fix anything....

    Can someone please help with a detailed explanation of how to config LIRC? Please Please Please!!

    Thanks in advance.

    regards,
    Crist├│bal.

    PS: Sorry for my english.

  8. #128
    Junior Member
    Join Date
    Jul 2018
    Posts
    9
    Quote Originally Posted by tobal View Post
    Hi,

    I am from Chile and new into the forum and Picoreplayer (V3.50 standart).

    I had a couple of weeks running sucsesfully two RPI3 with 7" touchscreen (Jivelite), associated with audioengine A2+ (through USB port).
    The installation was very easy, no SSH require or linux knowlodge.


    Works like a charm 100% of the time.
    The LMS server is running on Syno DS416Play.
    Everything is ethernet connected.

    Now I want to add IR remote, then I buy this Car MP3 Remote Control with its IR receiver.



    I connect the IR receiver folllowing Adafruit tutorial.
    Added lirc (port 25) in the picoreplayer configuration page...and Lirc is running.
    If I try to costumize lirc it says that not config file was found...I thing these is a problem.

    But after Google a lot, I couldn`t fix anything....

    Can someone please help with a detailed explanation of how to config LIRC? Please Please Please!!

    Thanks in advance.

    regards,
    Crist├│bal.

    PS: Sorry for my english.

    Some images:

    The remote:
    Name:  IMG_4076.JPG
Views: 83
Size:  21.5 KB

    The actual setup:
    Name:  IMG_4077.JPG
Views: 83
Size:  27.6 KB

    The IR receiver connection: https://learn.adafruit.com/using-an-...enter/overview

    Thanks!

  9. #129
    Senior Member Jeff07971's Avatar
    Join Date
    Aug 2011
    Location
    London, England
    Posts
    1,135
    Hi Tobal,

    To use "Custom" lirc.conf you first have to create and then download the custom "lirc.conf" to the Pcp

    This requires a fair amount of work for the beginner needing SSH and SFTP to accomplish.

    Do you have any knowledge of SSH and SFTP ?

    I ask becuase if the answer is no its going to be quite hard !

    Jeff
    Players: SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
    Server: LMS Version: Latest Nightly on Centos 7.5 VM on ESXi 6.5.0U2 on Dell T320
    Plugins: AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups
    Remotes: iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
    Music: 522GB,1660 albums with 23087 songs by 5204 artists mostly FLACs

    Want a webapp ? See http://forums.slimdevices.com/showth...Webapp-for-LMS

  10. #130
    Junior Member
    Join Date
    Jul 2018
    Posts
    9
    Quote Originally Posted by Jeff07971 View Post
    Hi Tobal,

    To use "Custom" lirc.conf you first have to create and then download the custom "lirc.conf" to the Pcp

    This requires a fair amount of work for the beginner needing SSH and SFTP to accomplish.

    Do you have any knowledge of SSH and SFTP ?

    I ask becuase if the answer is no its going to be quite hard !

    Jeff
    Thanks for your reply.
    Unfortunately I have almost none experince.
    Lucky me that the ir and the remote was very cheap!

    Cheers,
    Cristˇbal.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •