Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flo80/MMM-chromecast
MagicMirror Module to cast from server to chromecast
https://github.com/flo80/MMM-chromecast
chromecast magicmirror mmm-chromecast
Last synced: 3 months ago
JSON representation
MagicMirror Module to cast from server to chromecast
- Host: GitHub
- URL: https://github.com/flo80/MMM-chromecast
- Owner: flo80
- License: mit
- Created: 2017-03-20T08:48:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T19:51:52.000Z (over 1 year ago)
- Last Synced: 2024-06-29T08:35:57.598Z (5 months ago)
- Topics: chromecast, magicmirror, mmm-chromecast
- Language: JavaScript
- Size: 7.81 KB
- Stars: 42
- Watchers: 4
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mmm - **MMM-Chromecast**
README
**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).*
# MMM-chromecast
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.## Dependencies
* An installation of [MagicMirror2](https://github.com/MichMich/MagicMirror)
* A browser supporting casting to chromecast (i.e. Google Chrome) to initially start the cast
* A chromecast (or similar device supporting the Google Cast API v3)## Installation
1. Clone this repo into `~/MagicMirror/modules` directory.
2. 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
## Config Options and Usage
There are no options required.To display the MagicMirror on a chromecast, just open the [MagicMirror server](https://github.com/MichMich/MagicMirror#server-only) 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](https://support.google.com/chromecast/answer/3228332?hl=en&ref_topic=4602553).
Important remarks:
* Chromecast will use the same url as is currently open in your browser when starting to cast.
* If you change your MagicMirror configuration or setup, you will have to stop casting and restart casting (no automatic refresh).## Notes and References
The receiver and casting code is adapted from [url-cast-receiver](https://github.com/DeMille/url-cast-receiver).