Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Donate
    • Discord
    1. Home
    2. dominic
    D
    • Continue chat with dominic
    • Start new chat with dominic
    • Flag Profile
    • Block User
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    dominic

    @dominic

    1
    Reputation
    44
    Posts
    1272
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    dominic Follow

    Posts made by dominic

    • RE: .txt file include

      @strawberry-3.141
      hi, now i get " [object ArryBuffer]"
      what did i worng?

      posted in Troubleshooting
      D
      dominic
    • RE: .txt file include

      @strawberry-3.141 Thanks for the fast answer 🙂

      I did it , just as you said it. on the mirror is displayed : NO DATA

      Here is the code from the nodehelper:
      Is the path specified correctly or I need to change something?

      • readData: function(){
        //to read a file to do the following
        fs.readFile(’/home/pi/MagicMirror/Test-temp.txt’, (err, data) => {
        if (err) throw err;
        this.sendSocketNotification(‘DATA’, data);
        });
      posted in Troubleshooting
      D
      dominic
    • RE: .txt file include

      @strawberry-3.141 Hi thank you.
      Sorry for the questions, i´m new in .js.

      Where do I insert the nodehelper und the module and and what I need to modify?
      I have insert the nodehelper code in the file: MagicMirror/modules/node_modules/node_helper/index.js.
      And the module code in /MagicMirror/modules/sensor/sensor.js.

      on the mirror is displayed : Sensor module_2_sensor…

      posted in Troubleshooting
      D
      dominic
    • .txt file include

      Hello, i have a .txt file,
      this file I want to embed to the mirror. So the
      Content is displayed on the mirror.
      In addition , the file should be up-dated after a time= x.

      can someone help me?

      Thanks

      posted in Troubleshooting
      D
      dominic
    • 1
    • 2
    • 3
    • 4
    • 5
    • 5 / 5