A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Better speech recognition engine?

    6
    2 Votes
    6 Posts
    3k Views
    lavolp3L
    Now you have my full attention! :-) Sounds exciting! Good luck with development! Do you now jasper? “Jasper is an open source platform for developing always-on, voice-controlled applications” https://jasperproject.github.io/ Maybe worth a look? E.g.: “Julius is a high-performance open source speech recognition engine. It does not need an active internet connection. Please note that you will need to train your own acoustic model, which is a very complex task that we do not provide support for. Regular users are most likely better suited with one of the other STT engines listed here.” (from the documentation)
  • UpdateDom not working

    22
    0 Votes
    22 Posts
    9k Views
    S
    @j-e-f-f It is kind of working now… I will test it thoroughly for two days and will revert in case of any issue @j-e-f-f @Sean thank a lot for your prompt replies and efforts
  • Cannot create complex Json structure in module

    1
    0 Votes
    1 Posts
    867 Views
    S
    I am trying to create complex json object in module const commands = { 'hello': function () { console.log('You will obey'); }, '(give me) :flavor ice cream': function (flavor) { console.log('Fetching some ' + flavor + ' ice ceam for you sr') }, 'turn (the)(lights) :state (the)(lights)': function (state) { console.log('Turning the lights', (state == 'on') ? state : 'off') } } But commands are turning out be some other objects than the correct JSON message to be passed in following method annyang.addCommands(commands); But same is happening correctly in node_helper
  • Pass module object to node helper

    3
    0 Votes
    3 Posts
    2k Views
    S
    I don’t want to pass config but the complete module object (this). Which is not working? How to do that?
  • Interacting With MM Modules with external script

    1
    0 Votes
    1 Posts
    871 Views
    Y
    I have a voice controlled personal assistant running on python on my raspberry pi. I need to control the Magic Mirror with my voice assistant. I know there are voice modules available with Magic Mirror but what if I want to integrate MM with my external voice assistant? How to interact MM with external running script ?
  • Stock Module Problem

    6
    0 Votes
    6 Posts
    3k Views
    W
    @yours.mukul Hi. Maybe this is helpfully for you: https://stackoverflow.com/questions/46070126/google-finance-json-stock-quote-stopped-working On this thread they also provide the yahoo finance service for a work around. On the end a user wrote: "The following works https://finance.google.com/finance?q=TICKER&output=json And returns a json with lots of information for you to parse." I hope this information was helpful for you. Greetings
  • Are modules sandboxed from each other?

    3
    0 Votes
    3 Posts
    1k Views
    ?
    @ovg Even you can execute other module’s member function. All modules are combined and executed together in front browser layer, thats why error of one module stops whole system.
  • Push Notification

    6
    0 Votes
    6 Posts
    3k Views
    J
    @yours.mukul As in email alerts, text messages, etc? I don’t know of a particular module that does this, but it’s possible that you might be able to kludge something together using IFTTT (https://ifttt.com/), and by writing a module to receive notifications from that. I know it’s not a complete solution, but it gets you at least halfway there, and given the number of different ways that IFTTT can be used, it might even give you more flexibility than you were expecting. EDIT There is an IFTTT module. Try this: https://forum.magicmirror.builders/topic/673/mmm-ifttt-if-this-then-that-maker-notifications
  • Displaying current AND today's high temp in MMM-Wunderground

    1
    0 Votes
    1 Posts
    841 Views
    A
    I just resurrected an old MM, and my wife is wondering if I can change the display to show both the current temp and today’s predicted high (ie 60F/80F) as large as possible. I can copy and paste, and if I think hard enough, probably modify files. Thanks,
  • Hiding temp from the default currentweather.js module

    6
    0 Votes
    6 Posts
    3k Views
    Mykle1M
    @rcollie said in Hiding temp from the default currentweather.js module: You’re a legend In my own mind. :^')
  • Parsing Notifications/Data to Modules

    2
    0 Votes
    2 Posts
    1k Views
    ?
    @yours.mukul create module which could receive and send notification of mm and then converse it with your python script via… i think websocket is one of kinds.
  • MMM-Todoist - adding reminder priority owner

    7
    0 Votes
    7 Posts
    4k Views
    U
    Oki, have a nice holiday :)
  • Character encoding of GET request response

    3
    1
    0 Votes
    3 Posts
    3k Views
    W
    What is Character Encoding? A character encoding tells the computer how to interpret raw zeroes and ones into real characters. It usually does this by pairing numbers with characters. Words and sentences in text are created from characters and these characters are grouped into a character set. Therefore, there must be mappings that describe how to turn each character in a character set into a sequence of bytes. Some characters might be mapped to a single byte but others will have to be mapped to multiple bytes. Those mappings are encoding, because they are telling you how to encode characters into sequences of bytes.
  • [Solved] Socket notification not working

    7
    0 Votes
    7 Posts
    3k Views
    W
    @j.e.f.f I tried npm start dev but I don’t got the output from console.log() in helloworld.js
  • Persistent data

    3
    0 Votes
    3 Posts
    1k Views
    K
    @j.e.f.f said in Persistent data: I’m assuming you’re building a custom module where this isn’t practical Yeah my module gets OAuth data back which needs to be stored if the user doesn’t want to authenticate the mirror everytime it restarts/crashes. So I hoped there was some kind of datastorage build in for small stuff. I will try it with a .json file
  • How to clear cache?

    2
    0 Votes
    2 Posts
    2k Views
    ?
    Nevermind. Electron seems to be able to control its cache automatically.
  • Dynamically Moving Modules

    Moved
    7
    0 Votes
    7 Posts
    3k Views
    S
    This version of MMM-Carousel will allow you to set different locations for a module for different slides: [card:shbatm/MMM-Carousel] See the very bottom of the README for more information If you’re interested in incorporating this into your own module, the relevant parts of the code are here and here
  • JSON-RPC need help

    3
    0 Votes
    3 Posts
    2k Views
    T
    Thanks. But i have an other problem. The JSON request works per curl on console, but in js : "net::ERR_EMPTY_RESPONSE " Curl : curl -i -X POST -H "Content-Type: application/json" -d "{\"jsonrpc\": \"2.0\", \"id\": \"0\", \"method\": \"GetValue\", \"params\": [18697]}" http://xxx.xxx.x.xx:3777/api/ but in the MM-JS-Script don´t work. Looks like the json parameter don´t work.
  • Custom module bases helloworld

    2
    0 Votes
    2 Posts
    1k Views
    strawberry 3.141S
    @roma-cezar you need to put your code into a node_helper as it is based on node dependencies. Then you can communicate via sockets between the helper and the module. you can have a look in other modules which have a node_helper file how the communication works. also you can have a look in the developer guide here https://github.com/MichMich/MagicMirror/blob/master/modules/README.md
  • Can't load script correctly

    4
    0 Votes
    4 Posts
    3k Views
    N
    You can get leaflet to work in magic mirror quite easily. When you are creating your getDom function take the example from the tutorial as follows: var mymap = L.map('mapid').setView([51.505, -0.09], 13); L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', { attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://mapbox.com">Mapbox</a>', maxZoom: 18, id: 'mapbox.streets', accessToken: Your Access token }).addTo(this.mymap); You will also need specify the size of the of the map window in your css file .Your_Module_Name #mapid { height: 500px; width: 500px; } There is a bit of a bug with some of the map not loading, this can be fixed by listening for the DOM_OBJECTS_CREATED notification like so: notificationReceived: function (notification, payload, sender) { if (notification === "DOM_OBJECTS_CREATED") { this.mymap.invalidateSize(); } }, This forces a redraw of the map.