Tell us about yourself!
Hi Brian, as far as email is concerned, it is 'built-in' to Python so there is nothing to install. As long as the import statement is in the code, email should work. Are you using your gmail account? Correct username and password? You can write a separate program or use the python interpreter to try basic emailing. See the documentation for examples. Here is the link for version 2.7 email https://docs.python.org/2/library/email-examples.h...And yes, code 41 is correct so the log should be looking better....Hope that helps...
Hot Italian Turkey Sausage MixView Instructable »
Dry Brined Spicy KimchiView Instructable »
Hi Andrew, thanks for the feedback! I am planning on updating to the newer versions of packages and adding an enhancement for 'spurious' signals. I have been seeing an occasional 'spike' in temp reading and the log shows that it is actually coming from a different sensor. It could be an older sensor that is just laying around the shop, but anyway, I think I should add some logic to NOT alarm unless the increase is 'steady'.Probably a couple of weeks before I have the time to work on this...
I have not seen that error message so hopefully it was just a rare event. I do have 1 of the installations rebooting weekly but if you included step 6 in your project, you should be cleaning up the logs and resetting stats and messages at least once per week...
Thanks for using this project! I actually have 3 different sites running this now and everyone of them has the duplicate entries - I am also not sure why the 986 sends them twice sometimes... I did add a small step to 'dedup' the Stats file once per week when I make a graph of the history using this shell command: sort -r -u Stats.csv -o Stats.csvYou could put this in a command shell script and run it periodically with the Scheduler...or, add it to the python script and execute it after recording the temps....HTH
Raspberry Pi RF Temperature Monitor
Thanks for the vote! Let me know if you have any questions.
Raspberry Pi RF Temperature...View Instructable »