Add Overclock capability to HA OS on raspberry pi

If the developers could add OC Support for the RPi running HA Os(if this is even possible), since this would give people to use HAOS with more Load, without the need for better hardware.
Most People want a dedicated device for HA, so adding a functionality this basic would be nice.
Any response is appreciated.

You can do this yourself.

The first time you need to enable SSH access to the host.

Then edit this file
Try sudo nano /mnt/boot/config.txt after logging in with ssh.

mine looks like this

over_voltage=6
arm_freq=2000

In configuration.yaml

sensor:

  • platform: command_line
    name: CPU Governor
    command: “cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor”

switch:

  • platform: command_line
    switches:
    cpu_governor_performance:
    friendly_name: CPU Governor (performance)
    command_on: “echo "performance" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor”
    command_off: “echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor”
1 Like

Does this still work? I added the lines to the config when the sdcard was still connected to my PC, and then I booted up the pi and added the lines to the config. I don’t seem to find any sensors or switches after a config reload. Any assist would be wonderful. Does the overvolt work even without the config stuff?