local telefon_number="7"
local your_ID = "---"
local your_text = "- ..."
HC2=Net.FHttp("sms.ru")
response = HC2:GET("/sms/send?api_id="..your_ID.."&to="..telefon_number.."&text="..your_text)
local code = string.sub (response,1 ,3)
if(code=="100")
then fibaro:log("SMS ")
else
fibaro:log(". "..code..". .")
end