Skip to main content

All Questions

Filter by
Sorted by
Tagged with
4 votes
3 answers
501 views

Loop to print changes in irrigation state to turn on and off a pump when water is low

Python Noob building an automation irrigation system in Python for Raspberry Pi. Python has two functions in the most basic use case: on/off the LED (which will in future be a relay->pump) and ...
GlennB's user avatar
  • 93
6 votes
1 answer
282 views

Python script which sends telegram message if Raspberry Pi's temperature crosses 60 °C

I need to know if there is any way I can optimize my code so that it does not use 0.6% of my total memory - which is approx. 22.4MB. This is a really small script that runs for as long as the ...
Aditya Sahu's user avatar