MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. swvalenti
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 8
    • Posts 293
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: MMM-NewsAPI

      @mumblebaj Module stopped working you working on it?

      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-RAIN-MAP (new: version 2.x)

      @jalibu I updated. Only thing that doesn’t seem to work is only on rain still. Using OWF for weather.

      posted in Utilities
      swvalentiS
      swvalenti
    • Mostly Dirty Compliments with icons

      Wanted to share my dirty compliments with icons, it’s not much but surely there is someone out there like me! I left all political out.

      I tried writing a module got pretty far I thought but couldn’t get it to work for some reason. I will post a link if someone wants to look over and tell me what I am missing.

      https://github.com/swvalenti194/MMM-Dirty-Compliments

      Css

      .compliments .pre-line {
      	white-space: pre-line;
      	color: skyblue;
      
      

      Config

                module: "compliments",
      			position: "top_center",
      			disabled: false,
      			pages: {"Main": "position_string"},  //results in one of the middle regions like: lower_third
      				config: {
      					compliments: {
      						anytime: [
      						"<i class=\"fa fa-thumbs-up\"></i> Time Well Spent",
      						"<i class=\"fa fa-money-bill-wave\"></i> Shot",
      						"<i class=\"fa fa-thumbs-up\"></i> No Shirt,No Covid,Free Drinks!",
      						"<i class=\"fa fa-thumbs-up\"></i> Just put the tip in",
      						"<i class=\"fa fa-thumbs-up\"></i> I'd look good on you",
      						"<i class=\"fas fa-female\"></i> Bad moms training camp",
      						"<i class=\"wi wi-day-sunny\"></i> Bourbon is liquid sunshine",
      						"<i class=\"fas fa-hand-sparkles\"></i> You wearing braille t shirt?",
      						"<i class=\"fas fa-head-side-mask\"></i> No Mask Zone",
      						"<i class=\"fas fa-sausage\"></i> Get your vitamin D",
      						"<i class=\"fas fa-hand-lizard\"></i> No Mask Zone",
      						"<i class=\"fas fa-grin-wink\"></i> Battery life at 69%",
      						"( . )( . ) No bra zone",
      						"Chester Copperpot was here"
      
      						],
      						morning: [
      							"<i class=\"fa fa-mug-hot\"></i> Good morning, you look like shit",
      							"<i class=\"fas fa-hand-middle-finger\"></i> Fuck this day up!",
      							"<i class=\"fas fa-user-clock\"></i> See you at 5 o'clock?",
      							"<i class=\"fas fa-hand-middle-finger\"></i> Don't FN touch me!"
      						],
      						afternoon: [
      							"SHOTS!",
      							"( . )( . ) Show me your boobies!",
      							"<i class=\"fas fa-hand-middle-finger\"></i> Don't FN touch me!"
      						],
      						evening: [
      							"<i class=\"fa fa-bed\"></i> Wow, have another lush!"
      						]
      					}
      			}
      },
      
      posted in Showcase
      swvalentiS
      swvalenti
    • RE: MMM-NewsAPI

      @mumblebaj said in MMM-NewsAPI:

      @swvalenti said in MMM-NewsAPI:
      The issue is with sources “Fox News”. That is not a valid source. Remove it and it should work fine with just the domain of foxnews.com

      Understood, works great now. Nice module good job!!!

      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-NewsAPI

      @mumblebaj gave yours a try but get this error?

      MMM-NewsAPI.js:129 Uncaught TypeError: Cannot read property 'sourceId' of undefined
          at Class.draw (MMM-NewsAPI.js:129)
          at Class.socketNotificationReceived (MMM-NewsAPI.js:96)
          at module.js:245
          at Socket.<anonymous> (socketclient.js:38)
          at Socket../node_modules/component-emitter/index.js.Emitter.emit (index.js:145)
          at Socket.emit (typed-events.js:46)
          at Socket.emitEvent (socket.js:263)
          at Socket.onevent (socket.js:250)
          at Socket.MMSocket.socket.onevent (socketclient.js:32)
          at Socket.onpacket (socket.js:214)
      

      Config

                      module: "MMM-NewsAPI",
                      header: "news",
                      position: "bottom_bar",
                      config: {
                              apiKey: "super duper secret",
                              type: "horizontal",
                              choice: "headlines",
                              pageSize: 9,
                              className: "NEWS",
                              drawInterval: 1000*30,
                              templateFile: "template.html",
                              fetchInterval: 1000*60*60,
                              query: {
                                      country: "us",
                                      //category: "",
                                      //q: "covid",
                                      //qInTitle: "",
                                      sources: "Fox News",
                                      domains: "foxnews.com",
                                      //excludeDomains: "",
                                      language: "en"
                              },
                      }
      },
      
      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-NewsAPI

      @mumblebaj Whatever you do don’t update the module, mmm remote control showed update I just did that and it deprecated the module and no longer works!

      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-NewsAPI

      @mumblebaj @bugsounet MMM-News still works for me when you say you will delete it does that mean it will stop working? If so NBD I will use my man @mumblebaj module

      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-RAIN-MAP (new: version 2.x)

      Bought you a beer to make up for it

      https://www.buymeacoffee.com/jalibu

      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-RAIN-MAP (new: version 2.x)

      @sdetweil said in MMM-RAIN-MAP:

      @swvalenti he said

      The configuration to version 1.x is completely incompatible and must be adapted.

      Well I am an idiot and here I thought I was helping. HA

      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-RAIN-MAP (new: version 2.x)

      change mapHeight and mapWidth to height and width in config. Doesn’t work the way you have it

      posted in Utilities
      swvalentiS
      swvalenti
    • 1 / 1