TEMPered
TEMPered copied to clipboard
Simple suggestion for CMake newbies
I am thrilled that this project exists and is working across so many versions of hardware for the TEMPerX products. I'd like to make a quick suggestion for those of us who have been using make forever, and have never used cmake. Could you add something short like this to the README file? :
To build this project, you'll need to have a built copy of HIDAPI[1] on your system somewhere, and a working installation of the CMake[2] build system.
First, you either run make in the top-level directory, or create a build
directory and run cmake yourself - then change into the build dir and run make.
CMake will create several compile-related folders and files in TEMPered/build. The resulting messages will tell you where the library/resource files and binaries have been copied to.
CMake noob here, the instructions weren't clear to me. I got it to work like this (for future searchers):
mkdir build
cd build
cmake ..
make
make install
Then the utility was available at utils/tempered
Got a "new updated" TEMPer 413d:2107 device from Amazon. The Windows software "TEMPer V26.1" from SHENZHEN RDING TECH CO.,LTD. works and reports "Firmware: TEMPerGold_V3.1" The included 1-page "User Manual" claims Linux support, without further explanation. It's from ikkegol.com and they were brave enough to include a support email address, but no reply yet. The TEMPered project 'hid-query' sees only my keyboard and mouse, not the TEMPer device. I did compile and install the github.com/signal11/hidapi project using libusb backend (not hidraw) and then I was able to read out the hex string containing the temperature value using 'sudo hidapi/testgui/testgui' and then connecting to the second 413d:2107 device that appears, and manually sending 0x01 0x80 0x33 0x01 0x00 0x00 0x00 0x00 to it as described at https://github.com/padelt/temper-python/issues/84 but I don't know how to script that process. EDIT: just got it to work! See the above link for my solution.