SureSMS

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

  1. Create a virtual device.
  2. Name the device. IP and port are left blank.
  3. Specify the number of buttons. Use one button per command line.
  4. 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.

Content in this article
    Add a header to begin generating the table of contents

    Book a short session to go through this specific integration and help you move forward.