pimoroni / fanshim-python

Python library for the Fan SHIM for Raspberry Pi
https://shop.pimoroni.com/products/fan-shim
MIT License
295 stars 85 forks source link

Running install-service.sh on LibreELEC 5.10.95 produces syntax errors #113

Closed williamlugg closed 1 year ago

williamlugg commented 2 years ago

I'm attempting to install the fanshim on a RPI running LibreELEC v5.10.95. When I run the install-service.sh file via ssh it fails reporting a syntax error at line 4: bad substitution and a syntax error on line 9: unexpected "(". After some tinkering I discovered the line 4 error is actually on line 3.

FWIW, I also tried the Kodi fanshim tool by jane_t from the github repository, but it doesn't seem to turn the fan on...but that's a separate issue.