{"id":15374233,"url":"https://github.com/moteus/lua-openhardwaremonitor","last_synced_at":"2026-04-28T20:33:13.459Z","repository":{"id":147045651,"uuid":"95877318","full_name":"moteus/lua-OpenHardwareMonitor","owner":"moteus","description":"Access to OpenHardwareMonitor WMI interface","archived":false,"fork":false,"pushed_at":"2017-07-04T11:31:17.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T00:27:24.580Z","etag":null,"topics":["hardware-monitoring","lua","openhardwaremonitor","windows"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moteus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-30T10:25:26.000Z","updated_at":"2019-06-22T03:47:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"13636cce-7ff7-49b2-9923-c2a74577a8ac","html_url":"https://github.com/moteus/lua-OpenHardwareMonitor","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"5c162ebeb3b71d3af2fbe89eb8082d760fbe176f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-OpenHardwareMonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-OpenHardwareMonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-OpenHardwareMonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-OpenHardwareMonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moteus","download_url":"https://codeload.github.com/moteus/lua-OpenHardwareMonitor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245931826,"owners_count":20695961,"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":["hardware-monitoring","lua","openhardwaremonitor","windows"],"created_at":"2024-10-01T13:57:57.157Z","updated_at":"2026-04-28T20:33:13.400Z","avatar_url":"https://github.com/moteus.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lua-OpenHardwareMonitor\n[![License](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](LICENSE)\n\nAccess to [OpenHardwareMonitor](https://github.com/openhardwaremonitor/openhardwaremonitor) WMI interface\n\n\n\n# Usage\n```Lua\nlocal monitor = OpenHardwareMonitor.new()\n\n-- Connect to OpenHardwareMonitor MWI source\nmonitor:open()\n\n-- get all information as 2 arrays\nlocal hardware, sensors = monitor:fetchAll()\n\n-- get information as tree (similar as in GUI)\nlocal tree = monitor:buildTree()\n\n-- select specific sensors/hardware by names\nlocal rs = monitor:select{\n  {'/intelcpu/0', 'Temperature'};\n  {'/intelcpu/0', 'Voltage'};\n}\n\nlocal Temperatures = rs[1]\nif Temperatures then\n  for _, v in ipairs(Temperatures) do\n    print(v.name, v.value)\n  end\nend\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoteus%2Flua-openhardwaremonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoteus%2Flua-openhardwaremonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoteus%2Flua-openhardwaremonitor/lists"}