Skip to content

fix: handle float and string values for BTMiner V3 fan speed#415

Open
bugy855 wants to merge 2 commits intoUpstreamData:masterfrom
bugy855:fix/btminer-fanspeed-not-handling-float-or-string-values
Open

fix: handle float and string values for BTMiner V3 fan speed#415
bugy855 wants to merge 2 commits intoUpstreamData:masterfrom
bugy855:fix/btminer-fanspeed-not-handling-float-or-string-values

Conversation

@bugy855
Copy link

@bugy855 bugy855 commented Feb 19, 2026

I found that miner models M63S_VL59 and M63S_VK28 were not returning integers for their fan speed resulting in this error.

APIError: Failed to call fan_psu on M63S VL50 (Stock).

This fix adds the ability to convert float and string values to integer values if the rpm is not already an integer.
The change also includes unit tests to cover this scenario for BTminers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments