MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. dankerthrone
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 14
    • Best 0
    • Controversial 0
    • Groups 0

    dankerthrone

    @dankerthrone

    0
    Reputation
    146
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    dankerthrone Unfollow Follow

    Latest posts made by dankerthrone

    • RE: MMM-Bose-Soundtouch

      Nevermind, @Charley , I think I just needed a restart. It’s fine now, mostly, but I’d like to run several instances. How would I go about doing that? My parents have three different SoundTouch devices and ideally, none would show up if nothing’s playing and all of them would show if all three were playing different tunes.

      Unfortunately, this is what I end up with if only one of them is playing anything:
      0_1576874929765_72b01e89-f774-41b3-bb43-57945d802219-grafik.png

      My config.js:

      {
      			module: "MMM-Bose-Soundtouch",
      			header: "In der Küche läuft:",
      			position: "bottom_right",   // see mirror setting for options
      			config: {          
      				updateInterval: 5, // every 5 seconds
      				apiBase: '192.168.178.74',
      					}
      		},
      		{
      			module: "MMM-Bose-Soundtouch",
      			header: "Im Wohnzimmer läuft:",
      			position: "bottom_right",   // see mirror setting for options
      			config: {          
      				updateInterval: 5, // every 5 seconds
      				apiBase: '192.168.178.29',
      					}
      		},
      		{
      			module: "MMM-Bose-Soundtouch",
      			header: "Im Badezimmer spielt:",
      			position: "bottom_right",   // see mirror setting for options
      			config: {          
      				updateInterval: 5, // every 5 seconds
      				apiBase: '192.168.178.21',
      					}
      		},
      

      Apparently, distinct IP addresses are not the only key to success here? 🙂

      posted in Entertainment
      D
      dankerthrone
    • RE: MMM-Bose-Soundtouch

      @Charley: thank you for the development of this module. Unfortunately, when I started it up, it told me to tell you the results of http://192.168.1.51:8090/now_playing. This is what I’m getting:

      < nowPlaying deviceID="689E1XXXXXXX" source="SPOTIFY" sourceAccount="">
      < ContentItem source="SPOTIFY" type="resume" location ="spotify:user:spotify:playlist:37i9dQZF1DWVqfgj8NZEp1" sourceAccount="" isPresetable="false">
      < itemName>Coffee Table Jazz</itemName>
      < /ContentItem>
      < track>After All</track>
      < artist>Yuri Honing Acoustic Quartet</artist>
      < album>After All</album>
      < stationName/>
      < art artImageStatus="IMAGE_PRESENT">
      http://i.scdn.co/image/ab67616d0000b273461df9176cfef57f0e4ff150
      < /art>
      < time total="322">3</time>
      < skipEnabled/>
      < playStatus>PLAY_STATE</playStatus>
      < shuffleSetting>SHUFFLE_ON</shuffleSetting>
      < repeatSetting>REPEAT_OFF</repeatSetting>
      < skipPreviousEnabled/>
      < streamType>TRACK_ONDEMAND</streamType>
      < trackID>spotify:track:2r3dQilQpgjPbRomN7GAvD</trackID>
      < /nowPlaying>
      

      NB: I had to insert spaces into the tags for forum formatting.

      posted in Entertainment
      D
      dankerthrone
    • RE: MMM-News

      Hey, I’m getting this error message:

      [NEWS] Error :  https://newsapi.org/v2/top-headlines?pageSize=20&apiKey=XXX result.code:Required parameters are missing. Please set any of the following parameters and try again: sources, q, language, country, category.
      
      

      although I think have that configured correctly:

      {
      			module: "MMM-News",
      			position: "bottom_right",
      			config: {
      					apiKey : "XXX",
      					type: "vertical",
      					query : [
      						  {
      							language: "de"
      						  }
      						  ],
      					items: 20,
      					timeFormat: "relative",
      					endpoint :  "https://newsapi.org/v2/top-headlines",
      					scanInterval: 1000*60*10, // This will be automatically recalculated by number of queries to avoid query quota limit. This could be minimum interval.
      					templateFile: "template.html"
      					
      					}
      		},
      

      Any help is greatly appreciated 🙂

      posted in Utilities
      D
      dankerthrone
    • martinkooij/MMM-MyWeather: error message about appid

      Hi all,
      I installed and configured @martinkooij 's module correctly (I think):

      {
      			module: "MMM-MyWeather",
      			position: "bottom_left",
      			config: {
      				apiKey: "xxxxxxxxxxxxxxxxxxxxxxx",
      				lat: "xx.03586",
      				lon: "x.06379",
      				coloricon: true,
      				hourly: '1',
      				fctext: '0',
      				fcdaycount: "5",
      				fcdaystart: "0",
      				hourlyinterval: "3",
      				hourlycount: "3",
      				alerttime: 10000,
      				alerttruncatestring: "english:",
      				roundTmpDecs: 1,
      				UseCardinals: 0,
      				layout: "vertical",
      				fadePoint: 0.8,
      				windunits: "kph"
      				
      			}
      

      All I’m seeing, though, is this weird error message from a previous fork, I think:

      Please set the correct openweather *appid* in the config for
      module: MMM-MyWeather. 
      

      The module’s config, however, refers to weatherbit.io as its apibase. My apiKey seems to work there: I manually tested it and it does record “calls made” under my apikey, so that should check out. What am I missing?

      posted in Troubleshooting
      D
      dankerthrone
    • RE: mmm-suncalc - Text only display of sunrise, sunset and other sun events

      Thanks. I think in general people know to cd to the module folder to be installed and then run

      npm install
      

      but I didn’t get that from the readme, thus ran the install command from the ~/MagicMirror folder and as a result never installed anything. No wonder the thing doesn’t run 😃

      It does now, though, so thanks again!

      posted in Utilities
      D
      dankerthrone
    • RE: MMM-Sunrise-Sunset

      @sdetweil
      finding jquery as you suggested returns

      pi@raspberrypi:~/MagicMirror $ find . | grep jquery\.js
      ./node_modules/nwmatcher/src/modules/nwmatcher-jquery.js
      
      
      posted in Utilities
      D
      dankerthrone
    • RE: MMM-Sunrise-Sunset

      after rebooting, the black screen of MagicMirror now shows this in the developer console:

      Starting module: MMM-Sunrise-Sunset
      MMM-Sunrise-Sunset.js:50 Uncaught ReferenceError: $ is not defined
          at Class.updateSun (MMM-Sunrise-Sunset.js:50)
          at Class.start (MMM-Sunrise-Sunset.js:12)
          at startModules (loader.js:55)
          at loader.js:40
          at HTMLLinkElement.stylesheet.onload (loader.js:200)
      DailyXKCD.js:77 https://imgs.xkcd.com/comics/hotel_room_party.png
      7
      DailyXKCD.js:177 Uncaught TypeError: Cannot read property 'naturalHeight' of null
          at Class.scrollComic (DailyXKCD.js:177)
          at DailyXKCD.js:51
      6
      DailyXKCD.js:177 Uncaught TypeError: Cannot read property 'naturalHeight' of null
          at Class.scrollComic (DailyXKCD.js:177)
          at DailyXKCD.js:51
      

      I’m really starting to think I do something stupid everytime I install/clone a module from github. I do follow each readme.md for installation, but somehow keep messing up 😕

      posted in Utilities
      D
      dankerthrone
    • RE: MMM-Sunrise-Sunset

      @sdetweil

      pi@raspberrypi:~/MagicMirror/modules/MMM-Sunrise-Sunset $ ls node_modules -laF
      ls: cannot access 'node_modules': No such file or directory
      
      

      … I’m starting to wonder if I messed up something bigger in the beginning since almost any change I apply to config.js results in weird errors.

      posted in Utilities
      D
      dankerthrone
    • RE: Magic Mirror show Pitch Black Screen

      @sdetweil YES! Thank you!

      posted in Troubleshooting
      D
      dankerthrone
    • RE: Black Screen: "cannot find module 'node_helper'"

      So I feel slightly stupid, but for anyone in a similar situation, @sdetweil helped @JorickJuh in this thread with the same problem. I don’t know how to hotlink replies, so for anyone wondering, @sdetweil suggested that, as is evident from the log, node_helper is missing. So, for me, this did the trick:

      cd ~/MagicMirror
      git checkout modules/node_modules/node_helper/index.js
      

      EDIT: you beat me to it 😃 - thanks again!

      posted in Troubleshooting
      D
      dankerthrone