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

    Posts

    Recent Best Controversial
    • RE: MagicMirror on second Monitor

      @Babene1 Please refer to the documentation for MagicMirror. https://docs.magicmirror.builders/configuration/introduction.html#advanced-configuration-and-frequently-asked-how-to-configure-examples

      You may want to also run sudo raspi-config and change back to the x11 desktop environment. there’s some unique issues with the new environment that may not be covered.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Help restyling MMM-ValuesByNotification

      @wishmaster270 I think the problem I’m having is figuring out where to place the classes to trigger what I want. Flex to me seems a bit erratic with how to set things.

      posted in Custom CSS
      BKeyportB
      BKeyport
    • RE: Help restyling MMM-ValuesByNotification

      @sdetweil I’m aware of everything you said, the problem is that I can’t get the CSS to cooperate. I can get 'em all to row, all to column (Default), etc, just not anything else.

      Where I’m weakest is CSS, I have a hard time wrapping my head around it.

      posted in Custom CSS
      BKeyportB
      BKeyport
    • RE: Help restyling MMM-ValuesByNotification

      (old) Sample data:

      {"data":{"did":"001D0A71573B","ts":1716603038,"conditions":[{"lsid":434637,"data_structure_type":1,"txid":1,"temp": 56.9,"hum":72.8,"dew_point": 48.3,"wet_bulb": 51.5,"heat_index": 56.2,"wind_chill": 56.9,"thw_index": 56.2,"thsw_index":null,"wind_speed_last":2.00,"wind_dir_last":146,"wind_speed_avg_last_1_min":2.00,"wind_dir_scalar_avg_last_1_min":157,"wind_speed_avg_last_2_min":2.00,"wind_dir_scalar_avg_last_2_min":157,"wind_speed_hi_last_2_min":5.00,"wind_dir_at_hi_speed_last_2_min":169,"wind_speed_avg_last_10_min":1.31,"wind_dir_scalar_avg_last_10_min":180,"wind_speed_hi_last_10_min":5.00,"wind_dir_at_hi_speed_last_10_min":169,"rain_size":1,"rain_rate_last":0,"rain_rate_hi":0,"rainfall_last_15_min":0,"rain_rate_hi_last_15_min":0,"rainfall_last_60_min":0,"rainfall_last_24_hr":7,"rain_storm":7,"rain_storm_start_at":1716576961,"solar_rad":null,"uv_index":null,"rx_state":0,"trans_battery_flag":0,"rainfall_daily":7,"rainfall_monthly":155,"rainfall_year":3713,"rain_storm_last":40,"rain_storm_last_start_at":1716299460,"rain_storm_last_end_at":1716433260},{"lsid":434634,"data_structure_type":4,"temp_in": 83.5,"hum_in":29.5,"dew_point_in": 48.4,"heat_index_in": 81.5},{"lsid":434633,"data_structure_type":3,"bar_sea_level":29.826,"bar_trend":-0.038,"bar_absolute":29.365}]},"error":null}
      
      posted in Custom CSS
      BKeyportB
      BKeyport
    • RE: Help restyling MMM-ValuesByNotification

      of course. Or pause on the sources page. Same effect.

      posted in Custom CSS
      BKeyportB
      BKeyport
    • Help restyling MMM-ValuesByNotification

      I’m wanting to show my values by notification differently, and it’s not cooperating with any css I’m throwing at it.

      Here’s the config - commented to show how I want it to look (adjusted upon rediscovery that some values are calculated, and I’m not gonna bother with that):

      		{
      			module: "MMM-ValuesByNotification", // https://github.com/Tom-Hirschberger/MMM-ValuesByNotification
      			position: "bottom_right",
      			config: {
      				animationSpeed: 0,
      				updateInterval: 15,
      				reuseCount: 99,
      				transformerFunctions: {
      					degToCompass: (num) => {
      						val = ((num/22.5)+.5) | 0;
      						arr = ["N","NNE","NE","ENE","E","ESE", "SE", "SSE","S","SSW","SW","WSW","W","WNW","NW","NNW"];
      						res = arr[(val % 16)];
      						return res;
      					},
      					toDate: (num) => {
      						return new Date(num * 1000).toLocaleString('en-US', { 
      							year: 'numeric', 
      							month: '2-digit', 
      							day: '2-digit', 
      							hour: '2-digit', 
      							minute: '2-digit', 
      							second: '2-digit',
      							hour12: true
      						});
      					},
      					
      				},
      				groups: [
      				//groups should be on row next to each other. 
      				// Values next to titles unless indicated. 
      					{
      						classes: "row",
      						items: [
      							{
      								notification: "Weather",
      								values: [
      									{
      										valueTitle: " ",
      										valueUnit: "°F",
      										jsonpath: "data.conditions[0].temp",
      										valueFormat: "Number(${value}).toFixed(1)",
      										classes: "xlarge",
      									},
      								],
      							},
      						],
      					},
      					// Insert vertical rule here 
      					{
      						classes: "row medium",
      						items: [
      							{
      								notification: "Weather",
      								values: [
      									{
      										valueTitle: "Wind:",
      										valueUnit: "mph",
      										jsonpath: "data.conditions[0].wind_speed_last",
      										valueFormat: "Number(${value}).toFixed(1)",
      										unitSpace: true,
      									},
      									// same line as previous
      									{
      										valueTitle: " ",
      										jsonpath: "data.conditions[0].wind_dir_last",
      										valueTransformers: ["degToCompass"],
      										
      									},
      									// Insert <HR> here 
      									{
      										valueTitle: "Rain:",
      										valueUnit: "in", 
      										unitSpace: true,
      										jsonpath: "data.conditions[0].rainfall_daily",
      										valueFormat: "Number(${value}/100).toFixed(2)",
      									},
      									// same line as previous 
      									{
      										valueTitle: "Yearly Total",
      										valueUnit: "in",
      										unitSpace: true,
      										jsonpath: "data.conditions[0].rainfall_year" ,
      										valueFormat: "Number(${value}/100).toFixed(2)",
      									},
      								],
      							},
      						],
      					},
      					// Insert Vertical Rule here
      					{
      						classes: "row medium",
      						items: [
      							{
      								notification: "Weather",
      								values: [
      									{
      										valueTitle: "Humidity:",
      										valueUnit: "%",
      										jsonpath: "data.conditions[0].hum",
      										valueFormat: "Number(${value}).toFixed(1)",
      									},
      									// same line as previous
      									
      									{
      										valueTitle: "Feels like:",
      										valueUnit: "°F",
      										jsonpath: "data.conditions[0].thw_index",
      										valueFormat: "Number(${value}).toFixed(1)",
      									},
      									// Insert <HR> here
      									{
      										valueTitle: "Barometer",
      										valueUnit: "in Hg",
      										unitSpace: true,
      										jsonpath: "data.conditions[2].bar",
      										valueFormat: "Number(${value}).toFixed(3)",
      									},
      								],
      							},
      						],
      					},
      					// Below others. 
      					{
      						classes: "bottom small",
      						items: [
      							{
      								notification: "Weather",
      								values: [
      									{
      										valueTitle: "Conditions as of:",
      										jsonpath: "data.ts",
      										valueTransformers: ["toDate"],
      										//classes: "",
      									}
      								]
      							},
      						],
      					},
      				],
      			},
      		}, 
      

      Existing CSS modifications - and needs:

      .MMM-ValuesByNotification {
      	border-radius: 0px;
          border-style: none;
          color: black;
          background-color: white;
      }
      
      .MMM-ValuesByNotification .vbn .groupWrapper {
          border-radius: 0px;
          border-style: none;
          color: black;
          background-color: white;
      }
      
      /* vertical rule
      .vertical-rule {
          margin-top: 15px;
          margin-bottom: 15px;
          width: 1px;
          background: #e0e4e7;
          float: left;
          height: 90px;
      }
      */
      posted in Custom CSS
      BKeyportB
      BKeyport
    • RE: Update needed

      @Bungle68 Personally, I’d just start over.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MM startup problem after update

      You know, I just realized that the “blank screen” I mentioned earlier was actually just my screen setup. In fact, this is the same errors I was having with the NPM/Node being out of date…

      posted in Requests
      BKeyportB
      BKeyport
    • RE: MM startup problem after update

      @manu85340 did you get a all black screen? There’s some background stuff that needs node/npm upgraded. If you updated before around 6 hours prior to your post, run the command again.

      posted in Requests
      BKeyportB
      BKeyport
    • RE: Trying to hide EXT-Spotify from showing

      @slooquie take away the position item in the config. It should default to none, but run in the background.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-2Day-NOAA-Forecast stopped working, stuck on "loading"

      @karsten13

      That would be my guess too - DNS issues at the bare minimum (It’s always DNS)

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: node generate_token_v2 error

      @bugsounet so, silly question as I don’t use google for anything but an old email address - Would a token generated in your app work in the other app?

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: node generate_token_v2 error

      @sdetweil Google did change their login experience anyway, so if the module’s not being maintained, it’s a hard stop, likely.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-Multimonth

      I am upgrading the module. Uploading a new release as soon as I’m done posting this.

      This change is breaking old CSS.

      Re-read the README.md before upgrading.

      Updating from prior to 08 Jun 2024:

      CSS is changed - please check all customizations. Old Elements, values, etc. have been deleted.

      The following CSS code is all you need in custom.css if all you’re changing is the colors and/or background edge rounding:

      (Key changes here: “current” has been changed to “today”, “background-week, color-week have been removed as redundant”)

      Most of the changes are to implement feature changes.

      Thanks for the support folks.

      posted in Utilities
      BKeyportB
      BKeyport
    • RE: How to have different colors for different calendar events

      @spinster I think I have a solution. You can freely test. I have the solution uploaded to the dev branch of the module on github.

      https://github.com/BKeyport/MMM-Multimonth/tree/dev

      Read the readme for instructions.

      posted in Utilities
      BKeyportB
      BKeyport
    • RE: MMM-Remote-Control Alternative

      @Dennys1 Sam’s got the best idea for you. There’s other ways to do it, but that by far is the easiest.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-Remote-Control Alternative

      @Dennys1 What are you trying to do? I’m running most of my automation stuff outside of the MM ecosystem for sanity reasons. MMM-RemoteControl never did anything right for me.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: What is this ribbon?

      @davidgagne In this case, yes, because the CSI port on the Zero isn’t the standard port… at least the old standard. Now it’s a pair of MIPI connectors for that, so everything’s gotta change again 🤣

      posted in Hardware
      BKeyportB
      BKeyport
    • RE: MMM-Multimonth

      You’re missing one or two variables. I redid them. add

      --background-week: rgba(255, 255, 255, 0); 
      

      and it’ll snap into shape, assuming you’ve pulled the latest off github.

      Double check your list against my new one. Make sure all of them are there.

      posted in Utilities
      BKeyportB
      BKeyport
    • RE: How to have different colors for different calendar events

      @Spinster Not currently possible, although, I could possibly implement it soon enough. Let me have some time, and I’ll see what I can do.

      posted in Utilities
      BKeyportB
      BKeyport
    • 1
    • 2
    • 8
    • 9
    • 10
    • 11
    • 12
    • 66
    • 67
    • 10 / 67