{"id":21002502,"url":"https://github.com/pimatic/pimatic-sysinfo","last_synced_at":"2025-05-15T00:31:11.663Z","repository":{"id":19672101,"uuid":"22925752","full_name":"pimatic/pimatic-sysinfo","owner":"pimatic","description":"Plugin for displaying system and process information such as CPU and Memory usage for pimatic","archived":false,"fork":false,"pushed_at":"2019-04-15T22:12:16.000Z","size":144,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-08T20:51:11.005Z","etag":null,"topics":["cpu-monitoring","memory-usage","monitoring","network-monitoring","pimatic","pimatic-plugin","sysinfo","system-information"],"latest_commit_sha":null,"homepage":"https://pimatic.org/","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pimatic.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-13T18:06:28.000Z","updated_at":"2019-04-15T22:12:18.000Z","dependencies_parsed_at":"2022-08-24T04:50:09.213Z","dependency_job_id":null,"html_url":"https://github.com/pimatic/pimatic-sysinfo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-sysinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-sysinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-sysinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-sysinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pimatic","download_url":"https://codeload.github.com/pimatic/pimatic-sysinfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225316758,"owners_count":17455310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpu-monitoring","memory-usage","monitoring","network-monitoring","pimatic","pimatic-plugin","sysinfo","system-information"],"created_at":"2024-11-19T08:18:56.669Z","updated_at":"2024-11-19T08:18:57.274Z","avatar_url":"https://github.com/pimatic.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"pimatic-sysinfo\n===============\n\nPlugin for displaying  system and process information such as CPU and Memory usage \n for pimatic setups on Linux and Windows. MacOS should also work, but has not been tested. \n \nThe plugin is based on the \n [systeminformation project](https://github.com/sebhildebrandt/systeminformation) \n developed by Sebastian Hildebrandt which realizes a lightweight abstraction layer \n for the acquisition of system information on various operating systems.\n\n### Supported values:\n\n* CPU usage (percent): `\"cpu\"`\n* Memory active usage (bytes): `\"memoryUsed\"`\n* Memory active usage (percent): `\"memoryUsedPercent\"`\n* Memory free, including cache \u0026 buffers (bytes): `\"memoryFree\"`\n* Memory free, including cache \u0026 buffers (percent): `\"memoryFreePercent\"`\n* Disk usage (percent) for a single mount point: `\"diskUsage\"`\n* Number of processes: `\"processes\"`\n* System temperature (Celsius ℃): `\"temperature\"`\n* System temperature (Fahrenheit ℉): `\"temperatureF\"`\n* System uptime in seconds: `\"systemUptime\"`\n* WiFi received signal level (dBm): `wifiSignalLevel` \n* Network interface throughput received (bps): `nwThroughputReceived` \n* Network interface throughput sent (bps): `nwThroughputSent` \n* Pimatic SQLite database size (bytes): `\"dbSize\"`\n* Pimatic process RSS memory (bytes): `\"pimaticRss\"`\n* Pimatic process used heap memory (bytes): `\"pimaticHeapUsed\"`\n* Pimatic process total heap memory (bytes): `\"pimaticHeapTotal\"`\n* Pimatic process uptime (seconds): `\"pimaticUptime\"`\n\nNotes:\n* Database size is only applicable if builtin SQLite database\n  is being used\n* RSS is the amount of space occupied in the main memory device \n  (that is a subset of the total allocated memory) for the \n  process, which includes the heap, code segment and stack\n* The attribute `wifiSignalLevel` is currently only supported on Linux\n* The spelling for some attributes has been changed in release 0.9.5. The\n  device configuration setup for earlier releases will be transformed \n  automatically. However, you may need to update references in rule and\n  variable definitions. See table below.\n* Version 0.9.5 provided different values for memory usage \n  than earlier versions of the plugin. The value \n  for `\"memoryUsed\"` also included reclaimable cache \n  and buffer space while earlier versions only measured the \n  active memory usage. Since Version 0.9.6 this has been \n  changed back to monitoring active and \n  available (total - active) memory. \n\n| old | new |\n|:----|-----|\n| diskusage | diskUsagePercent |\n| dbsize | dbSize |\n| uptime | systemUptime |\n| memory | memoryUsed |\n| memoryRss | pimaticRss |\n| heapUsed | pimaticHeapUsed |\n| heapTotal | pimaticHeapTotal |\n  \n### Plugin Configuration\n\n```\n{ \n  \"plugin\": \"sysinfo\"\n}\n```\n\n### Device Configuration\n\n#### Examples:\n\n```json\n{\n  \"class\": \"SystemSensor\",\n  \"id\": \"system-info\",\n  \"name\": \"System\",\n  \"attributes\": [\n    {\n      \"name\": \"cpu\"\n    },\n    {\n      \"name\": \"memoryUsed\"\n    },\n    {\n      \"name\": \"diskUsagePercent\",\n      \"path\": \"/\"\n    }\n  ]\n}\n```\n\n\n```json\n{\n  \"class\": \"SystemSensor\",\n  \"id\": \"system-temp\",\n  \"name\": \"System Temp.\",\n  \"attributes\": [\n    {\n      \"name\": \"temperature\",\n      \"interval\": 5000\n    }\n  ]\n}\n```\n\n### Trouble Shooting\n\n* The value for `temperature` is -1\n    \n  On Windows, admin privileges are required in some setups to query the \n  temperature with the underlying `wmic` tool. If you're running on Linux,\n  please report an issue with the Linux distribution, version and hardware \n  used.\n  \n* I would like to display the uptime in a human readable format\n\n  You can set the `displayFormat xAttributeOption` for attribute `systemUptime`\n  or `pimaticUptime` to the value `uptime`. \n\n### Credits\n\n\u003cdiv\u003eIcon made by \u003ca href=\"http://www.freepik.com\" title=\"Freepik\"\u003eFreepik\u003c/a\u003e is licensed under \u003ca href=\"http://creativecommons.org/licenses/by/3.0/\" title=\"Creative Commons BY 3.0\"\u003eCC BY 3.0\u003c/a\u003e\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimatic%2Fpimatic-sysinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpimatic%2Fpimatic-sysinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimatic%2Fpimatic-sysinfo/lists"}