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

    Topics

    • T

      Node_helper and security key/certificate question

      Watching Ignoring Scheduled Pinned Locked Moved Development
      1
      0 Votes
      1 Posts
      1k Views
      T
      I have gotten the AWS (Amazon Web Services) IOT mgtt client working on my raspberry pi 3. I would like to add this script to a custom module on my magic mirror to enable Echo voice control the Pi I/O’s and provide visual status of these I/O’s on the Magic Mirror. I think I almost understand how to set up my module’s node_helper file with the mqtt client, but I don’t understand how it will start correctly when I load up Magic Mirror. To start the mqtt client as currently installed outside the Magic Mirror app: you would use: npm start /example/sampleproject.js -f ~/certs/ The ~/certs/ folder contains the private key and CA certificate need for authentication with the Amazon services. I don"t understand how to do this within the Magic MIrror app. I have gone through all the scripts but don’t see/understand how to insure the npm cli args could be passed in when starting Magic Mirror. Would someone have the knowledge/experience to point me what I need to read/study/understand to enable this? Could it be as simple as hard-coding the path’s to these files in the script I will place in the node_helper folder? Point me in the direction I need to go and I will do my best to figure it out!
    • T

      Mini Magic Mirror up and running!

      Watching Ignoring Scheduled Pinned Locked Moved Show your Mirror
      7
      2 Votes
      7 Posts
      8k Views
      cowboysdudeC
      I’m waiting on parts for mine but am doing a 7" too! Not going to turn it into a mirror though… going to run MM as the backbone and use it for Alarm clock and such… hoping to get some music on there somehow… Tunein Radio would be awesome!
    • 1 / 1