- Home
- /
- Integrations
- /
- SMS integration for physical...
- /
- SMS integration for Fibaro
SMS integration for Fibaro
Send text messages from Fibaro via SureSMS.
Integration to Fibaro
Integrating SureSMS into Fibaro is easy. The guide is originally made with credits to Jacob Wollenberg.
In Fibaro, you need to do the following
- Create a virtual device.
- Name the device. IP and port are left blank.
- Specify the number of buttons. Use one button per command line.
- Under the button, change "Script" to "LUA".
Example of API call
Then insert the following text:
HTTP = Net.FHttp("api.suresms.com")
response, status, errorCode = HTTP:GET('/Script/SendSMS.aspx?login=XXXX&password=XXXXX&to=+45XXXXXXXXXXXX&Text=XXXXX')
Then save your device.
Automation and important notes
Create a scene that automatically triggers the button, for example:
If shell protection is activated and the front door opens, press "button 1" on your virtual device.
Then the code is automatically triggered and sends the API call to SureSMS, which then sends an SMS.
Remember to replace login, password, recipient number and text with your own values.