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

    Posts

    Recent Best Controversial
    • RE: Magic Mirror Blanks Several Hours

      @sdetweil said in Magic Mirror Blanks Several Hours:

      @striiker is this version 2.4.1?

      The update module was throwing an error causing the black screen.

      I would comment out that module

      I’m in the same boat as @MadScientist in that my module rotation still dies necessitating a restart of the modules. Canceling the update check did improve the situation in that it apparently does not crash out as often.

      posted in Troubleshooting
      S
      StrIIker
    • RE: Magic Mirror Blanks Several Hours

      @madscientist Could you please share what you use in your cronjob to reload the modules? Thanks!

      posted in Troubleshooting
      S
      StrIIker
    • RE: Audio Recording Issue

      It looks like the issue is around what I was attempting to use to record audio. I was using a Logitech Webcam 9000 Pro, intending to use just the microphone for the project. I ran out and bought a cheap desktop microphone to test and my voice recording now plays back normally. I assume there may be some kind of global sample rate which needs to be set for the microphone in the webcam (or drivers). I decided to just buy a Sony Playstation Eye from Amazon as I have read several stories of success with it. I will close this as solved since the cause has been identified even if the solution was not. Thank you for your help!

      posted in Troubleshooting
      S
      StrIIker
    • RE: Seeking Help on First Build and Alexa

      @richland007 said in Seeking Help on First Build and Alexa:

      @StrIIker LOL OK well good luck too you … it is a fun and slightly addictive project :)
      Myself and a bunch of other fellows in here have gotten quite further down the road …
      it is very fun and worth it… however there is one catch… we all have the PIRs and the LEDs around the mirror working etc etc… or the Spotify and bunches of other utility modules but one thing we can not seem to figure out is how to get Alexa (which is present and working on the Mirror itself) to control the actual Mirror such as this https://github.com/joanaz/MMM-MirrorMirrorOnTheWall and the actual skill which is this … https://github.com/joanaz/MirrorMirrorOnTheWallSkill
      It is the only way to total control and customization of your Mirror… and the further you dig the more you will end up looking at the above as we all are :)
      any how lets keep chatting
      Dee

      Thank you for the words of encouragement. Can I ask you (or anyone else really) which Alexa module setup I should go for? I have seen one suggestion to use AlexaPi and then additionally add MMM-Alexa. I have seen MMM-Awesome-Alexa which I was contemplating trying. Any thoughts on these? I appreciate your feedback and suggestions. Thank you.

      posted in General Discussion
      S
      StrIIker
    • RE: Audio Recording Issue

      @sdetweil said in Audio Recording Issue:

      If u take off the rate, does it work ok?

      I decided to wipe / rebuild the Pi and Magic Mirror install. I saved my configs etc. so it was pretty straight forward. I will leave this open incase I have the same issue again.

      One odd thing I noticed was that if I moved the USB mic to a different port, I could properly record my voice but AlexaPi was still not working with it. When I rebooted, the “munchkin voice” was back. Any suggestion around which Alexa install I should do? I tried AlexaPi last time but maybe I should just go with Awesome-Alexa (or some other?) Any thoughts?

      posted in Troubleshooting
      S
      StrIIker
    • Audio Recording Issue

      Hello,

      I am working on my AlexiPi configuration. When the system boots, I get the “hello” playback on the speakers. I can play a sample wav file and it plays back just fine. When I record my voice as a test, it appears to be fine but when I play it back, it sounds like it was recorded at slow speed so playback makes my voice sound high pitched and fast (like a chipmunk or something). I’ve been working on troubleshooting this but have not yet found a solution. I think this is my last obstacle to getting Alexa working… I’m not sure what details I can post here as a starting point. Here is what I enter:

      arecord -f S16_LE -r 16000 -D pulse test.wa
      

      Here is what I use to play back:

      aplay -f S16_LE -r 16000 test.wav
      

      Here is the text output when it plays back:

      Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
      

      My recording details:

      arecord -l
      **** List of CAPTURE Hardware Devices ****
      card 1: U0x46d0x809 [USB Device 0x46d:0x809], device 0: USB Audio [USB Audio]
        Subdevices: 0/1
        Subdevice #0: subdevice #0
      

      I’m hoping that someone may have some insight into this issue and can steer me in the right direction. Thank you in advance.

      posted in Troubleshooting
      S
      StrIIker
    • RE: AlexaPi Issue

      Well, I determined the cause of the issue I think. I decided to remove everything prior to the line with “playback_handler” and pasted it from the template. I then manually entered the values under sound but this time, included two leading spaces to match the original config under sound where "input_device: “” had the spaces…
      My config now looks like:

      # See https://github.com/alexa-pi/AlexaPi/wiki/Audio-setup-&-debugging
      # to get a better idea of how to set things in here
      
      # Level of log output
      # default: INFO
      # set to DEBUG for verbose logging
      logging: INFO
      
      sound:
        # Name of your microphone device in PortAudio
        # leave empty for default
        input_device: "pulse"
        output: "pulse"
        output_device: ""
      
        playback_handler: "vlc"
      

      Now I have new issues related to ALSA I think as there are errors related to this in the logs.

      posted in Troubleshooting
      S
      StrIIker
    • RE: AlexaPi Issue

      @sdetweil said in AlexaPi Issue:

      did u edit this with an editor that left line ends and carriage returns (like windows editor?)

      No, I do this from the command line using vim…

      posted in Troubleshooting
      S
      StrIIker
    • AlexaPi Issue

      Hello,
      I previously had AlexaPi running from its initial install. When starting up the computer, I would hear it say “hello”. I have since connected a microphone and went through the configuration steps listed in the git wiki for AlexaPi. I have validated that the microphone works (I can record my voice to a wave file and play it back). What is not working now is AlexaPi… I see the following in the status error message now…

      Oct 04 13:35:21 mirror01 python[578]: File "/usr/local/lib/python2.7/dist-packages/yaml/parser.py", line 98, in check_event
      Oct 04 13:35:21 mirror01 python[578]: self.current_event = self.state()
      Oct 04 13:35:21 mirror01 python[578]: File "/usr/local/lib/python2.7/dist-packages/yaml/parser.py", line 439, in parse_block_mapping_key
      Oct 04 13:35:21 mirror01 python[578]: "expected <block end>, but found %r" % token.id, token.start_mark)
      Oct 04 13:35:21 mirror01 python[578]: yaml.parser.ParserError: while parsing a block mapping
      Oct 04 13:35:21 mirror01 python[578]: in "/etc/opt/AlexaPi/config.yaml", line 7, column 1
      Oct 04 13:35:21 mirror01 python[578]: expected <block end>, but found '<block mapping start>'
      Oct 04 13:35:21 mirror01 python[578]: in "/etc/opt/AlexaPi/config.yaml", line 16, column 3
      Oct 04 13:35:21 mirror01 systemd[1]: AlexaPi.service: main process exited, code=exited, status=1/FAILURE
      Oct 04 13:35:21 mirror01 systemd[1]: Unit AlexaPi.service entered failed state.
      

      When I examine /etc/opt/AlexaPi/config.yaml , I do not see any issues… Here’s the start of the file… row 7 is where the logging is set…

      # See https://github.com/alexa-pi/AlexaPi/wiki/Audio-setup-&-debugging
      # to get a better idea of how to set things in here
      
      # Level of log output
      # default: INFO
      # set to DEBUG for verbose logging
      logging: INFO
      
      sound:
        # Name of your microphone device: "raspberrypi"
        # leave empty for default
      input_device: "pulse"
      output: "pulse"
      output_device: ""
      
        playback_handler: "vlc"
      
        # you can go here with alsa, pulse or others
        # keep blank for the best audio output selected by the underlying code
        output: "alsa"
        # output device: "raspberrypi"
        # currently supports ALSA only
        output_device: "default"
      

      Has anyone else run into this? Should I uninstall and reinstall Alexapi? This seems related to the steps I went through to enable the recording device…

      posted in Troubleshooting
      S
      StrIIker
    • RE: Calendar Module +1 day Error

      @nilnik said in Calendar Module +1 day Error:

      Hello again!
      I Think that you shouldn’t put quotes rond false
      Here is my config:

      module: ‘calendar’,
      header: ‘Kalender, Helg-och födelsedagar’,
      position: ‘top_left’,
      config: {
      colored: true,
      timeFormat: ‘absolute’,
      maximumEntries: 12,
      urgency: 2,
      dateFormat: ‘Do MMM’,
      fullDayEventDateFormat:‘Do MMM’,
      showEnd: false,
      getRelative: 48,

      Hi! That did it! Thank you for your patience and help! I greatly appreciate the help and will certainly help others whenever I can.

      To get this issue resolved, I had to include the showEnd value AND set the timeFormat to absolute as you have. Now my calendar displays the date correctly…

      0_1538659054639_Screen Shot 2018-10-04 at 9.17.02 AM.png

      posted in Troubleshooting
      S
      StrIIker
    • 1 / 1