Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 4 FirstFirst ... 234
Results 31 to 39 of 39
  1. #31

    help, beginner's here !

    Hi,

    I need some help using the script.
    I have this case too !! (amazing by the way)

    - I have installed the both package from extensions page in PCP
    - Created a textfile and copy the script from Paul rename it argononed.py
    - Transfert it to /home/tc with filezilla
    - Add python3 /home/tc/argononed.py to "user commads #1" on tweaks page
    - Reboot pcp

    But now i don't understand what to do to make it works ?

    And how to see the cpu temp ? vcgencmd measure_temp doesn't work

    Thanks helping

  2. #32
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,063
    There is a temperature graph option on the Extras pages.

    If you want to use vcgencmd, then you need to install rpi-vc.tcz extension
    Last edited by paul-; 2020-02-13 at 10:54.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  3. #33
    Quote Originally Posted by paul- View Post
    There is a temperature graph option on the Extras pages.
    I know but i prefere using ssh command, more user-friendly in my use

    rpi-vc is already installed! it said but the command doesn't work

    VCHI initialization failed

    EDIT : My bad forget to use sudo. now works for the temp checking
    Last edited by a491765; 2020-02-13 at 10:59.

  4. #34
    Senior Member
    Join Date
    Apr 2019
    Location
    Wunstorf, Germany
    Posts
    261
    Quote Originally Posted by paul- View Post
    There is a temperature graph option on the Extras pages.
    On the Diagnostic page there is a "Raspberry Pi" option. There you can also see the actual temperature.

    And you have to use
    Code:
    sudo modprobe i2c-dev
    as the first user command!

    If you want to change the temperatures and the fan speed, you have to change this line inside the script to eg.:
    Code:
    fanconfig = ["65=100", "60=55", "55=30", "50=10", "30=0"]
    Last edited by carsten_h; 2020-02-13 at 10:59.

  5. #35
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,063
    Post the output of what it says when you try to run it.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  6. #36
    Quote Originally Posted by carsten_h View Post
    On the Diagnostic page there is a "Raspberry Pi" option. There you can also see the actual temperature.

    And you have to use
    Code:
    sudo modprobe i2c-dev
    as the first user command!

    If you want to change the temperatures and the fan speed, you have to change this line inside the script to eg.:
    Code:
    fanconfig = ["65=100", "60=55", "55=30", "50=10", "30=0"]
    I don't use fan because my rpi never reach more than 40-42 ░ standard settings are ok for me.

    Thanks for help i add both user command (attached image) Am I right this way ?

    Name:  Screenshot_20200213_190417.jpeg
Views: 109
Size:  32.5 KB

    Last question : when i click shutdown from pcp main page the sytem shutdown but don't off the LED.
    Or under raspbian the original script using reboot command from temrinal or shutdown from system shutdown the hole system and the red LED

    # pcp rb does a good reboot way
    # pcp sd shutdown system but the LED still on

    It's like if the system handle, I had to hold power button 5 sec to completly off the rpi.

    How to reproduce that ?
    Last edited by a491765; 2020-02-13 at 11:52.

  7. #37
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,063
    Quote Originally Posted by a491765 View Post
    I don't use fan because my rpi never reach more than 40-42 ░ standard settings are ok for me.

    Thanks for help i add both user command (attached image) Am I right this way ?

    Name:  Screenshot_20200213_190417.jpeg
Views: 109
Size:  32.5 KB

    Last question : when i click shutdown from pcp main page the sytem shutdown but don't off the LED.
    Or under raspbian the original script using reboot command from temrinal or shutdown from system shutdown the hole system and the red LED

    # pcp rb does a good reboot way
    # pcp sd shutdown system but the LED still on

    It's like if the system handle, I had to hold power button 5 sec to completly off the rpi.

    How to reproduce that ?
    The linux shutdown command doesn't manage the power boards. Typically the powerboard monitors the gpio, and then drops power when done, I have no idea about this powerboard.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  8. #38
    Quote Originally Posted by paul- View Post
    The linux shutdown command doesn't manage the power boards. Typically the powerboard monitors the gpio, and then drops power when done, I have no idea about this powerboard.
    Thank you a lot for you help Paul (as always !)
    The original script from Argon for Raspbian Os does it well, do you think the answer could be here ?

  9. #39
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,063
    Quote Originally Posted by a491765 View Post
    Thank you a lot for you help Paul (as always !)
    The original script from Argon for Raspbian Os does it well, do you think the answer could be here ?
    Raspbian has hooks into the shutdown system, that we don't have in our bare bones OS.........just push the button on the power board to shutdown.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

Posting Permissions

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