MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. innidael
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    I
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    innidael

    @innidael

    0
    Reputation
    300
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    innidael Unfollow Follow

    Latest posts made by innidael

    • Using already existing NodeJS Components in modules

      Hi Everyone,

      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!

      Cheers,

      Marty

      posted in Development
      I
      innidael