2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

この記事について

過去記事で投稿したように、Pironman 5 Maxケースのお陰でRasPi 5をSSD+NPUというロマン構成で起動できるようになりました。しかし、このケースに付属のRGBファンは常時回転。。。騒音メーターで測定してもそれ程大きな音ではありませんが、四六時中一定の音が出ているというのも耳障り。。。何とかならないかと調べていたところ制御コマンドで変更できることが分かりました。これで遂に低消費電力&超静音 Armマシンの完成です。

  • 過去の関連記事

Pironman 5はケースの名前だけでは無く。。。

非常にややこしい話ですが、実はPironman 5というブランド名で、ケース名、制御アプリ名などこのブランドの総称としてPironman 5という名称を用いているようで、制御アプリのコマンドもpironman5というコマンドを用います。GitHubのリポジトリも無論pironman5。この記事でpironman5と記載した場合は制御アプリのコマンドを指すものとします。

実際にコマンドを実行してみる

実際にコマンドを実行してみました。どんなオプションが有るのかpironman5 -hで見えます。

$ pironman5 -h                                                                          
usage: pironman5 [-h] [-v] [-c] [-drd [DATABASE_RETENTION_DAYS]] [-dl [{DEBUG,INFO,WARNING,ERROR,CRITICAL,debug,info,warning,error,critical}]] [-rd] [-cp [CONFIG_PATH]] [-eh [ENABLE_HISTORY]] [-re [RGB_ENABLE]] [-rs [RGB_STYLE]] [-rc [RGB_COLOR]] [-rb [RGB_BRIGHTNESS]] [-rp [RGB_SPEED]] [-rl [RGB_LED_COUNT]] [-u [{C,F}]] [-gm [GPIO_FAN_MODE]] [-gp [GPIO_FAN_PIN]]      
                 [-fl [GPIO_FAN_LED]] [-fp [GPIO_FAN_LED_PIN]] [-oe [OLED_ENABLE]] [-or [{0,180}]] [-op [OLED_PAGES]] [-os [OLED_SLEEP_TIMEOUT]]                                
                 {start,stop,launch-browser,update,uninstall,variant,plugin} ...        
Pironman 5 Max command line interface                                                   options:                                                                                  -h, --help            show this help message and exit                                 
  -v, --version         Show version                                                    
  -c, --config          Show config                                                     
  -drd [DATABASE_RETENTION_DAYS], --database-retention-days [DATABASE_RETENTION_DAYS]   
                        Database retention days                                         
  -dl [{DEBUG,INFO,WARNING,ERROR,CRITICAL,debug,info,warning,error,critical}], --debug-level [{DEBUG,INFO,WARNING,ERROR,CRITICAL,debug,info,warning,error,critical}]           
                        Debug level                                                     
  -rd, --remove-dashboard                                                               
                        Remove dashboard                                                
  -cp [CONFIG_PATH], --config-path [CONFIG_PATH]                                        
                        Config path                                                     
  -eh [ENABLE_HISTORY], --enable-history [ENABLE_HISTORY]                               
                        Enable history, True/true/on/On/1 or False/false/off/Off/0      
  -re [RGB_ENABLE], --rgb-enable [RGB_ENABLE]                                           
                        RGB enable True/False                                           
  -rs [RGB_STYLE], --rgb-style [RGB_STYLE]                                              
                        RGB style: ['solid', 'breathing', 'flow', 'flow_reverse', 'rainbow', 'rainbow_reverse', 'hue_cycle']                                              
  -rc [RGB_COLOR], --rgb-color [RGB_COLOR]
                        RGB color in hex format without # (e.g. 00aabb)
  -rb [RGB_BRIGHTNESS], --rgb-brightness [RGB_BRIGHTNESS]
                        RGB brightness 0-100
  -rp [RGB_SPEED], --rgb-speed [RGB_SPEED]
                        RGB speed 0-100
  -rl [RGB_LED_COUNT], --rgb-led-count [RGB_LED_COUNT]
                        RGB LED count int
  -u [{C,F}], --temperature-unit [{C,F}]
                        Temperature unit
  -gm [GPIO_FAN_MODE], --gpio-fan-mode [GPIO_FAN_MODE]
                        GPIO fan mode, 0: Always On, 1: Performance, 2: Cool, 3: Balanced, 4: Quiet
  -gp [GPIO_FAN_PIN], --gpio-fan-pin [GPIO_FAN_PIN]
                        GPIO fan pin
  -fl [GPIO_FAN_LED], --gpio-fan-led [GPIO_FAN_LED]
                        GPIO fan LED state on/off/follow
  -fp [GPIO_FAN_LED_PIN], --gpio-fan-led-pin [GPIO_FAN_LED_PIN]
                        GPIO fan LED pin
  -oe [OLED_ENABLE], --oled-enable [OLED_ENABLE]
                        OLED enable True/true/on/On/1 or False/false/off/Off/0
  -or [{0,180}], --oled-rotation [{0,180}]
                        Set to rotate OLED display, 0, 180
  -op [OLED_PAGES], --oled-pages [OLED_PAGES]
                        OLED pages, split by ',': mix,performance,ips,disk
  -os [OLED_SLEEP_TIMEOUT], --oled-sleep-timeout [OLED_SLEEP_TIMEOUT]
                        OLED sleep timeout in seconds

