Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
local subsystem = 'telegram'
etatocto = 'Etat Octoprint'
msg = 'L impression 3D est à présent terminée !'
commandArray = {}
if (devicechanged[etatocto] == 'Operational') then
commandArray['SendNotification']='subject#'..msg..'#0#sound#extradata#'..subsystem
end
return commandArray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.