How to control fan speed of nas perk?

Script for fan control is in Turris Omnia (fan_ctrl.sh), but in my opinion it is impossible in this case to use power cable that comes with the NAS perk.
Look at Fan_ctrl.sh - using for cooler control