github.com/e154/smart-home@v0.17.2-0.20240311175135-e530a6e5cd45/doc/content/en/docs/plugins/memory.md (about) 1 2 --- 3 title: "Memory" 4 linkTitle: "memory" 5 date: 2021-10-20 6 description: > 7 8 --- 9 10 {{< figure src="/smart-home/ram1.png" width="300" >}} 11 12 13 14 15 16 In the **Smart Home** system, there is a "memory" plugin that allows you to display the parameters of the RAM (random access memory). This plugin provides access to the following parameters: 17 18 1. `total`: The `total` parameter displays the total amount of system memory in bytes. 19 20 2. `free`: The `free` parameter indicates the amount of free memory in bytes. 21 22 3. `used_percent`: The `used_percent` parameter shows the percentage of memory usage. 23 24 Here's an example of using the "memory" plugin to retrieve RAM parameters: 25 26 ```javascript 27 const ramParams = EntityGetAttributes('memory.memory') 28 console.log(ramParams.total); 29 console.log(ramParams.free); 30 console.log(ramParams.used_percent); 31 ``` 32 33 You can use these parameters to display information about the RAM in your **Smart Home** project.