Read the statement by Michael Teeuw here.
Posts
-
RE: Config.js file Syntax
@strawberry-3.141 … except for directories with different read/write permissions. Not a linux expert, but I guess this includes /var/ in its default status!?
-
RE: MMM-Remote-Control
@termeric isn’t it
remote.htmlinstead ofremote.htm?! -
RE: MMM-Remote-Control is disabling MMM-scrobbler?
@malicious_banjo I’ve experienced a somewhat similar issue after sending a command via RemoteControl. Somehow, this command got stuck in the networking queue or whatever and was received periodically again and again.
If you didn’t send any command before, then this is surely something different.
(If you sent a command to disable other modules than Scrobbler, it may still be the same issue, if you also mess with the order of modules by for example deleting modules) -
RE: Can I use Chrome for Magicmirror?
Not an expert here, but I think MM is Electron based, isn’t it?!
MM acts as a server, so you can connect to it on any browser you wish to. On the same machine uselocalhost:8080, on other machines the corresponding ip address (AND take care about ip-whitelist). You presumably want to start MM as server-only in this scenario. -
RE: CORS using node_helper.js for Uber and Lyft APIs
@kal well then… I know its not helping, but it should work as you described. Not seeing anything in js console is a serious problem when developing. Did you try other browsers? If nothing appears in any browser AND on raspberry itself (with
npm start dev), then something is seriously wrong… -
RE: CORS using node_helper.js for Uber and Lyft APIs
@kal are you looking at the correct console? Log.log logs to electron console, which is visible when starting MM with
npm start dev(or by pressing some shortcut which I forgot; search the forum if you want to know). The terminal where you start MM is kind of useless for debugging :( -
RE: How to post code on the forum - For absolute beginners
Maybe it should be added that when you have problems finding the correct “back tick” character, you can also use the
</>button right above the input field to insert a code-formatted block. -
RE: One-line switch to enable / disable modules
@rudibarani
disableddoes this, doesn’t it?disabled Set disabled to true to skip creating the module. This field is optional. -
RE: Youtube Embed API
@Stubbsy1994 The link you provided describes how to embed youtube API into HTML sites using iframe-Tags in two ways. It seems, the module shown in the thread above uses the first method (iframe with source http:// www.youtube. com/embed/VIDEO_ID?parameters). I guess, the pure JS method ultimatively also uses an iframe since its called IFrame Player API.
As far as I can see, both have equal functionality. It’s not really documented, but it seems like you can call all the functions for the player-object listed here in the direct iframe approach (first method), too. See parameter
enablejsapi=1. For example pause or seek-to (not verified for all functions!):$('#video1')[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*'); $('#video1')[0].contentWindow.postMessage('{"event":"command","func":"seekTo","args":[20, true]}', '*');Compare
sendCommandfunction in youtube.js of the module described in the thread above.So even though the module may not satisfy all your needs by now, maybe you can take it as a starting point to develop your own solution?!
-
RE: Calendar not updating after changing to Wifi SSID
@kwyjibo089 I can’t really imagine that changing SSID of wifi alone breaks the calendar module… Since other modules update, I guess raspi has internet access in general? Did you try to manually access the URLs the calendar tries to update from (via browser or whatever)?! Did you change anything else?
-
RE: Youtube Embed API
@Stubbsy1994 LMGTFY (or in this case: let me use search function of this forum for you): searching for “embed youtube” on this forum gives this thread. I guess this is what you need.
-
RE: Updated version of MMM-iFrame
@alberttwong don’t know if I understand correctly… you just do the same as you already do on interval ticks, but in
resume(). I guess it would be nice to have an option to trigger it on/off.
You can start MM2 withnpm start devto see console output. Is that the question? -
RE: Updated version of MMM-iFrame
@alberttwong might be useful to be able to update contents on resume (instead of/additional to updating interval based). This is one thing I missed in the original iFrame module.
-
RE: ETH/EUR price index
@Sjarm13 So, this would be something similar to this thread? If so, see the linked repository.
-
RE: Module to track food expiry dates
@SexyTrogg funny :D do you use extra hardware (somehow connected to the same network) or a camera built into the mirror to read the barcode?
In case you didn’t see it already: there is a template module
-
RE: Problems with weather modules on new install
@erik72 you need an openweather.org API key, see documentation of for example currentweather-Module:
appid
The OpenWeatherMap API key, which can be obtained by creating an OpenWeatherMap account.
This value is REQUIRED -
RE: Black blank screen
@dhirajv12 I’m not really familiar with these errors. To me, it seems like you have some mismatch of versions, e.g. node being too old or too new. Did you try to update as mentioned in the output?