CommentStreams:D708f231b814a60b9f4c4739b7b91e8a
OS: 2021-10-30-raspbian-bullseye-armhf lite version
Your script doesn't work. After using the xoff command the system turns off, but using the button the fan starts at maximum and the red led does not turn off. Also I point out that it is impossible to install python-smbus as it reports me that the package is missing. The script has been tested on at least 5 raspberry with your case but none seem to work. I would also like an implementation of a custom path for the installation of the script, as it seems to me that your product was not given to me but was purchased.