I have a TEMPer2HumiV1.x connected to a Raspberry Pi. There are no other USB devices connected.
I have a cron script which polls this device every minute. At first everything works fine. I get a temp, humidity, dewpoint.
After what seems like 18-20 hours on average, the device will stop working. When I query it, I get:
$ sudo ./tempered
/dev/hidraw1: Could not open device: HID write failed: (null)
However it seems to 'be there':
$ sudo ./tempered -e
/dev/hidraw1 : TEMPer2HumiV1.x (USB IDs 0C45:7402)
$ sudo ./utils/hid-query -e
/dev/hidraw0 : 0c45:7402 interface 0 : RDing TEMPERHUM1V1.2
/dev/hidraw1 : 0c45:7402 interface 1 : RDing TEMPERHUM1V1.2
If I restart the Raspberry Pi, it starts working again. I didn't see any messages at all in dmesg. Is there anything else I can look at or troubleshoot?