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
    • 1 / 1