Setup OPENRGB profile or RGB device mode according to device sensors. CPU Temperature, GPU temperature and many more hardware dependant devices - Windows family.
Hello, everyone. I have SilverStone Raven SST-RVZ02B mini Itx PC case. In small PC cases, Airflow, CPU, GPU temperature are really important, so I want to use my RGB components to communicate, illuminate colour, the pattern according to hardware usage. I have made research the: Win32_TemperatureProbe class is not always implemented in the system and it doesn’t have the required information.
OpenHardwareMonitor https://openhardwaremonitor.org/ has everything that I need. This program can collect all of the sensors computer collection and put in one class. You can even set up RGB profile according to your SSD temperature sensor I made donation 5 bucks for this project :) Because it's a great program.
I have made this script in Powershell. everything works I might extract every aspect sensors of my PC required sensor value. Next step is set up proper RGB profile or setup RGB device mode the issue is : OpenRGB works right when is in GUI mode only. When I run and load profile from command mode. Colours don't change, only pattern. It is not acceptable. I'm aware that OpenRGB is at an early stage. I think that it will be better switching device from SDK interface rather than command prompt I want to use OpenRGB exported functions ( included in Cli.cpp) to setup mode of the device I'm aware that usage of it must be wise, otherwise, user can damage their device. I want to at this moment only change colour and pattern which is allowed. So perform only safe commands. Is it possible to make a safe class and export some functions to be visible by OS and also allow Run OpenRGB in Background or windows service?
Here is skeleton the script in PowerShell which can be adjusted to user needs Runrgbset2.ps1