Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jan 2018
    Posts
    15

    16x2 LCD info for LMS?

    With some great help from this forum I managed to set up a few rPi's and also an LMS, all based on piCorePlayer.
    All the players have 7" or 3,5" touch screens, but the server has none.

    I thought it would be nice to have a small 16*2 or 20*4 LCD screen on the server case with the ability to show the current status of the server, amount of connected players, IP address, temperature, etc. etc.

    When looking for information I found plenty tutorials to setup an LCD on a 'regular' rPi installation, but I didn't manage to find it for the TinyCore version.
    I don't mind doing some research, but I need some starting points. Could you help me with that?

    Is LCDproc a right way to start? I found a nice tutorial here:

    https://www.rototron.info/lcdproc-tu...-raspberry-pi/

    Or would it be better to work with python, like here:

    https://pypi.python.org/pypi/RPLCD/0.3.0

    And where could I retrieve the needed information? Because piCoreplayer is running entirely in RAM, what would be the right location to search for the current server-info?

    Sorry if this is much more difficult to answer than I think it is, but it surely would look nice....

    Thanks in advance for your help!

    Best regards,
    Bart

  2. #2
    Senior Member
    Join Date
    Apr 2013
    Location
    UK
    Posts
    1,213
    Information on LMS state would be queried from the server cli via IP (e.g "echo command | nc server:9000ö).

    For other things you'd use vgencmd to get pi temp data, or grab some code that pulls weather data from an internet service or something. Or even get a cheap hat/am2320 sensor and measure it live yourself by connecting it to gpio pins.


    Transcoded from Matt's brain by Tapatalk
    --
    Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0
    Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums..

  3. #3
    Junior Member
    Join Date
    Jan 2018
    Posts
    15
    DJanGo, I can follow your thoughts.
    I have enough different displays (according to my girlfriend that is ), but I like something about the simplicity of a small display.
    Maybe it would be easier to emulate a 16*2 LCD display on a 'modern' TFT screen....

  4. #4
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,338
    hi bvlet,

    Have you seen the Slimmer project? Do a search for Slimmer in this forum.

    There is also a link to it on our pCP projects page.

    http://picoreplayer.sourceforge.net/pcp_projects.shtml

    regard

  5. #5
    Junior Member
    Join Date
    Jan 2018
    Posts
    15
    Ah, no, I missed that!
    I'm going to look into it and see if it can be used!

    Thank you!

  6. #6
    Member
    Join Date
    Jan 2016
    Location
    Hungary
    Posts
    61
    In the Slimmer release bundle, there is an LCDd (lcdproc server) compiled for Raspberry PIs and also the required startup files for piCorePlayer. Using the install guide in the Slimmer wiki, you can install only the LCDd (with some unix knowledge). If you want, I can send you the lcdproc client, which displays time, cpu load, memory, network info and so on as rotating screens. I never tested that client, but it should work.

Posting Permissions

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