Earthquake lua script alert + telegram notification
Posted: Monday 20 May 2024 8:10
Of course it's possible to set the location coordinates and restrict the radius to N km, to avoid showing earthquakes in distant areas.
Also, it's possible to set a minimum magnitude for alert display and also for telegram notification: in case of strong earthquake the script sends an alert also to a telegram channel or group on your family smartphones.
The script script_time_earthquake.lua is available in https://github.com/CreasolTech/domoticz_lua_scripts and is based on the dzVents script by the user mojso ( https://www.domoticz.com/forum/viewtopic.php?t=41380 )
You have also to download globalvariables.lua and globalfunctions.lua, where I collect general information and functions common for every script.