author

fredondem

Inbox View Profile
5Comments

Tell us about yourself!

  • Automated Cooling Fan for Pi

    I think i have solutioned my problem. I deleted the launch line of the script created with "sudo crontab -e", and I created the script launch line with "crontab -e" (as you actually wrote it) By cons, I modify the line like this : "5 * * * * python /home/pi/fan.py >> /home/pi/fanLog.log 2>&1" You notice that i deleted "sudo" after the fourth star "*" and the script " python etc..." (Contrary to what is written in point N ° 5)Is that what you suggested in your first response ? : "if your running the crontab under that user (pi) then try without the "sudo python" just plain "python /home..."If that's right, I understood why it didn't work first.I found a solution by myself... which was the one …

    see more »

    I think i have solutioned my problem. I deleted the launch line of the script created with "sudo crontab -e", and I created the script launch line with "crontab -e" (as you actually wrote it) By cons, I modify the line like this : "5 * * * * python /home/pi/fan.py >> /home/pi/fanLog.log 2>&1" You notice that i deleted "sudo" after the fourth star "*" and the script " python etc..." (Contrary to what is written in point N ° 5)Is that what you suggested in your first response ? : "if your running the crontab under that user (pi) then try without the "sudo python" just plain "python /home..."If that's right, I understood why it didn't work first.I found a solution by myself... which was the one you proposed at the beginning and i have understood afterwards in fact ?Many thank's for your help.

    Hello, no i want the script work automatically. I don't activate manually in Enclosure plugin. In fact, I discover the Plugin simultaneously and i note it's seem a return of the GPIO is done inside because it displays the green button by itself. So, thanks for your explanation. I think i understand. I will survey.

    View Instructable »
  • Automated Cooling Fan for Pi

    Hello. It's me again.In parallel, i have configured "Enclosure Plug-in" to force fan ON if i want (It cmd Gpio18). sometimes I see the green bouton "ON " even when I don't activate. It looks like a feedback from the script.And in the log, i see many lines with "Fan is on, script must be running from another instance..."I don't know if the two things have anything to do with each other. I try to understand what can happen in fact because i don't thing it's normal. Your opinion ? Thank's

    View Instructable »
  • Automated Cooling Fan for Pi

    Hello, Thank's for your reply.Yes, I scrupulously followed all the steps that you describe (well, I think). For my problem, i found a lot of information on how crontab and python scripts work. Indeed it is a story of launch rights. I am "newbie" and I admit I do not understand all the subtleties of his commands. I'm probably missing some basics. But I will continue to try to understand what you have answered. Thanks for your help. cordially.

    View Instructable »
  • fredondem followed 3D Printing, Raspberry Pi, Remote Control, Gadgets and 6 others channel