To get our outdoor plants through the winter, we bought a greenhouse with a gas heating. This works perfectly when gas heating is turned on and the gas can is not empty. If not, plants take it amiss overnight.
This circumstance was my motivation to get alarmed if temperaure falls beyond a certain level, lets say 5 degree in the greenhouse. Because we have 2013 and not 90s, I want to get alarmed via push messages on my Android phone (not via email). The service Pushover provides the great possibiliy to send a push message to a phone for free and easily via an API. So I installed the app on my phone and wrote an actor module in FHEM for it.
Be aware that you have to create a Pushover account and add an app there before going ahead.
Now just copy the module in your FHEM modules directory, enter
and define a Pushover actor, where <name> is the name you want to give the actor; both tokens can be found in your Pushover dashboard.
define <name> pushover <app token> <user token>
An example would be:
define Push pushover aRGcdeZvpBwYQwrezoWr5pdqzTQ3ke u23fgBH6hqj532pd3283rzUY54oq
set Push msg hallo
For my personal use case (greenhouse) I created a definition using the THRESHOLD module to get notfied when temperature is lower than 5 degree, where by temperature sensors name is Temp_Greenhouse:
define TempWatcherGreenhouse THRESHOLD Temp_Greenhouse Push | set @ msg "Temp too low!" | set @ msg "Temp OK"
Using a hysteresis, you can control a minimum and maximum temperature; desired – hysteresis is minimum (2) and desired + hysteresis is maximum (32):
set TempWatcherGreenhouse desired 17
set TempWatcherGreenhouse hysteresis 15