Git Product home page Git Product logo

hardwaresupervisorrainmeterplugin's Introduction

HardwareSupervisorRainmeterPlugin

HardwareSupervisorRainmeterPlugin is a Rainmeter Plugin used to show HardwareSupervisor sensors data. It's based on PluginWMI made by E.Butusov [email protected] https://github.com/ebutusov/RainmeterPlugins/tree/master/PluginWMI

Idea behind it

I was a lot frustrated to use an Administrator account to run all hardware monitoring software like Open Hardware Monitor or others. For security reasons it's quite normal today to use a normal account to achieve all day operations, so if you want to run hardware monitoring software you have to enter administrator password to continue. But with a windows service this step is no more necessary! To achieve this goal I've developed HardwareSupervisor: https://github.com/darkbrain-fc/HardwareSupervisor but some widgets were needed to show information collected by HardwareSupervisor. So HardwareSupervisorRainmeterPlugin was born.

WMI

HardwareSupervisorRainmeterPlugin uses Windows Management Instrumentation(WMI) protocol to show data, so it's not necessary to use it with HardwareSupervisor, it can collect information from other WMI sources.

Install

Simply double click the .rmskin file or drag&drop it into the rainmeter dashboard, then press install.

Configurator

Because Rainmeter uses ini files to configure plugins and they are quite strange to modify, Configurator comes in hand to simplify ini file creation. It's quite basic, you can specify a WMI namespace (root\HardwareSupervisor by default), and you can write your own WMI query (SELECT * FROM Sensor for example) and then you can press Search. A simple list of keys and values will appear. Remove with Canc all rows that you don't want to see in HardwareSupervisorRainmeterPlugin, and edit Name entries to what you want. Then press Update and HardwareSupervisor.ini file will be generated into C:\Users\<Your account>\Documents\Rainmeter\Skins\HardwareSupervisor directory and then you can refresh the skin. It was designed to work with HardwareSupervisor so probably it will not work correctly with outhers namespaces, anyway you can tweak HardwareSupervisor.ini file to accomplish your needs.

HardwareSupervisor

HardwareSupervisor: https://github.com/darkbrain-fc/HardwareSupervisor

Future goals

  • Add some eyecandy
  • Enhance Configuration integration

hardwaresupervisorrainmeterplugin's People

Contributors

dinopulleruqido avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

hardwaresupervisorrainmeterplugin's Issues

"Measuring Time" every second in Rainmeter log

Now that the WMI query issue is fixed, I have noticed that in the Rainmeter log, there's an entry "Measuring time: 34.999424" (the numbers vary between 26 and 34). This entry occurs almost every second, which makes me think it's happening on each Rainmeter update (the skins which access HardwareSupervisor do so every second).

WMI Query Failed errors in Rainmeter log

I've just installed HardwareSupervisor, and have updated my skins. It's working great, and has allowed me to eliminate the need for MSI Afterburner and HWInfo.
However, I've noticed that the Rainmeter log is generating two errors on every Update: "Query:" and "WMI Query failed". Because my skin updates every second, the log rapidly fills with these errors. I also get a Notice "Measuring Time" on every Update.
Any idea what's causing what appears to be a "blank" query? I used the code you provided to enable HardwareSupervisor:
[MeasureServiceStatus]
Measure=Plugin
Plugin=HardwareSupervisor
Namespace=root\HardwareSupervisor
Query=SELECT * FROM Sensor

Documentation

Is there any documentation to see how this works?

I got the service installed and running, but I have no idea where it's storing the log files, where I should put the config.yaml file, what's the syntax of that config.yaml file, etc. I can't even see where the executable is (if there's one...)

The get-wmiobject -namespace "root/HardwareSupervisor" -Class Sensor line doesn't work yielding this error:

get-wmiobject: The term 'get-wmiobject' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

I haven't tried rainmeter, but that's because I don't want to use RM. My final goal is to feed data from this service into Telegraf and go from there.

Can I have a web server providing data like in LibreOfficeMonitor?

Thanks for your help.

EDIT: It seems Get-WmiObject was deprecated long time ago and is not present in PowerShell Core, but still works in the original PowerShell that's installed on Windows (the HardwareSupervisor service is working in my system and I got data from running the line on the old Powershell). I got it to work, but shouldn't there be a way to use that query with up to date commands?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.