baryluk / fnirsi-usb-power-data-logger

Driver / Data logger for FNIRSI FNB48, FNIRSI C1 and FNIRSI FNB58 USB Power meter
MIT License
141 stars 14 forks source link

incompatible with FNB58 using firmware V0.68 #19

Open maribu opened 7 months ago

maribu commented 7 months ago

After updating to firmware V0.68 running the script causes the device to freeze and the script to get a timeout error. Setting refresh to 0.003 in

https://github.com/baryluk/fnirsi-usb-power-data-logger/blob/74c950f7fc9edd4a4d15b17a1f29f1869d05b247/fnirsi_logger.py#L304

fixes the issue for me.

Sorry, I do not have a time to figure out a way to detect the firmware version, trace down since which firmware version the behavior has changed, and create a PR. But maybe just dumping this info here already helps others.