A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    28 Views
  • Looking for Austrian Testers

    16
    1 Votes
    16 Posts
    6k Views
    schlachtkreuzer6S

    @strawberry-3.141 works great!

  • Forcing language translations in module

    1
    0 Votes
    1 Posts
    1k Views
    brobergB

    How do I go about forcing translations in a module?

    I want my configuration option to overwrite the main config language setting, how do I do that in the code? I have included translation json files in the module and include them using

    getTranslations: function() { return { en: "translations/en.json", sv: "translations/sv.json" } },

    and then use this.translate('word')

    I guess this is really simple, but I’m lost

  • MMM-Alexa No Media Stream connected

    1
    0 Votes
    1 Posts
    989 Views
    romainR

    Hello, I try to make MMM-Alexa work (I don’t have a button, so I use another module to send the start recording notification for now).
    But I got an exeption

    Uncaught (in promise) Error: No Media Stream connected. :8080/modules/MMM-alexa//alexaRunner.babel.js:527 at Promise (:8080/modules/MMM-alexa//alexaRunner.babel.js:527) at AVS.startRecording (:8080/modules/MMM-alexa//alexaRunner.babel.js:525) at alexaRunner.notificationReceived (:8080/modules/MMM-alexa//alexaRunner.babel.js:4326) at Class.notificationReceived (:8080/modules/MMM-alexa//MMM-alexa.js:59) at sendNotification (main.js:87) at Object.sendNotification (main.js:454) at Class.sendNotification (module.js:301) at Class.notificationReceived (:8080/modules/shemur//shemur.js:43) at sendNotification (main.js:87) at Object.sendNotification (main.js:454) TypeError: Cannot read property 'byteLength' of undefined alexaRunner.babel.js:4468 at Promise (alexaRunner.babel.js:670) at AVS.sendAudio (alexaRunner.babel.js:601) at alexaRunner.avs.stopRecording.then.dataView (alexaRunner.babel.js:4435)

    The color of the square is red.
    I receive the following notification in that Order :
    ALL_MODULES_STARTED
    DOM_OBJECTS_CREATED
    ALEXA_CREATED
    ALEXA_TOKEN_SET (When I receive this one I send the ALEXA_START_RECORDING notification)
    ALEXA_VAD_VOICE_DETECTION_START
    ALEXA_VAD_VOICE_DETECTION_STOP (I receive this one immediatly after the start one)
    ALEXA_RECORD_STOP
    ALEXA_STOP_RECORDING

    If I don’t send the alexa start recording notification, I have no exception so It must be related to the recording right ? I do have a mic and I can record a sound with arecord and play that sound with aplay or play in my terminal.
    So why is the vad voice detection stoping immediatly ? why do I receive the “No media stream connected” exception ? Is the module dosn’t detect my mic ?
    How can I solve this?

    Little update: If I send the notification again (with about 30 second spacing) I am able to have an answer from Alexa.if I speak quickly enough at the moment the notification is send. So… I’m guessing the first time is for initialization and after that it’s ok to talk. Still not sure why I got exception but I guess it’s fine…
    I need to find a way to trigger it with a wake up world now.
    Also, Is there a way to see when it’s ok to talk ? (kinda like the MMM-AlexaPi module that show you the mic status and a little symbole that show Alexa is processing your request)

  • Tutorial

    4
    1 Votes
    4 Posts
    2k Views
  • Facial Recognition

    Moved
    1
    1 Votes
    1 Posts
    1k Views
    E

    I have started playing with the face recognition module and if I can get it to actually train I think it would be awesome… but I live with just my fiancé and was thinking, wouldn’t it be awesome if it recognized all our Facebook friends when they came over with out having to train them. Anyone have experience with fb apps and know of they would be easily integrated as a module

  • Schedule update?

    1
    0 Votes
    1 Posts
    870 Views
    W

    I have created a module that would display Estimated Time of Arrival (ETA) in Hong Kong. The tough thing would be there are multiple route will stop at one bus stop, and I need to find the URL for each route. So my program will have several parts.

    At load time, it will generate URL for each route

    It will load all the routes that will go through that bus stop

    Then for each route I need to find the corresponding URL for each route

    For each route it will find out the corresponding ETA URL

    For each ETA URL, it will poll every minute and update the info in Magic Mirror

    But there are few problems here.

    I would like to update the ETA URL “Every 5am”, how the schedule can be done?

    Currently my work only support one bus stop but I would like to include multiple bus stops, how could I change the structure in node_helper.js to accommodate that?

    Thanks in advance

  • Events (onHide, onShow)

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    A

    Ooops, my bad. Sorry for the silly question. Was so focused on the event-derived names onX() :D

    Topic can be deleted if desired.

  • Voice Control using IBM's Watson

    15
    0 Votes
    15 Posts
    6k Views
    P

    @makssie Definitely free. Check out IBM’s Watson TJBot. It also has really great documentation and step by step tutorials.

  • Multiple API Requests

    3
    0 Votes
    3 Posts
    1k Views
    W

    Thanks for the reply.

    I think my major question is, how can I make multiple asynchronous API calls (for obtaining the Stop info as well as obtaining the ETA for each route). Any example would be a great (pipe requests).

    Thanks for the help.

  • Get URL from Newsfeed (full article)

    4
    0 Votes
    4 Posts
    2k Views
    S

    Ok.

    I’ve solved the problem. There wasn’t a url decleration in my fetcher.js.
    I put it in to the fetcher.js an it works very well now.
    Thanks for your help.

    Great forum.

    Greetings from Thuringia/Germany

  • Encoding issues with RSS feed on Newsfeed module

    Solved
    5
    0 Votes
    5 Posts
    3k Views
    M

    @strawberry-3.141 That works for me as well now, looks like I didn’t run across ISO-8859 while I was researching. Thanks for the help!

  • Lesson Learned: Updating HTML canvas module

    2
    0 Votes
    2 Posts
    1k Views
    strawberry 3.141S

    @hoyski you’re not the first who came across this issue, but using id for timestamps isn’t that nice. I would use a different attribute for it.

    Imagine more modules would do this depends on what youre using for the timestamp a user could end up with two modules trying to use the same id for different modules

  • What happened to the develop branch?

    5
    0 Votes
    5 Posts
    2k Views
    strawberry 3.141S

    @Cato Ok just found the discussion on github

  • http request

    53
    0 Votes
    53 Posts
    42k Views
    foxF

    Could someone please post a sample xml file that works?
    I dont know how to generate my xml file correctly.

  • Font Awesome Update...

    4
    0 Votes
    4 Posts
    2k Views
    R

    I propused the idea mentioned before
    https://github.com/MichMich/MagicMirror/pull/775

  • Module Switcher?

    2
  • Using localhost

    1
    0 Votes
    1 Posts
    1k Views
    J

    Hello, is there any tutorial for how to use php files in magicmirror? i want to know if its possible to just use the php files via ajax without the need of the modules

  • php/python apis

    2
    0 Votes
    2 Posts
    1k Views
    R

    @jujz You can call by node_helper to localhost and use your API

  • dealing with applications via the mirror..

    7
    0 Votes
    7 Posts
    2k Views
    J

    @yawns thankyou so much for your useful reply… i actually only want two apps. one for the lifx lights and the other for the wemo app… i just want to know how exactly would i deal with an api that uses php without placing the magicmirror folder else where… im lost