[PLUGIN] LCD_Manager


Recommended Posts

12 hours ago, jackdellis said:

 

lsusb

Bus 001 Device 003: ID 346d:5678 Intenso Intenso Micro  Line
Bus 001 Device 002: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

ls /dev

aer_inject       fd@           loop2    null    sdb      tty    tty19  tty3   tty40  tty51  tty62    vcs4   vcsu2
block/           full          loop3    port    sdb1     tty0   tty2   tty30  tty41  tty52  tty63    vcs5   vcsu3
bsg/             fuse          loop4    ppp     sdc      tty1   tty20  tty31  tty42  tty53  tty7     vcs6   vcsu4
btrfs-control    hpet          loop5    ptmx    sdc1     tty10  tty21  tty32  tty43  tty54  tty8     vcsa   vcsu5
bus/             hwrng         loop6    ptp0    sg0      tty11  tty22  tty33  tty44  tty55  tty9     vcsa1  vcsu6
char/            initctl|      loop7    ptp1    sg1      tty12  tty23  tty34  tty45  tty56  ttyS0    vcsa2  vfio/
console          input/        mapper/  pts/    sg2      tty13  tty24  tty35  tty46  tty57  uinput   vcsa3  vga_arbiter
core@            kmsg          mcelog   random  shm/     tty14  tty25  tty36  tty47  tty58  urandom  vcsa4  vhci
cpu/             log=          md1      rtc@    snd/     tty15  tty26  tty37  tty48  tty59  vcs      vcsa5  vhost-net
cpu_dma_latency  loop-control  mem      rtc0    stderr@  tty16  tty27  tty38  tty49  tty6   vcs1     vcsa6  xconsole|
disk/            loop0         mouse@   sda     stdin@   tty17  tty28  tty39  tty5   tty60  vcs2     vcsu   zero
fb0              loop1         net/     sda1    stdout@  tty18  tty29  tty4   tty50  tty61  vcs3     vcsu1

 

Which vers of unraid are you using? it may ttys0 is the device. Does this change the screen echo "E" > /dev/ttySx to clear the screen, then echo "L Text" > /dev/ttySx

Link to comment
1 hour ago, SimonF said:

Which vers of unraid are you using? it may ttys0 is the device. Does this change the screen echo "E" > /dev/ttySx to clear the screen, then echo "L Text" > /dev/ttySx

 

I'm using version 6.11.5

 

I ran those commands in Unraid, nothing changed on the LCD

Link to comment
8 hours ago, jackdellis said:

6.12 is a beta version right? Happy to update if you think it'll help me get my LCD editable.

I don't think stable will be too far out.  6.12 is required for QNAP as change to enable more that one serial port was added.

Link to comment
On 5/17/2023 at 7:48 AM, SimonF said:

I don't think stable will be too far out.  6.12 is required for QNAP as change to enable more that one serial port was added.

Ok I'm now on version 6.12.0-rc6. I've ran the same commands via the terminal but nothing on the LCD, do i need to set any settings within the app?

Link to comment
35 minutes ago, jackdellis said:

Ok I'm now on version 6.12.0-rc6. I've ran the same commands via the terminal but nothing on the LCD, do i need to set any settings within the app?

Normally the QNAP LCD is on ttyS1. This is my settings in the plugin. Do you see S1 if you run ls /dev/ttyS* 

 

lcdproc options will some data on the screen. In my case CPU->Memory->Clock->Interface and this will rotate.

image.png

Link to comment
On 5/21/2023 at 9:50 AM, SimonF said:

Normally the QNAP LCD is on ttyS1. This is my settings in the plugin. Do you see S1 if you run ls /dev/ttyS* 

 

lcdproc options will some data on the screen. In my case CPU->Memory->Clock->Interface and this will rotate.

image.png

 

So the command came up with:

1077794350_Screenshot2023-05-22at14_02_56.thumb.png.e770e5f23b59cfe8daf227b7479731dc.png

 

I set my settings to this:

263327162_Screenshot2023-05-22at14_03_30.thumb.png.ff96daf1a25a46d9fc5e97f6919f82d9.png

 

Haven't managed to change the LCD text yet, still stuck saying "Booting..."

Link to comment
5 hours ago, jackdellis said:

 

So the command came up with:

1077794350_Screenshot2023-05-22at14_02_56.thumb.png.e770e5f23b59cfe8daf227b7479731dc.png

 

I set my settings to this:

263327162_Screenshot2023-05-22at14_03_30.thumb.png.ff96daf1a25a46d9fc5e97f6919f82d9.png

 

Haven't managed to change the LCD text yet, still stuck saying "Booting..."

sorry forgot you are not running qnap. Will need to look into what you need to config for a test.

 

and this does nothing? echo E > /dev/ttyS1

Link to comment
  • 2 months later...

Works on my QNAP TS-453A. Only thing missing is to turn off the background light after a while. Its pretty bright and editing the brightness in the config does not seem to work. Other thing is that the TS-453A only has two buttons to use for LCDproc.

 

 

2023-08-10 01_56_27-TS453A_LCDSettings.png

Edited by Zard0Z
Link to comment
  • 2 weeks later...
4 hours ago, all-powerful-interlude7460 said:

Is there a flag to just disable the screen? At night its very bright. Cheers!

 

Not at present within the plugin.

 

But you can run these to turn off the screen 1 = on 0 = off so you could run as a user script on a schedule.

 

root@QNAP:~# echo -e "M^\x1" > /dev/ttyS1
root@QNAP:~# echo -e "M^\x0" > /dev/ttyS1

Link to comment
  • 2 weeks later...
  • 3 weeks later...
  • 2 weeks later...
  • 4 weeks later...
On 10/11/2023 at 10:31 PM, SimonF said:

the size should be in config file on boot. Size is in there. /boot/config/plugins/lcd_mqnqger/lcd_manager.cfg

I've tried editing that but it will not stick. I tried with the plugin disabled, enabled, etc etc but each time it reverts back to 20x2. Same for when the system reboots, etc.

Link to comment
10 hours ago, ricostuart said:

I've tried editing that but it will not stick. I tried with the plugin disabled, enabled, etc etc but each time it reverts back to 20x2. Same for when the system reboots, etc.

Added option for 20x2 and 16x2 to settings download and put the file on the system run installpkg --install-new filename. Not packaged as yet into the plugin.

image.png

lcd_manager-2023.11.07.txz

  • Like 1
Link to comment
  • 1 month later...
18 minutes ago, SimonF said:

Did you see this post by ich777 

 

I did, which is part of the reason I'm asking if anyone has gotten it working with the ESP32. Seems like a "should be able to" answer at this point.

 

***Edit - that came off kind of snarky, sorry about that, wasn't my intent. I'm interested in building some analog gauges that are "remote" via an ESP32 over the network. This plugin is obviously pulling the real time stats from Unraid, so I'm hoping someone has taken that next step to get it working over IP. I'm hoping I can figure out how to take the data meant for an LCD display and convert that into PWM for analog gauges.

Edited by Bitbass
Link to comment
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.