Skip to content

This add-on increases the swap space on your system initially created for Rasberry Pi.

License

Notifications You must be signed in to change notification settings

g1za/increase_swap_addon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Increase Swap Add-on for Home Assistant

This add-on increases the swap space on your system initially created for Rasberry Pi.
You can configure the size and location of the swap file via the Home Assistant interface.

Installation

  1. Navigate to the Supervisor panel in your Home Assistant instance.
  2. Click on the "Add-on store" tab.
  3. Add the repository URL for this add-on.
  4. Install the "Increase Swap" add-on.

Configuration

Before starting the add-on, configure the desired swap size and location in the add-on's configuration panel. The default values are:

  • swap_size: 2048 (2 GB)
  • swap_location: "/backup"

Add-on Behavior

Once the add-on is installed, make sure to leave the "Start on boot" option enabled. The add-on will run at startup and then stop, which is normal.
Its purpose is to check if the swap file exists; if not, it creates the swap file and instructs the system to use it. If the swap file already exists, the add-on ensures that the system uses it.
You can check the add-on logs to confirm that the process has completed successfully.

Credits

Thanks to JZhass for the tip!

About

This add-on increases the swap space on your system initially created for Rasberry Pi.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 91.0%
  • Dockerfile 9.0%