Giter VIP home page Giter VIP logo

Comments (9)

ultrabug avatar ultrabug commented on July 29, 2024 1

Version 3.55 is out!

from py3status.

lasers avatar lasers commented on July 29, 2024

Can we get your sensors -j too? Yeah, I can see how that's annoying.

from py3status.

mlmatlock avatar mlmatlock commented on July 29, 2024

Here you go:

sensors -j

from py3status.

lasers avatar lasers commented on July 29, 2024

You likely can run lm_sensors module twice. First one for sda stuff. Second one for other stuff. That's the current solution right now. I'll look into this issue in the future.

from py3status.

lasers avatar lasers commented on July 29, 2024

Try specifying ordered chips in chips = []. See if that works. (Untested)

EDIT: It may be something like... chips = ["drivetemp-scsi-*-*", "nct6793-isa-*", "coretemp-isa-*", "nvme-pci-*"] to rearrange output from sensors -j so the drivetemp chips comes out first before the other chips.

from py3status.

mlmatlock avatar mlmatlock commented on July 29, 2024

You likely can run lm_sensors module twice. First one for sda stuff. Second one for other stuff. That's the current solution right now.

This is what I started with:

 lm_sensors {
    format_chip = '{format_sensor}'
    format_sensor = '[\?if=name=motherboard MoBo: ]'
    format_sensor += '[\?if=name=cpu CPU: ]'
    format_sensor += '[\?if=name=edge GPU: ]'
    format_sensor += '[\?if=name=composite NVMe: ]'
    format_sensor += '[\?color=auto.input {input:.0f}°C]'
    sensors = ['composite', 'edge', 'motherboard', 'cpu']
    }
    lm_sensors {
    format_chip = '[\?if=name=drivetemp-scsi-0-0 sda: ]'
    format_chip += '[\?if=name=drivetemp-scsi-2-0 sdb: ]'
    format_chip += '[\?if=name=drivetemp-scsi-4-0 sdc: ]'
    format_chip += '{format_sensor}'
    format_sensor = '[\?color=auto.input {input}°C]'
    sensors = ['samsung*', 'hitachi*', 'input']
    }

20231227_17h20m21s_grim

Was trying for colorized output for all temps.

from py3status.

lasers avatar lasers commented on July 29, 2024

It sounds like you got bit by #1927 if using multiple instances.

What about specifying ordered chips (comment above)?
EDIT: Scratch that. It looks like sensors -j doesn't output correctly with chips if specified more than one.
ISSUE: https://github.com/lm-sensors/lm-sensors/issues/372

from py3status.

mlmatlock avatar mlmatlock commented on July 29, 2024

It sounds like you got bit by #1927 if using multiple instances.

What about specifying ordered chips (comment above)? EDIT: Scratch that. It looks like sensors -j doesn't output correctly with chips if specified more than one. ISSUE: https://github.com/lm-sensors/lm-sensors/issues/372

Yeah, #1927 is me.

Wondering if the JSON output could be sorted by sensor?

from py3status.

lasers avatar lasers commented on July 29, 2024

Wondering if the JSON output could be sorted by sensor?

It already does. It just didn't come out right. I made a PR. Talk there.

from py3status.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.