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

    Posts

    Recent Best Controversial
    • RE: Issue with sendSocketNotification and socketNotificationReceived

      @paviro said in Issue with sendSocketNotification and socketNotificationReceived:

      Only had a quick look at your code but it seems like you are not sending anything from the UI JavaScript to the node_helper. In order for the node_helper to be able to communicate with the module’s JavaScript you have to open the socket connection by sending some kind of initial message to the helper first. So you can probably fix it by adding this.sendSocketNotification("hello") to the start function of your lovenotes.js.

      Thank you! This helped a lot!!!

      posted in Development
      S
      Shampooman
    • RE: different ports

      ok i just found something new (for me)
      you could do this “port-thing” if you put this:
      this.expressApp.listen(3000)

      I allready read a lot in this forum, but found that this page i another great source of information:
      https://github.com/MichMich/MagicMirror/issues?page=2&q=is%3Aissue+is%3Aclosed

      It’s a little bit of Topic. I know and I’m sorry… :)

      posted in Feature Requests
      S
      Shampooman
    • RE: different ports

      I’ve got another idea, that I’m just working on. It doesn’t have to be another port. As I saw in the description you could make a module named backend and put a website inside the public folder. I’m going to try this and will keep you up to date. I’ve got another question. I don’t know, if I should ask it here or make a new Thread.
      Is there any database on the rpi3 installation that would be prefered to use?

      posted in Feature Requests
      S
      Shampooman
    • RE: Web interface for customization?

      @KirAsh4

      Did you find an answer on how to make a new port for another webside?

      posted in General Discussion
      S
      Shampooman
    • different ports

      Is it possible to use a different (additional) port to show a different page? I would like to use it to make a backend, so that I do not allways have to change the files via ssh. And I want to do a module to send messages to the mirror. Or would it be better to use a webservice or something like this?

      Thanks for your help! :)

      posted in Feature Requests
      S
      Shampooman
    • RE: Image Galery

      or even Facebook. :) That sounds interesting. But I think, that I’m not able to do it. Just thought, someone allready did it, because it sounds so logic to me. :)

      posted in Requests
      S
      Shampooman
    • RE: MMM-Swipe - Hand gestures

      Thats great. Didn’t try it, but it looks amazing. Thank you for sharing… :)

      posted in Utilities
      S
      Shampooman
    • RE: Where to buy good two way mirrors ?

      @RedNax It’s the type you descriped. I allready bought one of these. And ist really heavy…

      posted in Hardware
      S
      Shampooman
    • RE: Hide Module (not deleting if from the config.js)

      you could just comment it out.

      /*
      {
      	module:clock,
      	position: 'top_left',
      }
      */
      

      would do the job. :)

      Moderator’s Note: Please use proper Markdown when showing code.

      posted in Development
      S
      Shampooman
    • Image Galery

      Did anyone try to do something like this? You could use it like these digital pictureframes and show your favourite holidaypictures.
      I can’t find a module, that does something like this. It’s such a simple idea, that I thought someone might have done it, and I’m just to stupid to find it… :)

      posted in Requests
      S
      Shampooman
    • RE: OwnCloud integration

      ok, now it works completly. Perhaps I had a mistake inside my code. Thank you for your help!

      posted in General Discussion
      S
      Shampooman
    • RE: OwnCloud integration

      hmmm… that works…

      posted in General Discussion
      S
      Shampooman
    • RE: OwnCloud integration

      @paviro said in OwnCloud integration:

      Why not do username:password@yourdomain.com in the config?

      because it doesn’t work. :) I got this Error in the console:
      logger.js:23 Calendar Error. Could not fetch calendar: user:password@myowncloud.de/remote.php/caldav/calendars/user/calendar?export

      posted in General Discussion
      S
      Shampooman
    • RE: OwnCloud integration

      I found another important information. It’s still very dirty, and everyone who knows how to do something like this will just laugh about me, but I got a working way to import my owncloud calendar. I just changed the directory to /home/pi/MagicMirror/modules/default/calendar/public
      and added the following to the config.js:

                          config: {
                                  calendars: [
                                          {
                                                  symbol: 'calendar-check-o ',
                                                  url: 'http://127.0.0.1:8080/calendar/MYical.ics'
                                          }
                                  ]
                          }
      

      this is my bash script now:

      #!/bin/bash
      ical='http://ownclouddomain.de/remote.php/caldav/calendars/admin/blubb?export’
      dir=/home/pi/MagicMirror/modules/default/calendar/public
      user='admin’
      pw=‘blablabla’
      curl $ical -u$user:$pw > $dir’MYical.ics’

      so you only have to make a cronjob now, which starts the bash script.

      I hope this helps someone, even if it is very, very dirty… :)

      posted in General Discussion
      S
      Shampooman
    • RE: OwnCloud integration

      Hello,
      I would also like to sync the MM with my owncloud calendar. The bad news is, that you need a username and a password for the owncloud ical file. I didn’t find an option to enter a user and password in the MM-Modul. So I tried to do a workaround (this project is my first expirience with JS, so it’s pretty hard for me to understand.) I found a little bash script to download the ical file to my homefolder. But I can’t enter the homefolder location with the MM-Modul. Perhaps someone has a good idea to do this job. :)

      #!/bin/bash
      ical=‘http://ownclouddomain.de/remote.php/caldav/calendars/admin/blubb?export’
      dir=/home/pi/
      user=‘admin’
      pw=‘blablabla’
      curl $ical -u$user:$pw > $dir’MYical.ics’

      posted in General Discussion
      S
      Shampooman
    • 1 / 1