Earthquake lua script alert + telegram notification
Moderator: leecollings
- psubiaco
- Posts: 194
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Earthquake lua script alert + telegram notification
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.
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
Who is online
Users browsing this forum: No registered users and 1 guest