MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Using already existing NodeJS Components in modules

    Scheduled Pinned Locked Moved Development
    1 Posts 1 Posters 1.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      innidael
      last edited by

      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

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy