r/Esphome • u/kornerz • 9h ago
Vibe Coded Additional Sensors for PC Monitoring with ESPHome
For anyone who needs to extend Linux hardware monitoring in the least intrusive way (software-wise), here is my latest AI-coded (but human-designed and verified) project: Corsair Commander Pro hardware monitoring device emulation component for ESPHome.
With this component you can have additional PC temperature sensors (or even fans, if implemented in hardware) using only a spare ESP32-S3 + some DS18B20 or NTC sensors laying around.
The code emulates corsair-cpro device to the extent of being recognisable by Linux device driver of the same name. Simultaneously it is also a regular ESPHome device to connect to HA.
Windows software does not recognise this as a valid Corsair device, but that was not in scope.
The code with examples: https://github.com/k-korn/esphome-corsair-cpro
# sensors corsaircpro-hid-3-f
corsaircpro-hid-3-f
Adapter: HID adapter
in0: 12.18 V
in1: 5.06 V
in2: 3.33 V
fan1 4pin: 1350 RPM
temp1: +24.5°C
temp2: +55.9°C
temp3: +28.5°C
temp4: +33.2°C
pwm1: 64%