About This File
--[[
-----------------------------------------------------------------------------
-- ALLINONE MESSAGE SCENE -- TELEGRAM/PUSH/POPUP/API.POST
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
0.0.9 Started with Telegram and push function
1.0.0 Added popup and api.post functions
1.0.1 Added support for TTS to your MUSAIC player. You need to set right language
for you TTS string.
1.0.2 TelegramMessage function does now support if you resend same message many times
another scene.
1.0.3 Added support for Sonos remote VD
-- SCENE DESCRIPTION --------------------------------------------------------
This scene will send message to your smartphone, which function that will run
depends on what string you send and to which variable.
Example:
-- TELEGRAM -----------------------------------------------------------------
Drop your message to TelegramMessage variable and this scene will send it to you
Demands a telegram token and chatid
--
fibaro:setGlobal("TelegramMessage", "YOUR MESSAGE")
--
-- PUSHSMARTPHONE -----------------------------------------------------------
Drop your message to SmartPhoneMessage variable and this scene will send it to
your smarthphone as push
--
fibaro:setGlobal("SmartPhoneMessage", "YOUR MESSAGE")
--
-- SENDPOPUP ----------------------------------------------------------------
Will send an popup message to fibaro app in your smartphone
--
fibaro:setGlobal("popUpMessage", "Info:Test:From fibaro HC2:Test of string")
--
String translate : (typeInfo, windowTitle, header, contentInfo)
typeInfo = available types: ('Info', 'Success','Warning','Critical')
windowTitle = pop-up window title
header = pop-up content title
contentInfo = pop-up content text
-- API.POST -----------------------------------------------------------------
If you want to send an api.post message to your smartphone with the possibillity
to start a scene you send this example string to apiPostMessage variable.
--
fibaro:setGlobal("apiPostMessage","Activate alarm?:Nobody at home:RUN_CANCEL:283")
--
String translate: (message, title, category, data)
message = the message
title = the title
category = the value for what to do, can be RUN_CANCEL or YES_NO
data = sceneID to run
-- SONOS TTS ----------------------------------------------------------------
Drop your message to sonosTTS variable and this scene will send it to
your Sonos player as TTS
--
fibaro:setGlobal("sonosTTS", "YOUR MESSAGE")
--
--]]
What's New in Version 1.0.3 See changelog
Released
No changelog available for this version.
