MagicMirror Module to cast from server to chromecast
NOTE This module does not work anymore, due to changes in browser's security framework (https connections needed) and changes in the Google API (which MM does not support easily).
MagicMirror2 Module to cast from server to chromecast. This module enables the chromcast to load the content directly from the server, i.e., it does not mirror the browser tab.
Clone this repo into ~/MagicMirror/modules
directory.
Configure your ~/MagicMirror/config/config.js
:
{
module: "MMM-chromecast",
position: "top_right",
}
Note: the position does not matter, the module does not show any content
There are no options required.
To display the MagicMirror on a chromecast, just open the MagicMirror server in your Google Chrome browser (e.g. https://localhost:8080) and start casting. The chromecast will load the MagicMirror website. The casting only needs to be started once, the browser is not required afterwards.
For further instructions on how to start casting see Google's FAQ.
Important remarks:
The receiver and casting code is adapted from url-cast-receiver.