Skip to content

Instantly share code, notes, and snippets.

@brange
brange / telldus_syslog.lua
Created April 26, 2019 11:46
Telldus live Lua script
function onInit()
local sus = require 'sus.Client'
if sus == nil then
print("Initcheck: SUS plugin is not installed")
return
else
print("Initcheck: SUS plugin is loaded")
sus:send{msg='Telldus LUA SUS is loaded'}
end
return
@brange
brange / telldus_syslog.lua
Created April 26, 2019 11:46
Telldus live Lua script
function onInit()
local sus = require 'sus.Client'
if sus == nil then
print("Initcheck: SUS plugin is not installed")
return
else
print("Initcheck: SUS plugin is loaded")
sus:send{msg='Telldus LUA SUS is loaded'}
end
return