juzim / mmm-api Goto Github PK
View Code? Open in Web Editor NEWA somewhat RESTful(ish) API for Magic Mirror²
License: MIT License
A somewhat RESTful(ish) API for Magic Mirror²
License: MIT License
Hello,
I think you have an awesome idea here for "discovering" API functions of other modules. I hope you don't mind, but I took the concept you developed and incorporated it into a large update to MMM-Remote-Control that I'm hoping to merge (Jopyth/MMM-Remote-Control#104). I wasn't sure if you were on the MM forum, so I thought I'd raise an issue here instead.
I took your idea and expanded it to allow other modules to also send a notification to detail their API explicitly.
If you're interested, please check out the implementation here:
https://github.com/shbatm/MMM-Remote-Control/tree/upstream_pr/API
Thanks for the awesome work!
I receive the below error any time I try to load MM with this module. If I deactivate the loadModules calls within the module, the errors cease, but the functionality is unavailable.
0|MagicMirror | Whoops! There was an uncaught exception...
0|MagicMirror | [2020-09-27 00:02:43.442] [ERROR]
0|MagicMirror | Error: listen EADDRINUSE: address already in use 127.0.0.1:3513
0|MagicMirror | at Server.setupListenHandle [as _listen2] (net.js:1226:14)
0|MagicMirror | at listenInCluster (net.js:1274:12)
0|MagicMirror | at GetAddrInfoReqWrap.doListen [as callback] (net.js:1413:7)
0|MagicMirror | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:65:10) {
0|MagicMirror | code: 'EADDRINUSE',
0|MagicMirror | errno: 'EADDRINUSE',
0|MagicMirror | syscall: 'listen',
0|MagicMirror | address: '127.0.0.1',
0|MagicMirror | port: 3513
0|MagicMirror | }
0|MagicMirror | [2020-09-27 00:02:43.444] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMirror | [2020-09-27 00:02:43.445] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Hi
Thanks for the module. I am new to MM. Can you please post a short video tutorial on how to use the module.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.