A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Analog Clock Module Midori Browser

    3
    0 Votes
    3 Posts
    3k Views
    G
    I’m having the same issue except no amount of scaling will move it from 9 O’clock. In case anyone if lookingat unread psots and fixed it, how did you do it? Thanks.
  • MMM-cryptocurrency side by side top bar

    5
    0 Votes
    5 Posts
    2k Views
    N
    @StacheEnthusiast You’re right. Tables don’t take styling very well; table rows (tr) insist on taking their own line, so there’s no easy way to move them beside each other. The proposed solution above should circumvent this, putting all the cells (td) into a single row.
  • MMM-Rest & pimatic REST-API

    1
    0 Votes
    1 Posts
    828 Views
    ?
    I need help by my pimatic integration with the MMM-Rest Module. In the Module docu the url returns a single Integer but my pimatic api returs a string with more informations. like this curl http://user:user@himbeere/api/variables/dht-01.temperature {“variable”:{“name”:“dht-01.temperature”,“readonly”:true,“type”:“attribute”,“value”:20,“unit”:“°C”},“success”:true} what i need ist the value 20 how i can filter the response? i have found this for an php request but i dont know how i can use it in the node_helper.js <b>Single value from weather.temperature:</b><br /> php $curl = curl_init(); curl_setopt ($curl, CURLOPT_URL, "http://demo:demo@demo.pimatic.org/api/variables/variable-set.temperature"); curl_setopt ($curl, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec ($curl);// curl to a variable curl_close ($curl); $result = json_decode($result, true);// decode to associative array $result = $result['variable']['value'];//pick desired value print "Temperature: ".$result; $result = Temperature 11.4 node_helper.js /* Magic Mirror * Module: MMM-Rest * * By Dirk Melchers * MIT Licensed. */ var NodeHelper = require('node_helper'); var request = require('request'); module.exports = NodeHelper.create({ start: function () { console.log(this.name + ' helper started ...'); }, socketNotificationReceived: function(notification, payload) { if (notification === 'MMM_REST_REQUEST') { var that = this; request({ url: payload.url, method: 'GET' }, function(error, response, body) { // console.log("MMM_REST response:"); if (!error && response.statusCode == 200) { // console.log("send notification: "+payload.id); that.sendSocketNotification('MMM_REST_RESPONSE', { id: payload.id, data: response }); } }); } } }); does anyone have an idea how i can integrate the decode in the node_helper.js?
  • MMM-WunderGround clock and MPH issues

    4
    0 Votes
    4 Posts
    2k Views
    Mykle1M
    @codyS75 No worries my friend. We’ve all been there. :-)
  • MMM-MirrorMirrorOnTheWall and MMM-AlexaPi

    4
    0 Votes
    4 Posts
    3k Views
    A
    Well, now that I’m looking at the Amazon Developer Console, I’m noticing something that I may have overlooked…My Alexa Skills have not been certified or published. My understanding was that you don’t want to publish the skills because they will then be available to the public. I thought that if I simply avoided those steps, I would be in an acceptable “beta” state since I only need it for home use. The other option I saw was to give access to only an Amazon Business Account, but that doesn’t seem right for the magic mirror setup. Am I thinking about this correctly? Did everyone else here make their MagicMirror2 Alexa skills public?
  • MMM-Google Assistant

    1
    1 Votes
    1 Posts
    2k Views
    ChrisC
    Hello, I am trying to install this module but I am having problems with a step of the installation of the Google Assistant SDK. (https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device) Everything is fine until the step “Register the Device Model”. Indeed, when I use the registration tool, it does not work. I tried the command: (env) $ googlesamples-assistant-devicetool register-model --manufacturer "Assistant SDK developer" \ --product-name "Assistant SDK light" --type LIGHT --model my-project-1505046981535-my-model1 Each time I have the following error message: Error: Error loading client secret: [Errno 2] No such file or directory: 'client_secret_xxxxx-m88slnqk24bqul282n0nnogs10sck6qo.apps.googleusercontent.com.json'. Run the device tool with --client-secrets or --project-id option. Or copy the client_secret_xxx-xxxx.apps.googleusercontent.com.json file in the current directory. Could someone tell me the procedure to follow? Thank you in advance, Regards,
  • mmm assistant cracking sound usb headset

    1
    0 Votes
    1 Posts
    756 Views
    S
    Hello Experts after a lot of try i was finally able to install mmm assitant on my mirror but there is a weird issue i am facing with my usb pnp headset that there is cracking sound coming after asking a question. any one here facing same issue ? any help is much appreciated thank you
  • How to make MM scrollable when connecting via remote client?

    3
    0 Votes
    3 Posts
    2k Views
    E
    @yawns Thanks, that did it. :) The webkit stuff seem quite experimental and can probably be ignored: https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar https://en.wikipedia.org/wiki/List_of_web_browsers#WebKit-based
  • MMM-PIR-Sensor (PaViRo) +HC SR501 - Setting parameters?

    1
    0 Votes
    1 Posts
    1k Views
    Robert_KR
    So I made my first MagicMirror. I’ve included an HC SR501 pir-sensor. This sensor has two potential meters to alter the sensitivity and alter the amount of time the output stays high. Having set the sensibility at “medium”, and the output time at “short”. The short has been chosen to see if the sensor works and seems to give less failures. The off delay time will be set in the module config. I’ve tested the sensor at several ways. The RPI receives it’s signal and with gpio readall It shows to be at BCM 22, GPIO.3 Physical 15. Using the MMM-PIR-Sensor (PaViRo) module it “works”. Blocking the sensor and wait for the configured 30 seconds the screen goes off. Removing the sensor blockage, the screen goes on. I’ve altered the delay time from 30 seconds to 5 minutes (note time is in milliseconds) as below: { module: 'MMM-PIR-Sensor', config: { sensorPIN: 22, powerSaving: true, offDelay: 300000, //in miliseconden } }, the 5 minutes is because I want the mirror to go off when I’m not at home or a sleep 😉 Having set this it looked like it worked, but after a day the mirror started to misbehave. Go off when I’m walking in front of it, or even worse not go on anymore when standing, waving, dancing in front of it… A gpio readall shows the PIR still works and a sudo reboot solves the problem for a couple of hours. So I was wondering how do you guys set all the parameters as we have three variables. PIR sensor sensitivity, the PIR sensor output time and the module offDelay. And what can cause this misbehavior? Thanks in advance, Regards Robert
  • MMM-Newsfeed is only working for a day

    8
    0 Votes
    8 Posts
    3k Views
    MedoM
    @all Seems like i found the problem why some modules stopped working. I revisited my MM configuration and noticed i had lost my “keep WiFi active” configuration… I opened /etc/network/interfaces and put in the missing “wireless-power off”. More infos here: https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/6 (see chapter “Installing MagicMirror - Step 4”)
  • MMM-Assistant Error Node module version

    2
    0 Votes
    2 Posts
    1k Views
    S
    hi, got the same error here today. did you figure out how to solve this? Thanks
  • API requests stop firing after a couple hours for custom module

    7
    0 Votes
    7 Posts
    2k Views
    cowboysdudeC
    You could also do a console.log to see if you’re getting regular outputs after your request…
  • Default Calender-absolute Date

    14
    0 Votes
    14 Posts
    12k Views
    P
    I just checked my module, I have timeFormat: ‘absolute’, So not: “absolute” I hope this makes the difference! Peter
  • Button

    23
    0 Votes
    23 Posts
    23k Views
    foxF
    Dear community, how could i implement following scenario. Connect a button to the MM and switch monitor on and off with it?
  • Is node_helper really required?

    4
    0 Votes
    4 Posts
    2k Views
    E
    @strawberry-3.141 Oh!? That is funny, because I removed it, and there is no change in anything, module ran fine without it. Perhaps because I’m not using most of the content from that file, while the rest is already defined?
  • 0 Votes
    4 Posts
    5k Views
    gauravsaccG
    @Raddy said in Possible Issue: MMM-GoogleAssistant with recent Google Assistant SDK update: d method f just an update. I’ve updated the MMM-GoogleAssistant module to work with the new SDK :)
  • Volume issue on MMM-GoogleAssistant module

    5
    0 Votes
    5 Posts
    2k Views
    C
    @aro28 That didn’t work on mine. I suspect you would need to go into alsamixer, locate your playback device’s configuration and adjust the default volume there.
  • Voice control question

    14
    0 Votes
    14 Posts
    10k Views
    M
    @Krato5 Open for anything I have enough stuff to do on my smarthome/magic mirror so always happy about any help ;)
  • Translation "After one month" in Calendar Module

    15
    1
    0 Votes
    15 Posts
    9k Views
    yawnsY
    @MM-Hans said in Translation “After one month” in Calendar Module: @yawns said in Translation “After one month” in Calendar Module: vendor/node_modules/moment/min/ Hi Stefan. You almost need to be a digital detective to locate that phrases ;-) But finally the issue is solved, thanks for your assistance! You are welcome!
  • GPIO in MMM: ModuleToggle with MMM-Buttons is randomly working

    1
    0 Votes
    1 Posts
    992 Views
    G
    Issue comes from the buttons requiring an insane amount of presses to trigger, sometimes never triggering, and on rare occasions 2 of the 4 will work perfectly. The goal was to have an easy way to have buttons, in this case 4, and each have their certain modules. Using code from http://razzpisampler.oreilly.com/ch07.html import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(18, GPIO.IN, pull_up_down=GPIO.PUD_UP) while True: input_state = GPIO.input(18) if input_state == False: print('Button Pressed') time.sleep(0.2) I tested each one button with their own GPIO and each worked every time, so with this knowledge i know the buttons and the wiring is right. The code for the config is: modules: [ { module: 'MMM-ModuleToggle', config: { hide: ["clock"] } }, { module: 'MMM-Buttons', config: { buttons: [ { pin: 23, name: "Button_One", shortPress: { notification: "MODULE_TOGGLE", payload: {hide: [], show: ["calendar", "clock"], toggle:[]} }, longPress: undefined }, { pin: 13, name: "Button_Two", shortPress: { notification: "MODULE_TOGGLE", payload: {hide: ["calendar", "clock"], show: [], toggle:[]} }, longPress: undefined } ] } As stated they work, but at very random time. Im wondering if im suppose to like preload the knowledge to use GPIO ahead of the booting of the actual Magic Mirror program, or something like, or am i missing a step. Thank you in advance.