MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. sdetweil
    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 108
    • Topics 92
    • Posts 21,151
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: MM2 Blank Screen - Works on SeverOnly

      glad you got it working

      posted in Troubleshooting
      S
      sdetweil
    • RE: Adding a second news feed.

      @rijosroberto
      top stories is

      http://www.wpbf.com/topstories-rss

      weather vids is

      http://feeds.hearstdigitalstudios.com/wsi_app_feed_wpbf.xml

      posted in Troubleshooting
      S
      sdetweil
    • RE: MM2 Blank Screen - Works on SeverOnly

      did u just install?? the current version of electron browser has a problem… i had to downgrade to get it to run

      in the MM folder

      npm remove electron
      npm install electron@1.7.9

      Sam

      posted in Troubleshooting
      S
      sdetweil
    • RE: Unable to clone git clone https://github.com/MichMich/MagicMirror

      @chinnu_2012 logon to your github account, then search for MagicMirror… when there, click Fork,
      and then YOU will have a copy

      that is a good URL to the MagicMirror repo…

      posted in Bug Hunt
      S
      sdetweil
    • RE: External access for embedded google assistant with custom actions

      @timjong93 spawn background process, good… that is how voice works and a bunch of other things that have defined processes…

      posted in Development
      S
      sdetweil
    • RE: External access for embedded google assistant with custom actions

      and I recently saw MMM-RemoteControl, which seems to support sending command strings …

      posted in Development
      S
      sdetweil
    • RE: MagicMirror stays black, but loading from another browser (Windows, Android) works

      that only works for PI devices where tvservice command exists… I run MM on an ODROID so, that doesn’t help…

      I also use an EnergyStar TV, which freaks out when the video input signal is cut and then powers off after 15 minutes…

      posted in Troubleshooting
      S
      sdetweil
    • RE: External access for embedded google assistant with custom actions

      i think you are on the right path…

      the module.js can see other modules for show/hide, but the node_helper cannot
      the node_helper can import other libraries, where the module.js cannot…

      i just made MMM-SleepWake (https://github.com/sdetweil/MMM-SleepWake) which allows some external source (camera via https://motion-project.github.io/) to indicate motion or not, (by writing a file),
      and the node helper uses the file system support to detect that file… and then decides what to do…

      • if it can directly control the display device (pi, or use DPMS), then the node helper does the work. but my system runs on an ODROID SMC, so the pi tvservice command doesn’t work to turn off the monitor (my TV)…
      • the DPMS command (seen used by HelloLucy) turns off the hdmi/dvi source…
        on my TV this shows the big blue ‘NO Input’ screen (counter to what I wanted!)…
      • so I have a software driven sleep (that hides all modules, and remembers ones already hidden)… but that has to be implemented in the module.js… so there is communication from the node_helper to the module.

      whether its file, or sockets, or some queue… you’ve got the right idea…
      I use HelloLucy (on top of MMM-voice) to sleep/wake and hide/show modules via voice.
      i don’t see any ability to inject phrases to the processed in that module…

      posted in Development
      S
      sdetweil
    • RE: Microphone/MMM-voice Help

      @tnp0327 minimize the mirror window (alt-spacebar, n) and the terminal windows used to start the mirror will be shown… the debug is in that window…

      least thats how I do it!..

      this debugs the node_helper
      ctrl-shift-i will open the mirror debug window (select console tab) this will show the module level debug

      posted in Troubleshooting
      S
      sdetweil
    • RE: The MagicMirror build gift for my GF

      i think both frequently used apis (darksky and weatherunderground) have both gone to pay for use models…

      I am not aware of another free api

      posted in Show your Mirror
      S
      sdetweil
    • RE: The MagicMirror build gift for my GF

      if you got an api key before IBM closed free access, the api key still works (for how long I don’t know)… mine still does

      posted in Show your Mirror
      S
      sdetweil
    • MMM-SleepWake using external motion detection source

      Description

      Enable MagicMirror sleep from external (camera) sources

      If you are running the MM on a non PI device, or want to control sleep/wake without having to wire up another device, this module will take external info and signal MM to sleep or wake up.

      I use a Webcam camera for the motion detection, driven by the github Motion project.
      That project allows for a script to be run when motion starts and ends. I provide a script that
      creates a file for both events, and the module detects those files.

      the module supports sleep and wake 3 different ways… On PI using the tvservice command, or the exec dpms command if not using HDMI, or hiding all modules if using an energystar monitor (like my tv)

      I have submitted changes to MMM-voice and HelloLucy to allow our modules to know about the others processing… so voice Go To Sleep and motion wakeup work… if using the Hide method, modules already hidden at sleep will remain hidden on wakeup.

      Download:

      [card:sdetweil/MMM-SleepWake]


      Version 1.0

      posted in System
      S
      sdetweil
    • RE: How can I add this script text to my screen

      @teitlebot you didn’t post the script

      posted in General Discussion
      S
      sdetweil
    • RE: Module suspend not being called

      this fix is now added to the develop branch, and will be merged to master at some time.
      Thanks Mitch

      posted in Development
      S
      sdetweil
    • RE: MagicMirror stays black, but loading from another browser (Windows, Android) works

      @andurii npm has a remove operation

      npm remove electron
      npm install electron@1.7.9

      posted in Troubleshooting
      S
      sdetweil
    • RE: MagicMirror stays black, but loading from another browser (Windows, Android) works

      I had to uninstall electron and install version 1.7.9 to get rid of the blank screen

      posted in Troubleshooting
      S
      sdetweil
    • RE: Module suspend not being called

      ok, this is a bug/limitation… the js/main.js.hideModule() method doesn’t call the callback if there is no dom content…, and there is no dom content if no module position is defined… (per UpdateDom not working)

      my module has no dom content, but I need the suspend notification

      i have opened issue 1308

      posted in Development
      S
      sdetweil
    • RE: Rasbian Stretch screensaver disable

      this Debian Stretch: deactivate screen blanking

      says

      add those lines to

      /home/pi/.config/lxsession/LXDE-pi/autostart 
      

      note that is a file that is USER based…

      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-voice wont register commands

      @strawberry-3-141 said in MMM-voice wont register commands:

      @sdetweil the original idea was that every supported module has it’s on mode, so modules can have the same commands without conflicts. And then you enter the mode and you can use commands of that module as long as you dont change the mode.

      To change the mode you need to say the name of the mode as the first thing in your sentence, only the keyword can be before if necessery. Otherwise it will not detect a change mode

      ok, so mode is really ‘context’ so you could speak to a single module

      posted in Troubleshooting
      S
      sdetweil
    • Module suspend not being called

      I have two modules, which are executing fine…

      I want to add support for suspend and resume, to be used with the Hello-Lucy extension to hide modules.

      I added the functions to my module.js, but suspend is never called…

      the hello-lucy mod to MMM-Voice (module.js) does

                  MM.getModules().enumerate((module) => {
                      module.hide(1000);
      
      

      so my modules should be found and notified…

      config for my modules is

                      {
                                      module: "ImageScheduler",
                      },
                      {
                                      module: "ImageService",
                      },
      

      resume is working… suspend is not…

      my suspend and resume functions

      				suspend: function(){
      					Log.log("image service in suspend");
      					self.sendSocketNotification("suspend",null)
      				},
      
      				resume: function(){
      					Log.log("image service in resume");
      					self.sendSocketNotification("resume",null)
      				},
      
      posted in Development
      S
      sdetweil
    • 1 / 1