Replies: 14 comments 18 replies
|
For now I would avoid using PWM. The PWM support is vastly improved int he upcoming release |
|
well I spoke too early.. it seems it works for a while and then the FAN value is not shown anymore.. |
|
Few things here, the first error you got indicates the hte allsky server process isnt running. You can check this with Please paste the output of that command, it maybe a reboot was need to start it Remove these lines they are not needed Assuming the allskserver is running set the debug level to 4 and wait for the fan problem to occur. Then post the support log and I will have a look Thanks Alex |
|
well.. now it is working without doing anything (didn't even remove yet the dtparam lines in config.txt) |
|
well... sometimes it's happening again _ERROR in /home/admin/allsky/config/myFiles/modules/allsky_fans.py: Fan 1 - Module use_pwm_fan_control - 663 - HTTPConnectionPool(host='localhost', port=8090): Read timed out. (read timeout=2) and when it happens.. to fix it I have to stop and restart Allsky (even if it was running also before).. |
|
I just found another problem with this module.. When the fan is (reported by Allsky) at 100% really it's running at about 3500rpm.. which is NOT 100% |
|
Still happening.. randomically.. and I still can't find the reason.. Sometimes it restart working with simple Allsky service restart .. Sometimes it needs a complete OS reboot.. Error is always the same March 21, 10:26:35 AM 13 ERROR in /home/admin/allsky/config/myFiles/modules/allsky_fans.py: Fan 1 - Module _use_pwm_fan_control - 663 - HTTPConnectionPool(host='localhost', port=8090): Read timed out. (read timeout=2) Why it happens?? |
|
to recap there are 2 issues here:
(*) UPDATE: using the backup for sure stops the Allsky_fans module working.. I can replicate this |
|
When you know its not working can you please try the following The back will cause the issue as allsky is stopped to do the backup. I'll have a play around on my cameras here and see if I can replicate it outside of the backups |









Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have an RPI5 with DHT22 (connected to GPIO4) which works fine .. as I already enabled it to read temp/humidity with "Temperature monitor" module (allsky_temp)..
I now added an active cooler (connected to the 4 pin jst connector on RPI5 motherboard) which uses PWM
I can manually run it with specific commands from SSH (eg pinctrl FAN_PWM op dh -> the fan stops | pinctrl FAN_PWM op dl -> the fan goes 100%)
...
But I am struggling to understand how to use/configure with allsky_fans module (I would like to start fan when temp is above 30°) possibly using the Temp read by DHT22..
I tried many combination but I always get an error ("ERROR: fan pin not defined or invalid")
Screenshots
Tried with both Pin 12 and Pin 18 (even if I am not using any GPIO but the motherboard fan connector)
as written at https://github.com/AllskyTeam/allsky-modules/tree/master/allsky_fans
I added the following
On the PI 5 add dtoverlay=pwm-2chan,pin=12,func=4,pin2=13,func2=4 to /boot/firmware/config.txt
What am I doing wrong?
Any help would be appreciated
Thanks
All reactions