Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


ALL-IN-ONE Message Scene 1.0.3

   (1 review)

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.

 Share


Other Files from jompa68


User Feedback

Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...