Comments (11)
Would this explain why I am unable to power down the fan? Running the example service the LED is behaving as expected but the fan remains on at all times.
from fanshim-python.
It would indeed!
Update: We're doing what we can to help with the RPi.GPIO fixes, but ultimately they're completely out of our control. I'm in no position to put a timeline on things but I would, at a complete and total guess, expect an update by the end of next week.
from fanshim-python.
@thallada I had the same problem with two shims. I think it must have been an issue with the Pi header being slightly off shape or something. The solution was to add a tiny drop of solder on pin 12 ... you can test it with a jumper wire first to make a good connection between the shim and the Pi.
from fanshim-python.
And the answer is: The button is configured wrong, or there has been a hardware revision.
fanshim = FanShim(pin_button=3) works
from fanshim-python.
If you're using a Pi 4, this is because RPi.GPIO currently does not support setting pull up/down states on pins, so the button doesn't have the correct pull resistor set.
The button is additionally connected to BCM3 only to bring the Pi out of a low power state, and this workaround would conflict with any i2c devices you might use. If you're okay with that- then using BCM3 is fine- since it's part of the i2c bus it actually has a hardware pull-up resistor already in place, so RPi.GPIO not working doesn't effect it.
from fanshim-python.
Ok, then this issue will propably fix itself in a few days time once RPi.GPIO is fixed :)
from fanshim-python.
@scottsweb fyi, the fan part always worked fine for me. (as did the led)
from fanshim-python.
Thanks for the updates.
Interesting that your fan control worked @mtowara - I wonder what is different for me there. I am using the pip3
package... although I tried just the standard pip
package too without much luck. I also couldn't get it installed from this repo on buster lite, Pi 4.
from fanshim-python.
For those following this issue you can now install the beta of RPi.GPIO:
pip3 install --upgrade --pre rpi.gpio
Unfortuantely it doesn't solve my particular issue which seems to be a lack of connection being made by the push fit header and pin 12.
from fanshim-python.
The beta of rpi.GPIO fixes this for me on 2 Pi 4’s
from fanshim-python.
I have the beta installed but the fan still never powers down.
from fanshim-python.
Related Issues (20)
- install.sh fails on ubuntu server 21.04 HOT 2
- Fan software not working HOT 2
- Fan operating continuously, can't control it (or the LED) with fanshim HOT 1
- Default GPIO Pins HOT 1
- commands work but fan doesn't start HOT 2
- import fanshim crash HOT 2
- Fan always on and not responding to button or automatic code HOT 3
- doesn't install/detect on some systems HOT 2
- #104 breaks on Alpine Linux HOT 1
- Fanshim installation fails on Alpine Linux aarch64 HOT 1
- Service installation hangs on Raspberry Pi OS Lite 64bit April 4th 2022 HOT 2
- Running install-service.sh on LibreELEC 5.10.95 produces syntax errors
- The fan does not work HOT 6
- Dual case GPIO 15 (UART RX)
- Requesting AUR package
- Not working on DietPI
- automatic.py makes the LED bright green between cycles HOT 1
- Fan does not go off if the PI is powered down HOT 3
- FanShim service run correct but fan is still running HOT 2
- Example readme missing low-temp high-temp arguments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fanshim-python.