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

Chromecast integration


Question

Guest Roman
Posted

I have many chromecast devices at home. But there is a problem with controlling them from Fibaro.

Actually there are several projects based on some additional server. I know about them and tried almost all.

But it would be great to find solution how to control such devices from Fibaro locally.

As I know they use protocol called "castv2".

Unfortunatelly, I don't know is it possible to implement this protocol with LUA. 

Did anybody try to implement such protocol via LUA?

12 answers to this question

Recommended Posts

  • 0
Posted

You could set TV or AVR to connect Chromecast and just set correct INPUT and start casting from mobile to Chromecast and you have whole control from Chromecast. It is done by AMX, Control4, Crestron, RTI, ...

  • 0
Guest Roman
  • Inquirer
  • Posted

    Actually I want to make several scenarios like these:

    - Automatically start playback at morning by motion sensor.

    - Add scene like "party", when playback starts everywhere.

    - Stop sound everywhere whey I leave home.

     

    This could be created only if Fibaro HC2 will be able to control chomecast devices by itself.

     

    • 0
    Posted

    OK, and what is source of stream? Meaning Phone, Tablet or something else?

     

     

     

    • 0
    Posted

    Install Home Assistant. It allows to send any video or audio stream (incl. IP cameras) to any chromecast. You can then activate these actions via LUA scenes.

    • 0
    Guest Roman
  • Inquirer
  • Posted
    1 hour ago, Ros said:

    Install Home Assistant. It allows to send any video or audio stream (incl. IP cameras) to any chromecast. You can then activate these actions via LUA scenes.

     

    Thank you. How stable it works?

    How fast it starts playing after call?

    • 0
    Guest Roman
  • Inquirer
  • Posted
    7 hours ago, jakub.jezek said:

    OK, and what is source of stream? Meaning Phone, Tablet or something else?

     

     

     

     

    Usually this is net stream (url to radio, or file located on NAS).

    • 0
    Posted

    Use Node-Red to interface things and use a httpget nice to trigger Node-Red flows from Fibaro Lua. With this the world is mine. 

    • 0
    Posted
    1 hour ago, Joep said:

    Node-Red flows from Fibaro Lua. With this the world is mine. 

    Or use Fibaro node-red node ;)  (C)

     

    Please login or register to see this link.

    • Like 1
    • 0
    Guest Roman
  • Inquirer
  • Posted

    Cool , thank you for links. Today I will check them.

     

    BTW, yesterday I tried Logitech Media Server:

    Please login or register to see this link.

     

    It has plugin for chromecast devices:

    Please login or register to see this link.

     

    This plugin still in active development and many people use it.

    After installation, it found all my chromecast devices in local network. Additionally it can control groups of speakers.

    Logitech Media Server has quite simple API, which allows to control playback, start URL streaming, also it support music library. So there is possiblity start playing random song from folder.

    I wrore simple scene for morning. From monday to friday (for example from 7 to 8 a.m.) when motion sensor triggers it start playback audio in bathroom. Really cool feature I like it ;)

     

    Got some problems with AntiVirus. But I hope will resolve them.

    • 0
    Posted

    I worked for years with Logitech Squeezebox devices and their API. It's so simple, many will learn from them.

    It's a shame the platform didn't survive.

     

     

    • 0
    Guest Roman
  • Inquirer
  • Posted

    Thank you. Node-red really cool Library!

    Also found plugin for chromecast:

    Please login or register to see this link.

     

    It works well, but probably stupid question from me. Is it possible to change volume of playback on fly?

    As I understood this only allows to start playback of audio or video file with predefined volume. In order to change volume I need to restart playback of this file. Do I do something wrong?

    • 0
    Posted (edited)

    I don't know the node. Maybe you can ask the developer on GitHub. 

    Edited by Joep

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