If i use a modul to build my own, and i use Code from the module. Is this ok, or must i Code my own module?
I want use the core Code from a module to modify the function. The core module change the backgroundimage, i want this only for photos from local folder in a named
In the future i want to get Images from amazon Photo cloud…
This is from the license…
Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
I don’t know if this is the right place, but here it goes.
I forked and made some changes to the Sonos module.
Can be found here: https://github.com/Snille/MMM-Sonos
Let me know is I should present it in some other thread. 🙂
@bhepler Just an update: The globe with planetary.js is a bit of a processor hog. On a quad core i3, it’s maxing one core and the other three hover between 40-80% at any given time. I’m going to try WebGL next and see if the hardware acceleration can reduce that.
The FitLet runs hot. Of course, that may be due to one core always maxed at 100%. Even just staring at the desktop.
I am currently using an older TV to run my MagicMirror and I am looking for a way to schedule output to GPIO pins. I would like to place a transistor across the push button power switch to my TV to toggle the TV on and off at different times. Since it is an older TV, it does not support HDMI-CEC to turn the TV on and off. I have been combing through MMM-ModuleScheduler and MMM-Button for ideas, but I am unsure how to proceed. I also stumbled across MagicMirror-Toggle which appears to be exactly what I’m looking for except I don’t need the WiFi integration. I would like to schedule the output to the GPIO pin instead. I would like to avoid using a PIR sensor.
Can someone please help me out or shed some light on how I can achieve this? Here is an image of how I plan to interface the Raspberry Pi with the TV through a transistor, courtesy of MagicMirror-Toggle: GPIO Interface to TV
I have been working on a small project lately, which is to create an alarm clock for on the bed stand. I have seen the various modules, however I could not really find one that would work exactly as I would like it to. Therefore I started to piece together the alarm clock based mostly the default modules and the MMM-ModuleScheduler.
One of the main features would be to be able to play audio streams, like internet radio stations, once the alarm has been triggered. Please understand that I am a very big noob when it comes to Node.JS so I would need some help to get started. I found on npmjs.com a very nice and elaborate audio player (React). I would like to use this to play the audio streams, and in the future also video streams. the thing I am struggling with is how to be able to use the functionality from the React components and player within the to be created module. Can anyone guide me to some documentation how this could be done? I have tried using the require method, but so far no luck.
ps. Any hints on great books on Node.JS or other resources are very welcome too!
I recently joined MagicMirror community and started to play around and develop modules. I’m not a newbie to coding, but never really worked on a node based project. I’m learning as I go along and looking at many great modules that folks have created around here to understand how thing are done. Throughout my career I’ve worked with a bunch of API providers building apps, clients and bots.
As I’m venturing into building another module I have been having some thoughts and considerations about how API access, tokens and user authentication is handled by different modules. Some of the API providers make it easy to obtain access to their keys, some make it difficult. Others don’t, sometimes they restrict who can sign up for API access, how they sign up,
At the moment I’m looking into creating a module to display data from Runkeeper. They have fairly standard OAuth2 authentication and it’s pretty trivial to create an app and get access token from them. Once my module is published I would like to make sure that potential users have a pleasant experience, that they can easily set it up and get it running with minimal effort. I don’t want to burden them with going through process of creating their own application on API provider site, getting client_ids, secrets, scopes, doing OAuth dance and finally getting a token that they can put in the config. All of the above steps can lead to unnecessary confusion, frustration and additional support responsibilities for me as a developer of the module.
Which leaves me with a few options on how to handle data source API access and user authentication. I’m sure this is not a full list of options, but some of the options that I’ve considered.
My App + My Site = Your Token: As a developer of the app I create an app with API provider and provide a very user friendly webpage where OAuth2 Authentication takes place and access token is granted and displayed to be inserted in the module config.
Your App + My Site = Your Token: I provide a list of instructions along with the module on how and where to register for the app, user registers and then uses my site to enter needed info (client_id, secret etc) to get access token that can be used with the module config. I don’t store any of the info and just provide friendly web interface to get that done.
Your App + My Script = Your Token: I provide a list of instructions along with the module on how and where to register for the app, after cloning the module repo user can run a script that will spin up a temporary local webserver to accept OAuth callback and get access token that can be entered into config for the module.
Theoretically I can combine 2 and 3, or even offer all 3 options. Number one is probably most user friendly way, but depending on popularity of the module rate limiting may come into effect. 2 & 3 will likely require more effort from users and possibly more support from me.
@ramonbovenlander said in MMM-Remote-Control & MMM-webradio:
I love your idea, just had the same thought to extend the Remote Control with an option to play radio on demand.
Did you upload your module already somewhere in github ? If yes, could you please share the place ?