Results 1 to 3 of 3

Thread: Why my Conky voltages it's different to " sensors " command in terminal ?

  1. #1
    Join Date
    Sep 2017
    Beans
    26

    Red face Why my Conky voltages it's different to " sensors " command in terminal ?

    Hello !!!

    I have the follow problem.

    Why my Conky voltages ( +5,0V and +12,0V ) are differents to " sensors " command in terminal ?

    In Conky +5,0V show +3,1V and +12,0V show +3,0V.

    In terminal ( " sensors " command ) +5,0V show +5,04V and +12,0V show +11,94V.

    I have in /etc/sensors.d/sensors the follow script:

    chip "it87-*"

    label "Vbat"

    compute in3 @*((6.8/10)+1), @/((6.8/10)+1)
    compute in4 @*((28/10)+1), @/((28/10)+1)
    I too executed the command " sensors-detect " in terminal and reboot my system.

    How solve it ?

    Thanks very much !!!
    Last edited by henrique-rj; June 15th, 2018 at 01:21 PM.

  2. #2
    Join Date
    Sep 2017
    Beans
    26

    Re: Why my Conky voltages it's different to " sensors " command in terminal ?

    I try in conky.conf, " +5V:${hwmon 1 vol 3} ${@*((6.8/10)+1), @/((6.8/10)+1)}V " and others combinations but without results.

  3. #3
    Join Date
    Sep 2017
    Beans
    26

    Re: Why my Conky voltages it's different to " sensors " command in terminal ?

    eureka !!!

    I solved it whit fowlling script in /etc/sensors.d/sensors.conf

    Code:
    chip "it87-*"
    
    label in8 "Vbat"
        
    compute in3 @*((6.8/10)+1), @/((6.8/10)+1)
    compute in4 @*((30/10)+1), @/((30/10)+1)
    
    compute fan1 @/4, 2*@
    compute fan2 @/4, 2*@
    And aditional script in ~/.conkyrc

    After

    +5,0V:${hwmon 1 vol 3}V

    Before

    +5,0V:${exec sensors | awk '/in3/ { print $2 }'}V

Tags for this Thread

Bookmarks

Posting Permissions

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