GithubHelp home page GithubHelp logo

baby636 / rgblightplugins Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erkr/rgblightplugins

1.0 0.0 0.0 90 KB

RGB light plugins for CoreTemp (alcpu) to control the PC RGB LEDs based on CPU temperature and CPU load

License: GNU General Public License v2.0

C++ 95.77% C 4.23%

rgblightplugins's Introduction

RGBPlugins for CoreTemp

A CoreTemp (alcpu) plugin , that controls your PC RGB LEDs based on the actual CPU temperature and CPU load. The colors (can be adjusted) are mapped from blue for cold to cyan->green->yellow->Red for Warm up to violet for critical.

The intensity is based on the CPU load (can be disabled).

Motherboard support.

The RGBPlugins solution contains two projects. Just use the one that fits your needs:

  • MSI MysticLight: For MSI boards supporting the MSI MysticLight SDK. You need to install the MSI DragonCenter service with the MysticLight addon.
  • OpenRGB: For all Boards supported by the open source project OpenRGB. You need to run the OpenRGB package with the Server SDK enabled.

Some considerations:

  • The MSI Mysticlight SDK was not relaiable for a long time. Since the latest version (included in the package) it seems to connect fine. One issue (at least on my Motherboard) is that the LEDs briefly flicker every time they get a new setting.
  • OpenRGB is a very ambitious new open source project that aims to control all RGB PC devices via one interface. It is not yet very mature (as I speak it is version 0.4). It supports my MSI Motherboard board, but at startup it often doesn’t recognize the RGB hardware.

Install notes:

Create a plugins directory in your CoreTemp folder if it not yet exists. e.g.: C:\Program Files\Core Temp\plugins Within that folder, a sub-directory is needed for every CoreTemp plugin. e.g.: C:\Program Files\Core Temp\plugins\RGB Depending if you have a 32 or 64 bits version of CoreTemp, you copy the 32 or 64 bits version of the RGBplugin into the RGB plugin folder. If you use the MSI plugin version, the 32 or 64 bits SDK DLL needs to be added there as well. With a good old INI-file the temperature-color mapping can be adjusted. Just press the configure button in the CoreTemp plugin manager. It will launch Notepad with the plugin ini file. In this INI-file both the temperature ranges and the corresponding color ranges can be adjusted.

When Notepad is closed, the new settings wil be loaded.

PlugIn setting in the INI-File:

[OpenRGB_Settings]     // only applicable for the OpenRGB version
OpenRGBIP=127.0.0.1    // default for local host
OpenRGBPort=6742       // the default port for the Open RGB Server 
OpenRGBMode=0          // Needs to be the direct mode, normally the first one
[General_Settings]
doBeepForExceptions=0  // if not zero the plugin will beep when the MSI/OpnRGB SDK throws an exception
ControlIdx=0           // The RGB device index to be used. 
[Core_Temp_Mappings]
TColdBelow=25          // All CPU temps below this threshold have the HUECold color (default is Blue)
TWarm=55               // The CPU Warm temperature (default color RED)
THot=60                // The CPU Hot temperature (default color RED up to this temperature)
TCriticalAbove=80      // The CPU Critical temperature (Violet above this temperature)
[Core_Load_Mappings]
LoadBasedIntensity=1   // Default is 1 where the itensity is based on the CPU load. Set to 0 to disable
ILowPct=10             // Intensity for 0% CPU load
IHighPct=100           // Intensity for 100% CPU load
[Color_HUE360_Mappings]// Colors are defined as a 360 hue circle. Values below 0 or above 360 will work as well! -360=0=360=720 etc
HUECold=240            // Start color (default 240 = Blue)
HRangeCold2Warm=-240   // The HUE range from Cold to Warm. Default -240, (from 240 down to 0 : blue->cyan->green->yellow->Red)
HRangeWarm2Hot=0       // Default no color change between Warm to Hot (all RED)
HRangeHot2Critical=-20 // Default -20 (from 0 down to -20: Red to violet)

The HUE 0-360 scale:

The code was compiled, using VS2019 Version 16.6.2

Success.

rgblightplugins's People

Contributors

erkr avatar

Stargazers

kristof kaehler avatar

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.