tjaworski / AceMagic-S1-LED-TFT-Linux

ACEMAGIC S1 Mini TFT/LCD and LED Control for Linux
GNU General Public License v3.0
133 stars 16 forks source link

Screen Template and Temperature #25

Open vdhub opened 3 months ago

vdhub commented 3 months ago

Hello ,

I try to see the screen and i would like to have only 1, if possible either the screen 2 or screen 1, i both Portrait and landscape

How i can do that ?

And it seems that the temperature is shown in F instead of C , is there a way to change that ?

On my side it seems that i have no network traffic at all, is there a way to fix that as well ?

Debian 12.6 server, no gui node : v18.19.0 npm : 9.2.0

Thanks a lot

tjaworski commented 3 months ago
  1. you can't mix orientation in a single theme, you will need to create two themes, one for portrait and one for landscape.
  2. in config.json, look under cpu_temp sensor, you will see fahrenheit setting, change it to false.
  3. in config.json, look under network, make sure you have the correct interface name for your network.
vdhub commented 3 months ago

got it, thanks a lot.

I guess it would be nice if we could do those more easier, On landscape it would help for example to show the ip of the server, maybe storage information and i guess if not to complicated maybe the temp when it increases over a threshold to change the color to more warm until it reaches to red when CPU Is on the top limit.

It would be nice to be able to change those led's and for example use them as storage bar graph but i guess we cannot do that , they are there just for the design and animation.

Thanks

tjaworski commented 3 months ago

i've been developing a storage sensor to display disk usage and related metrics, but I haven't had the opportunity to complete it. I can also integrate the IP address into the network sensor as one of the available tokens.

changing the color of an element based on a certain threshold is feasible, but it requires a more widget-specific approach rather than a general sensor adjustment. this functionality can certainly be added to some of the widgets.

regarding the LED, as far as I'm aware, there's no current method to set it to a specific color. The LED firmware only permits adjustments to animation, brightness, and speed settings.