Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    LCDProc package version 0.11.2

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 2 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by jimp

      LCDProc package version 0.11 is building now and will be available shortly.

      It is comprised primarily of PHP fixes and code cleanup but due to those, significant portions of the code changed, so be on the lookout for potential problems (e.g. screens not formatted properly/as expected).

      • Update syntax for PHP 8.x
      • Clean up code syntax for style/formatting and logic as needed
      • Fix a few errors/bugs spotted along the way
        • IPsec status was broken or hadn't worked in years
        • Interface stats would stop early if there was a removed/unassigned OPT interface in the middle of the list
        • Likely other fixes for various screens as they should all now be using more up-to-date code for polling data
      • Fix line terminators in shortcuts file

      Version 0.11.1 with more fixes:

      • Remove redundant functions already in base with the same output
      • Leverage base functions where possible otherwise
      • Start service on sync if it's stopped (comments suggested it should, but it didn't)
      • Fix formatting on Matrix Orbital help text
      • Cleanup some more unused code

      Version 0.11.2 with a couple new additions:

      • Added a background color selector for Adafruit LCD backpack displays with RGB support and support the extended commands.
      • Added CPU Temperature screen
      • Added Package Info screen, primarily to show some indication that there are updated packages available. Displays the total number of packages installed, how many need updating, and also displays a count of broken packages if there are any.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 2
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        I tested it using an Adafruit USB + Serial LCD Backpack with a 20x4 negative LCD and it works as expected there when configured properly (Driver=Matrix Orbital, Type=LKD, Adjustable backlight=unchecked, Brightness 100%, Contrast 100%). You do have to solder it together but it's just a row of pins so it's pretty simple. It's about ~$40+shipping so much cheaper than some of the alternatives I've seen around. If you can make do with a 16x2 LCD it's $10 cheaper, but for the difference it's worth having the larger screen.

        The very first time I powered on the device I had to send it a command to fix the screen size to be 20x4 (printf "%b" '\0376\0321\0024\0004' > /dev/cuaU0), not sure if that's worth handling in the package or not though since it is not something you can do live. It gets stored in EEPROM after setting and requires power cycling the device to pick up the change.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 1
        • fireodoF
          fireodo
          last edited by

          Hi!

          First of all: Thank you for your very good work!

          Would you also consider to implement the CPU-Temperature screen? (see reference: https://github.com/pfsense/FreeBSD-ports/pull/1125)

          Thanks and i wish a fine Weekend,
          fireodo

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.8.0 CE
          Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

          jimpJ 1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate @fireodo
            last edited by

            @fireodo said in LCDProc package version 0.11.1:

            First of all: Thank you for your very good work!

            Would you also consider to implement the CPU-Temperature screen? (see reference: https://github.com/pfsense/FreeBSD-ports/pull/1125)

            I can work that in. A lot of the code in that PR is irrelevant/broken now compared to what is in the current package, but I can pick out just the relevant CPU temp parts and bring that in. It seems to work here in some local testing.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            fireodoF 1 Reply Last reply Reply Quote 2
            • fireodoF
              fireodo @jimp
              last edited by fireodo

              @jimp said in LCDProc package version 0.11.1:

              It seems to work here in some local testing.

              Works here too - many thanks!

              lcd-display-mi4300yl-270.jpg

              Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
              SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
              pfsense 2.8.0 CE
              Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

              1 Reply Last reply Reply Quote 0
              • jimpJ jimp referenced this topic on
              • jimpJ jimp locked this topic on
              • jimpJ jimp referenced this topic on
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.