Lucian
ULTIMATE Member
Just stumbled upon this script:
You can use it to send SMS from bash.
It's awesome Huawei have opened up this API, as you can use it to send yourself messages in various scenarios.
In this case I need to alert someone should something in a server crash, so I'm basically just doing the following in a loop:
ssh $host $command || sendsms.sh
Super frickin handy. Not sure I could live without this from now on.
I know there are all sorts of services for SMS with APIs etc, but I don't want to sign up to yet another subscription, doing it like this DIY is great.
demande Aide Envoi d'un SMS via CURL avec un routeur HUAWEI 4G (suite
ce topic fais suite a celui ci qui est fermer : Mon objectif est de pouvoir envoyer des sms via mon routeur 4g pour le moment avec Curl voici un lien de lapi de mon routeur https://blog.hqcodeshop.fi/archives/259-Huawei-E5186-AJAX-API.html Je viens de trouver ce site très intéressanthttps://www.m...
www.domotique-fibaro.fr
You can use it to send SMS from bash.
It's awesome Huawei have opened up this API, as you can use it to send yourself messages in various scenarios.
In this case I need to alert someone should something in a server crash, so I'm basically just doing the following in a loop:
ssh $host $command || sendsms.sh
Super frickin handy. Not sure I could live without this from now on.
I know there are all sorts of services for SMS with APIs etc, but I don't want to sign up to yet another subscription, doing it like this DIY is great.