Subcommands:
  {start,stop,launch-browser,update,uninstall,variant,plugin}
    start               Start Pironman5
    stop                Stop Pironman5
    launch-browser      Launch browser
    update              Update Pironman5 to latest version
    uninstall           Uninstall Pironman5 completely
    variant             Show or switch product variant
    plugin              Manage plugins (e.g. pipower5)

デフォルトの設定情報を確認してみます。pironman5 -cで確認可能です。

$ pironman5 -c
{
    "system": {
        "data_interval": 1,
        "database_retention_days": 30,
        "temperature_unit": "C",
        "enable_history": true,
        "oled_enable": true,
        "oled_rotation": 0,
        "oled_sleep_timeout": 10,
        "oled_pages": [
            "mix",
            "performance",
            "ips",
            "disk"
        ],
        "rgb_enable": true,
        "rgb_color": "#0a1aff",
        "rgb_brightness": 100,
        "rgb_style": "breathing",
        "rgb_speed": 50,
        "rgb_led_count": 4,
        "rgb_led_count_min": 4,
        "gpio_fan_pin": 6,
        "gpio_fan_mode": 0,
        "gpio_fan_led": "follow",
        "gpio_fan_led_pin": 5,
        "debug_level": "INFO"
    }
}

騒音測定アプリを用いてファンの動作音を測定した結果

動作音を騒音測定アプリで測定してみたところ36dBで「静かな住宅街」と出ていて問題無いような気もしますが、RasPi 5はそもそも低消費電力マシンなのでデフォルトではファンレス状態で販売されています。それを考えると常に一定のRGBファンの動作音が出ているのは耳障りなのでこれを解消できないか考えます。

IMG_0665.png

コマンドで設定

pironman5コマンドで-gmオプションを用いればモードを変更出来るようです。上記のデフォルトの設定を確認するとモード0になっており、常時動作状態になっています。よって、モード2に変更します。

image.png

設定変更

コマンドで設定を変更します。RGBファンの動作モードをモード2に、OLEDの点灯時間を3分に設定(デフォルト10秒)を変更します。

$ pironman5 -gm 2 -os 180
Set GPIO fan mode: 2
Set OLED sleep timeout: 180

設定変更後サービスの再起動が必要です。再起動後ファンが停止します。CPU温度が60℃を超えたらRGBファンが動作します。

$ sudo systemctl restart pironman5.service
 $ sudo systemctl status pironman5.service 
[sudo] password for yvectorfield: 
● pironman5.service - pironman5 service
     Loaded: loaded (/etc/systemd/system/pironman5.service; enabled; preset: enabled)
     Active: active (running) since Wed 2026-07-08 22:25:00 JST; 13h ago
   Main PID: 2694791 (pironman5)
      Tasks: 22 (limit: 18705)
     Memory: 196.5M (peak: 265.7M)
        CPU: 31min 54.837s
     CGroup: /system.slice/pironman5.service
             ├─2694791 /opt/pironman5/venv/bin/python3 /usr/local/bin/pironman5 start
             ├─2694843 influxd
             └─2694855 /usr/bin/dbus-daemon --syslog --fork --print-pid 4 --print-address 6 --session

Jul 08 22:25:01 raspi01 pironman5[2694791]: [INFO] Starting influxdb service
Jul 08 22:25:01 raspi01 dbus-daemon[2694855]: [session uid=0 pid=2694853] AppArmor D-Bus mediation is enabled
Jul 08 22:25:01 raspi01 pironman5[2694791]: [INFO] Addons started
Jul 08 22:25:03 raspi01 pironman5[2694791]: [INFO] Influxdb is ready
Jul 08 22:25:03 raspi01 pironman5[2694791]: [INFO] Database Started
Jul 08 22:25:03 raspi01 pironman5[2694791]: [INFO] Data Logger Start
Jul 08 22:25:03 raspi01 pironman5[2694791]: [INFO] Data Logger Started
Jul 08 22:57:59 raspi01 pironman5[2694791]: [INFO] set fan level: LOW
Jul 08 22:57:59 raspi01 pironman5[2694791]: [INFO] set fan power: 30
Jul 08 22:57:59 raspi01 pironman5[2694791]: [INFO] cpu temperature: 50.7 'C, higher than 60
$ pironman5 -c
{
    "system": {
        "data_interval": 1,
        "database_retention_days": 30,
        "temperature_unit": "C",
        "enable_history": true,
        "oled_enable": true,
        "oled_rotation": 0,
        "oled_sleep_timeout": 180,
        "oled_pages": [
            "mix",
            "performance",
            "ips",
            "disk"
        ],
        "rgb_enable": true,
        "rgb_color": "#0a1aff",
        "rgb_brightness": 100,
        "rgb_style": "breathing",
        "rgb_speed": 50,
        "rgb_led_count": 4,
        "rgb_led_count_min": 4,
        "gpio_fan_pin": 6,
        "gpio_fan_mode": 2,
        "gpio_fan_led": "follow",
        "gpio_fan_led_pin": 5,
        "debug_level": "INFO"
    }
}

まとめ

pironman5コマンドを使って無事低消費電力&超静音 Armマシンが完成しました。次回以降、追跡検証や更にロマンを追及する検証を実施したいと思います。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?