Hi Everyone,
My VoIP provider offers an API to send SMS, any ideas how I might implement it in OpenHab 2 to send notifications or use in rules?
The documentation is here:
https://www.mynetfone.com.au/Residential/Home-Phone/MyNetFone-VoIP/features/MyText-SMS/API
Regards,
Josh
rlkoshak
(Rich Koshak)
2
Use the sendHttpGetRequest Action. It is a pretty straight forward API.
You may need to use URL encoding for some characters like spaces.
Consider Design Pattern: Separation of Behaviors so you can put this call in one place and still send alerts from all your rules.