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

    Posts

    Recent Best Controversial
    • rotate screen with display object in electron

      Hi,

      there are a lot of (heavy) gpu performance issues with display_rotate or xrandr since electron (MM2). It seems like the fps drops from 30fps to 5fps after the rotation. CPU stays the same. Checked that with nmon. I tested a lot of boards (raspberry 2, 3, 3+, Tinker Board, odroid) ,a lot of OS (raspbian, tinker os, xubuntu, lubuntu) and some configurations (OpenGL, amount of modules, electron versions, …). Still the same; more or less.

      As I can see, there is an display object in electron which can handle an rotate option. Does anybody have experience in it? Or perhaps another solution for rotating?

      I’m curious about the answers ;).

      posted in Troubleshooting
      D
      djsunrise19
    • RE: MMM-DarkSkyForecast - Yet ANOTHER weather module

      Looks very nice. Is there a way to get the “feels like” temperature, too? I can’t find anything about it.

      posted in Utilities
      D
      djsunrise19
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm Thanks. I’m using an echo dot 3rd generation. Sadly, I have to wait. There seems to be no problems with your module / the mirror / network.

      Good work!

      posted in System
      D
      djsunrise19
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm said in [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io):

      netstat tulpn | grep 21900

      Yes, IP-Adress is correct. From console everything looks like it should. Alexa is in the same network - wlan, mirror lan. I also have hue in here and the hue module on my mirror. Everything looks fine there. But actually, Alexa finds nothing.

      Ich checked your command. After that, with sudo netstat -tulpnI see this:
      0_1546684263939_86c66852-83ae-41d7-8499-8392004f63c3-image.png

      Do I need the wemo skill or something like that?

      posted in System
      D
      djsunrise19
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm Thank you for responding!

      1. I have the newest version 2.6
      2. Yes, I can see that line while starting the mirror.
      3. I also can see this in my command line with the example.
      4. No devices found. With echo, Alexa app and web interface. Also no test “office light” or “office fan”.

      Weird?! Perhaps the netInterface problem?! Or should it work with “enp3s0”?

      posted in System
      D
      djsunrise19
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      Hi!

      Sounds like a perfect alexa module. Perhaps someone can help. Alexa can’t find my device. I followed the instructions - it’s not the first module I installed. I have to say, that I’m using ubuntu mate, because I have a mini-itx board with a Intel G4600, but that shouldn’t be the problem.

      I already deleted my devices and added them again - a few times. But there is no virtual Magic Mirror device.

      I corrected the netInterface variable to “enp3s0”, because I’m using LAN. In the newer ubuntu versions, there is no eth0.

      Here is my config:

              {
                  module: 'MMM-OnScreenMenu',
              },
              {
                  module: 'MMM-AlexaOnOff',
                  config: {
                      netInterface: "enp3s0",
                      devices: [{ 
                            name: "Magic Mirror",
                            on: { 
                              notification: "ONSCREENMENU_PROCESS_ACTION",
                              payload: { actionName:'monitorOn' }
                            },
                            off: { 
                              notification: "ONSCREENMENU_PROCESS_ACTION",
                              payload: { actionName:'monitorOff' }
                            },
                      }]                
                  }
              },
      

      Ideas?

      Best regards
      Maurice

      posted in System
      D
      djsunrise19
    • RE: Hello-Lucy

      @Mykle1 That’s it! Thank you! Again :)!

      posted in Fun & Games
      D
      djsunrise19
    • RE: Hello-Lucy

      @Mykle1 said in Hello-Lucy:

      @djsunrise19

      That looks right.

      Have you made the other changes that you need to make, according to the readme? That is not the only modification you need to perform.
      If you issue the “SHOW MODULES” command, does it show then?
      Is there another " notificationReceived: function" within the MMM-CalendarExt.js file?

      Yes, all other Lucy / Voice modules are still working. I made all changes (accordingly your read me). Within the MMM-CalendarExt.js file are more than one “notificationReceived: function” functions:

        notificationReceived: function(notification, payload, sender) {
          var sessionId = moment().valueOf()
          if (typeof payload !== 'undefined' && payload !== null) {
            if (typeof payload.sessionId !== 'undefined') {
              sessionId = payload.sessionId
            }
          }
          switch (notification) {
            case 'DOM_OBJECTS_CREATED':
              if(typeof sender == 'undefined') {
                this.loadCSS()
                this.initAfterLoading()
              }
              break
            case 'CHANGED_PROFILE':
              this.showing = 0
              this.isInit = 0
              this.initAfterLoading(payload.to)
              this.sendNotification('CALEXT_SAYS_PROFILE_CHANGED', payload)
              break
            case 'CALEXT_ADD_EVENT':
              if(typeof payload.event !== 'undefined') {
                this.addInstantEvent(payload.event, sender.name, sessionId)
              }
              break
            case 'CALEXT_REMOVE_EVENT':
              if(typeof payload.uid !== 'undefined') {
                this.removeInstantEvent(payload.uid, sender.name, sessionId)
              }
              break
            case 'CALEXT_TELL_SCHEDULE':
              if(typeof payload.filter !== 'undefined') {
                this.saySchedule(payload.filter, sender.name, sessionId)
              }
              break
            case 'CALEXT_MODIFY_CONFIG':
              this.modifyConfiguration(payload.config, sender.name, sessionId)
          }
        },
      
        socketNotificationReceived: function(notification, payload) {
          switch (notification) {
            case 'CALENDAR_MODIFIED':
              this.sendNotification("CALEXT_SAYS_CALENDAR_MODIFIED")
              this.events = payload
              this.makeIndex()
              this.draw()
      
              break
            case 'READY_TO_ADD_CALENDAR':
              this.addCalendars()
              break;
            }
        },
      

      Should I put your function after one of these?

      posted in Fun & Games
      D
      djsunrise19
    • RE: Hello-Lucy

      @mykle1: Very nice module! Works really good, and it’s easy to add more and more modules. unfortunately, with one of them, I have a problem: https://github.com/eouia/MMM-CalendarExt.

      I found the wrapper part, but it doesn’t work. The other modules are still working. Do you have an idea?

        getDom: function() {
          if (this.isInit) {
            R = new Render ()
            R.drawViews(
              this.CurrentConfigs,
              this.getEventsToDraw()
            )
          }
          var wrapper = null
          wrapper = document.createElement("div")
          wrapper.id = 'CALEXT_proxy'
          wrapper.className = 'proxy'
          return wrapper
        },
      
          notificationReceived: function(notification, payload) {
              if (notification === 'HIDE_WORK') {
                  this.hide(1000);
              }  else if (notification === 'SHOW_WORK') {
                  this.show(1000);
              }
                  
          },	  
      

      Thank you!

      posted in Fun & Games
      D
      djsunrise19
    • RE: MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

      @E3V3A No, iOS.

      posted in Transport
      D
      djsunrise19
    • RE: MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

      @jimjay203 Yesterday morning some trains were cancelled in the near of frankfurt / main. Nothing on my mirror, nothing in the DB app (+0). But the RMV app was up do date.

      posted in Transport
      D
      djsunrise19
    • RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10

      @Mykle1 said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:

      @djsunrise19 said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:

      I think I’ll create a windows backup and give ubuntu a 3rd chance :-D. Using ubuntu mate shouldn’t be a problem? I like that interface a little bit more

      Personally, I wouldn’t care which version name or number, as long as it’s stable and MM resides there happily.

      Another option for voice would be an alexa skill an module. So I can use alexa for the input trigger.

      Cool. Keep me posted.

      Made it with ubuntu. I didn’t use the java-scripted marquee fx anymore, changed it to CSS3 transitions :) - no problems there. Also the 3rd party option works very well. Now, my realtek soundcard detects my microphone. So I don’t have to use my USB mic (latency is horrible - 4-5seconds!! - with my 3,5mm pawl mic ~0,3seconds). I’m using MMM-voice with your Lucy (slightly modified) ;).

      So thank you very much Mykle1! Any recommendations for a small 3,5mm pawl mic? Actually, I tested it with a headset mic. But it doesn’t recognize me so good, if I’m 0,5m away.

      posted in Troubleshooting
      D
      djsunrise19
    • RE: MMM-voice

      @strawberry-3.141 said in MMM-voice:

      We could get Around the issue of @witschi87 but we dont know yet what the problem actually is. When he starts his mirror with DISPLAY=:0 nohup npm start & it works, with pm2 start mm not, but i have seen a couple using it with pm2 already

      @iMAGiC sry I my Time is pretty Limited due to my Bachelor thesis, but i will have a look if i can adjust the Existent Music player to Voice commands easily

      @strawberry-3.141 Any news here? I have the same problem. It works with pm2 restart mm but not after a reboot. Error 1.

      posted in Utilities
      D
      djsunrise19
    • RE: [MMM-Roomba980] - Live Roomba Stats

      Cool :). Seems to be compatible with more than one romba(980)?!
      Compatible robots: all 800 and 900 series with HOME app.

      posted in Utilities
      D
      djsunrise19
    • RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10

      @Mykle1 A good point. I didn’t choose that 3rd party option. Perhaps there are some better graphic drivers, too. I think I’ll create a windows backup and give ubuntu a 3rd chance :-D. Using ubuntu mate shouldn’t be a problem? I like that interface a little bit more. If it doesn’t work again, I’ll make the windows recovery and try to tweak that.

      Another option for voice would be an alexa skill an module. So I can use alexa for the input trigger.

      posted in Troubleshooting
      D
      djsunrise19
    • RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10

      @Mykle1 I tested two Mainboards, because ubuntu doesn’t recognize the realtek chips. Also I rotated the screen within the ubuntu options. But, thanks for your input. Who knows, if I’ll switch again ;).

      posted in Troubleshooting
      D
      djsunrise19
    • RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10

      @Mykle1 Thank you! First I installed ubuntu (and ubuntu mate) on that system. But there were some graphic-issues (f.e. marquee-fx in display-rotate mode looks very awful) and my microphone doesn’t work. I checked 4 or 5 of them. I thought, MMM-voice works with windows as well.

      After that I decided to go with windows. It works pretty well. More performant than ubuntu. There is only one problem: Each 10min (or something like that) there are very much git processes within the electron process (cpu usage is 70% for a few seconds, windows antivirus checks something too; MM2 lags a little bit). Don’t know why. Do you have the same with your windows environment?

      posted in Troubleshooting
      D
      djsunrise19
    • RE: MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

      @raywo In my config i set maxUnreachableDepartures: 2,, timeToStation: 15, and timeInFuture: 90, . This morning (8:00 o’clock) there were two trains within maxUnreachableDepartures. 7:54 +0, and 8:05 +2. I think the 7:54 shouldn’t be there. Yes, the train is unreachable (15), but he is gone already :).

      posted in Transport
      D
      djsunrise19
    • RE: DeutscheBahn - API - direct relations - information of german railway - DB

      @__Tom__ Missverständnis! Hatte mich verlesen. Alles ok!

      posted in Transport
      D
      djsunrise19
    • RE: DeutscheBahn - API - direct relations - information of german railway - DB

      @__Tom__ Ich glaube nicht. Hafas wird laut Beschreibung genutzt.

      posted in Transport
      D
      djsunrise19
    • 1 / 1