• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. drfukc
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 22
  • Groups 0

drfukc

@drfukc

0
Reputation
471
Profile views
22
Posts
0
Followers
0
Following
Joined Feb 23, 2019, 6:20 PM
Last Online May 29, 2022, 7:43 AM

drfukc Unfollow Follow

Latest posts made by drfukc

  • YA Troubleshooting: MMM-AssistantMk2 + MMM-Hotword Thread

    Hi,
    I am aware that there are multiple threads on troubleshooting the Google Assistant, but I did not find one on systematical troubleshooting. How do I test what is not working? Below please find my attempts, which may be a first start, but did not identify the root cause.
    Now I am stuck with my MMM-AssistantMk2 and MMM-Hotword installation and configuration and look for step-by-step troubleshooting. When I started the Google Assistant installation, all installed MM modules are working fine, so I imaged the SD-card for an easy fallback.

    My steps have been:

    1. Installing MMM-AssistantMk2 + MMM-Hotword
    2. Now I get a flashing bubble on the mirror and whenever I say the magic word: “smart-mirror” the string [“smart-mirror”] shows up next to the bubble on my Magic Mirror, but nothing seems to happen after (similar to the image on this page, just my hotword is not “Computer” but “smart mirror”: https://github.com/eouia/MMM-Hotword)

    Maybe most of the things are successfully implemented but how do I get it to work?
    I have no clue why or where it hangs, what are steps to identify where it stucks?

    So far I have checked the following:

    Version checks::
    pi@raspberrypi:~/MagicMirror $ uname -a
    Linux raspberrypi 4.19.34-v7+ #1211 SMP Mon Apr 8 22:56:37 BST 2019 armv7l GNU/L

    pi@raspberrypi:~/MagicMirror $ vcgencmd version
    Mar 27 2019 15:45:53
    Copyright © 2012 Broadcom
    version 2e98b31d18547962e564bdf88e57b3df7085c29b (clean) (release) (start)

    pi@raspberrypi:~/MagicMirror $ node -v && npm -v
    v10.15.3
    6.9.0

    These commands resulted in long outputs, but did not point me to anything useful:
    pi@raspberrypi:~/MagicMirror/config $ npm start dev
    pi@raspberrypi:~ $ dmesg -x -d -T

    Audio checks:

    Speaker check:
    pi@raspberrypi:~ $ aplay -l
    **** Liste der Hardware-Geräte (PLAYBACK) ****
    Karte 0: ALSA [bcm2835 ALSA], Gerät 0: bcm2835 ALSA [bcm2835 ALSA]
    Sub-Geräte: 7/7
    Sub-Gerät #0: subdevice #0
    Sub-Gerät #1: subdevice #1
    Sub-Gerät #2: subdevice #2
    Sub-Gerät #3: subdevice #3
    Sub-Gerät #4: subdevice #4
    Sub-Gerät #5: subdevice #5
    Sub-Gerät #6: subdevice #6
    Karte 0: ALSA [bcm2835 ALSA], Gerät 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
    Sub-Geräte: 1/1
    Sub-Gerät #0: subdevice #0

    Microphone check:
    pi@raspberrypi:~ $ arecord -l
    **** Liste der Hardware-Geräte (CAPTURE) ****
    Karte 1: AK5371 [AK5371], Gerät 0: USB Audio [USB Audio]
    Sub-Geräte: 0/1
    Sub-Gerät #0: subdevice #0

    Audio Check:
    arecord -D plughw:1,0 -d 3 test.wav && aplay test.wav
    I hear myself speaking when the pm2 is stopped

    Google Credentials and Setup check:
    pi@raspberrypi:~/MagicMirror/modules/MMM-AssistantMk2 $ node auth_and_test.js
    Type your request:
    googlesamples-assistant-pushtotalk --project-id magicmirror-12345 --device-model-id magicmirror-12345-magicmirror-123456
    Assistant Response:
    Conversation Complete

    This section highlights some findings:

    pi@raspberrypi:~/MagicMirror $ npm run config:check

    magicmirror@2.10.1 config:check /home/pi/MagicMirror
    node tests/configs/check_config.js

    Checking file… /home/pi/MagicMirror/config/config.js
    Line 56 col 56 ‘arrow function syntax (=>)’ is only available in ES6 (use ‘esversion: 6’).
    Line 57 col 55 Missing semicolon.

    Note: fixing the [“Line 57 col 55 Missing semicolon.“]-issue does not make a difference, I copied-and-pasted this part from here: https://github.com/makepluscode/rpi-tutorial-advanced/tree/master/008-raspbian-magicmirror-google-assistant-latest
    The audio/mic-settings in this sample seem to match my setup?

    Does anybody have any idea what the next appropriate steps are to find where it hangs?
    Any help is very much appreciated.

    Cheers
    Bob

    posted in Troubleshooting
    D
    drfukc
    Mar 15, 2020, 12:27 PM
  • MMM-GoogleMapsTraffic: Increase level of detail

    Hi all,
    I feel quite happy with my Google Maps Traffic module but would like to increase the level of map details.
    Some streets do not show, they are not displayed due to the zoom level.

    Question:
    Is there any (hidden?) trigger I can use to modify the level of details without changing the map-size or zoom-level?

    posted in Troubleshooting
    D
    drfukc
    Sep 9, 2019, 4:25 PM
  • RE: MMM-GoogleMapsTraffic freezes Magic Mirror

    @sdetweil
    yes, that’s the case, the module is running fine until it turns the monitor black (after several hours).
    There are more people in different threads having the same issue.
    The module author does not seem to respond.
    My workaround is a regular cron job restarting the MagicMirror.

    posted in Transport
    D
    drfukc
    May 3, 2019, 3:53 PM
  • RE: MMM-GoogleMapsTraffic freezes Magic Mirror

    I have the same issue. When I boot up the Magic Mirror in debug mode npm start dev & but the Chrome console tab tells me this nasty thing:

    "You have included the Google Maps JavaScript API multiple times on this page." 
    "This may cause unexpected errors."
    

    However, everything looks perfectly nice on my MagicMirror.
    All modules are successfully loaded, including “MMM-GoogleMapsTraffic”.

    But on the next day, the latest my screen is entirely black.
    It’s exactly the same thing as reported in this thread.

    posted in Transport
    D
    drfukc
    May 3, 2019, 3:40 PM
  • RE: MMM-ImageSlideshow no showing and no errors in the log

    @Mykle1

    I am successfully running the MMM-ImageSlideshow module, but the images in my image directory are constantly changing. Looks like the images are all loaded from cached folder information.

    How would I update the Dom to get my new images on the mirror?

    Cheers

    posted in Troubleshooting
    D
    drfukc
    May 1, 2019, 4:46 PM
  • MMM-ImageFileWatcher: Installation error - fsevents (unsupported platform?)

    Hi,
    when trying to install the MMM-ImageFileWatcher module I get a warning that fsevents is not supported on this platform:

    pi@raspberrypi:~ $ cd MagicMirror/
    pi@raspberrypi:~/MagicMirror $ cd modules
    pi@raspberrypi:~/MagicMirror/modules $ git clone https://github.com/basknol/MMM-ImageFileWatcher.git
    Klone nach 'MMM-ImageFileWatcher' ...
    remote: Enumerating objects: 33, done.
    remote: Total 33 (delta 0), reused 0 (delta 0), pack-reused 33
    Entpacke Objekte: 100% (33/33), Fertig.
    pi@raspberrypi:~/MagicMirror/modules $ cd MMM-ImageFileWatcher/
    pi@raspberrypi:~/MagicMirror/modules/MMM-ImageFileWatcher $ npm install
    npm notice created a lockfile as package-lock.json. You should commit this file.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
    
    added 134 packages from 105 contributors and audited 2114 packages in 23.432s
    found 0 vulnerabilities
    
    pi@raspberrypi:~/MagicMirror/modules/MMM-ImageFileWatcher $
    

    Is there any known solution for this?
    Cheers

    posted in Troubleshooting
    D
    drfukc
    May 1, 2019, 4:04 PM
  • RE: MMM-GoogleMapsTraffic: Pricing / cost of usage

    Now I received feedback from Google, that confirms 28,000 MagicMirror map loads each month based on the $200 credit:

    "Thank you for contacting Google Maps Platform Technical Support. My name is Xxx and I will gladly help you with your inquiry today.
    Upon close inspection of your account, indeed, you have the Maps Javascript API correctly enabled.
    Now, if you are using it to call Dynamic Maps, those 28,000 map loads are included within the $200 USD free monthly credit. Or, in other words, the $200 USD credit pays for the 28,000 map loads, ie, you get up to 28,000 map loads, for all intents and purposes, for free every month.
    
    If you exceed the $200 threshold, then yes, your account will be charged according to the pricing sheet you will find at https://cloud.google.com/maps-platform/pricing/sheet/
    That means that the monthly volume range above the 28,000 free map loads is 0.007 USD per each map load (or USD7 per 1000 map loads) up to 100,000 map loads.
    
    If you want to make sure that you do not exceed the free monthly $200 threshold, you can cap your API usage [1] to a certain number of calls per day and/or set budget alerts [2].
    We also provide an online calculator to estimate your usage at https://mapsplatformtransition.withgoogle.com/calculator.
    
    I hope you find this information useful, and if you need further assistance or clarification on the documentation provided, please do not hesitate to let me know. I am happy to help!
    
    Kind regards,
    Xxx"
    
    posted in Troubleshooting
    D
    drfukc
    Apr 23, 2019, 1:20 PM
  • MMM-GoogleMapsTraffic: Pricing / cost of usage

    Hi,
    I have installed and configured the Google MMM-GoogleMapsTraffic module, but feel lost in the Google pricing concept.

    Question:
    Will I ever be charged by Google using the MMM-GoogleMapsTraffic module with the standard values?
    The module is just calling a simple map with traffic information but no routing

    I checked the Google pricing web-page here:
    https://cloud.google.com/maps-platform/pricing/sheet/?_ga=2.265062860.216645122.1555664995-842763991.1553803912

    My best guess is that I am using the Maps JavaScript API to call Google Dynamic Maps and I get 28000 loads for free each month.
    In addition I get $200 credit to purchase additional loads. Since 100000 loads cost $7 I get another 2800000 loads on top.
    In total I get 28000 + 2800000 = 2828000 for free each month.

    Is my understanding correct?, hence I do not have to pay since Google already provides sufficient usage?

    posted in Troubleshooting
    D
    drfukc
    Apr 19, 2019, 9:44 AM
  • RE: RMV module issue (no live data)

    @sdetweil
    if you are the author of the RMV module its perfect, if you are not the author of this module it is perfect as well.
    However, please accept that in my case the “MMM-RMV.js” requires auditing, otherwise it will not work.
    I would be more than pleased if all editing can be done in the “config.js”, at least in my case it does not work.
    The default values do not seem to be overriden.
    Any idea why?

    posted in Troubleshooting
    D
    drfukc
    Apr 18, 2019, 8:30 PM
  • RE: RMV module issue (no live data)

    @sdetweil
    I have not edited the code, I have created a pull-request.
    All I can see it that it is working in my environment with my proposed change but not with the default values.
    In case other users have a similar issue, I suggest to give it a try.

    posted in Troubleshooting
    D
    drfukc
    Apr 18, 2019, 8:03 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy