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


  • 0

iEAST Stream Pro Music Playlist into scenes


Yolo

Question

Hello seniors and comrades, 

i have a virtual device for iEast stream pro and i would like to Use the Playlist Function buttons to play Music in my Scenes but i have no idea how to do it.

i don't know how to make and add music in the playlists. i can only play through USB Button function.

i have tried searches but nothing, and this forum is my only hope i got.

 

Lua Code in the Playlists:

 

-- Play Preset #1

local command        = "/httpapi.asp?command=MCUKeyShortClick:1";
local selfId        = fibaro:getSelfId();
local ip            = fibaro:get(selfId, 'IPAddress');
local port            = fibaro:get(selfId, 'TCPPort');
local connection    = Net.FHttp(ip, port);

connection:GET(command)

fibaro:call(selfId, "setProperty", "ui.labelState.value", "[preset 1]");

 

See the attached is my VD for iEast Stream Pro

 

Looking forward for your kindness and help.

Thank you all.

Please login or register to see this attachment.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
On 9/28/2018 at 4:30 AM, Yolo said:

Hello seniors and comrades, 

i have a virtual device for iEast stream pro and i would like to Use the Playlist Function buttons to play Music in my Scenes but i have no idea how to do it.

i don't know how to make and add music in the playlists. i can only play through USB Button function.

i have tried searches but nothing, and this forum is my only hope i got.

 

Lua Code in the Playlists:

 

-- Play Preset #1

local command        = "/httpapi.asp?command=MCUKeyShortClick:1";
local selfId        = fibaro:getSelfId();
local ip            = fibaro:get(selfId, 'IPAddress');
local port            = fibaro:get(selfId, 'TCPPort');
local connection    = Net.FHttp(ip, port);

connection:GET(command)

fibaro:call(selfId, "setProperty", "ui.labelState.value", "[preset 1]");

 

See the attached is my VD for iEast Stream Pro

 

Looking forward for your kindness and help.

Thank you all.

Please login or register to see this attachment.

same here , Did you find any thing about it ?

Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   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...