Posts by hninmaung

    I changed the /storage/argononed.conf as follow. It's worked pretty fine for me with the setting as

    Min Temp=Fan Speed

    40=5

    45=10

    50=25

    55=50

    60=80

    65=100

    Since I don't want to fried my pi, I leave 65=100 in no condition. So it'll say fan off but will turn on at 65 with 100.

    #!/bin/bash

    daemonconfigfile=/storage/argononed.conf

    echo "--------------------------------------"

    echo "Argon One Fan Speed Configuration Tool"

    echo "--------------------------------------"

    echo "WARNING: This will remove existing configuration."

    echo -n "Press Y to continue:"

    read -n 1 confirm

    echo

    if [ "$confirm" = "y" ]

    then

    confirm="Y"

    fi

    if [ "$confirm" != "Y" ]

    then

    echo "Cancelled"

    exit

    fi

    echo "Thank you."

    echo -n "Press Y if you want the fan to be always on:"

    read -n 1 confirm

    echo

    if [ "$confirm" = "y" ]

    then

    confirm="Y"

    fi

    echo "#" > $daemonconfigfile

    echo "# Argon One Fan Speed Configuration" >> $daemonconfigfile

    echo "#" >> $daemonconfigfile

    echo "# Min Temp=Fan Speed" >> $daemonconfigfile

    if [ "$confirm" != "Y" ]

    then

    echo 65"="100 >> $daemonconfigfile

    echo "Fan off."

    else

    echo 40"="5 >> $daemonconfigfile

    echo 45"="10 >> $daemonconfigfile

    echo 50"="25 >> $daemonconfigfile

    echo 55"="50 >> $daemonconfigfile

    echo 60"="80 >> $daemonconfigfile

    echo 65"="100 >> $daemonconfigfile

    echo "Fan always on."

    fi

    systemctl restart argononed.service