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

    Posts

    Recent Best Controversial
    • RE: Documentation Suggestion

      @sdetweil What I meant was, could it show how to put in two or more custom events, like this:

      customEvents: [
      			{keyword: 'Birthday', symbol: 'fa-birthday-cake', color: 'Gold'},
      			{keyword: 'Clinic', symbol: 'biohazard', color: 'Green'}],
      

      It might just be me getting confused, but because there are a few different elements and they are separated in different ways, I got mixed up trying to add multiple events. For example, I wasn’t sure if each event needed it’s own line, like:

      customEvents: [{keyword: 'Birthday', symbol: 'fa-birthday-cake', color: 'Gold'},
      customEvents: [{keyword: 'Clinic', symbol: 'biohazard', color: 'Green'}],
      

      or if I could put multiple keywords onto one line, like:

      customEvents: [{keyword: 'Birthday' 'Party', symbol: 'fa-birthday-cake', color: 'Gold'},
      

      It’s probably a bit daft, but I get confused more easily these days :dizzy_face: :)

      posted in General Discussion
      TipponT
      Tippon
    • Documentation Suggestion

      Hi all :)

      Sorry if this is the wrong place to post this, but I wasn’t sure where to put it.

      I’ve just updated my default calendar module to use colours and symbols for repeating events, using the customEvents option from here:

      https://docs.magicmirror.builders/modules/calendar.html#configuration-options

      I wanted to put multiple colours and symbols to make the events stand out, but couldn’t figure out how.

      Could I politely ask that an example of two changes is shown in the documentation please? It could stop newbies like me from getting too confused :dizzy_face: :beaming_face_with_smiling_eyes:

      This is what my calendar module and config look like at the moment, if anyone wants an example :)

      Calendar.jpg

          {
            module: 'calendar',
            position: 'top_bar',
            header: '**********\'s Events',
            config: {
              dateFormat: 'DD/MM/YYYY HH:mm',
      		maxTitleLength: 80,
      		showLocation: false,
      		tableClass: "small",
      		urgency: 5,
      		colored: true,
      		customEvents: [
      						{keyword: 'Birthday', symbol: 'fa-birthday-cake', color: 'Gold'},
      						{keyword: 'Clinic', symbol: 'biohazard', color: 'Green'},
      						{keyword: 'injection', symbol: 'syringe', color: 'Green'},
      						{keyword: 'Scales', symbol: 'weight', color: 'Silver'},
      						{keyword: 'pictures', symbol: 'camera', color: 'Pink'},
      						{keyword: 'recycling', symbol: 'recycle', color: 'Red'},
      						{keyword: 'rubbish', symbol: 'trash-alt', color: 'Red'},
      						{keyword: 'live', symbol: 'music', color: 'Aqua'},
      						{keyword: 'leave', symbol: 'beer', color: 'yellow'}
      						],
              calendars: [
                {
                  symbol: 'calendar-check',
                  url: 'https://calendar.google.com/calendar/ical/****************************************/basic.ics'
                },
                {
                  color: 'yellow',
                  symbol: 'beer',
                  url: 'https://calendar.google.com/calendar/ical/en.uk%23holiday%40group.v.calendar.google.com/public/basic.ics'
                },
      		  {
                  color: 'blue',
                  symbol: 'user-graduate',
                  url: 'https://calendar.google.com/calendar/ical/**********************************************public/basic.ics'
                }
              ],
              fullDayEventDateFormat: 'DD/MM/YYYY',
              timeFormat: 'absolute'
            }
          },
      
      posted in General Discussion
      TipponT
      Tippon
    • RE: MMM-Fitbit2

      Seems to be working properly. Apparently Fitbit doesn’t like it when you set your own calorie goals.

      posted in Health
      TipponT
      Tippon
    • RE: MMM-Fitbit2

      Sorry, I can’t edit my last post.

      It’s past midnight, and my calorie in goal is showing again. It’s back to zero and showing the full amount of calories available for the 14th. I’ll check tomorrow and see if it changes or disappears, and see if it changes once I add my breakfast or dinner.

      posted in Health
      TipponT
      Tippon
    • RE: MMM-Fitbit2

      Sorry to be a pain, but my calories in is wrong again. I set a goal of 1,400 calories per day after my last post, and entered 51 calories of snacks to test it. It worked perfectly, and as well as showing my calories in on my mirror, the browser log showed the correct details being fetched (caloriesIn (data/goal): 51/1400). At some point today the goal has disappeared. It’s now showing caloriesIn (data/goal): 0/0.

      I’ve opened the Fitbit dashboard and set up a food plan, in case that was the issue, but it hasn’t made a difference. My food has been logged and is showing correctly in my Fitbit dashboard, but it’s not transferring to the module.

      I adjusted my weight and added some water, and both showed up immediately, so the module is obviously getting data, but I can’t figure out why it’s not getting my calories in.

      Thanks for looking :)

      posted in Health
      TipponT
      Tippon
    • RE: Location and temp problems with Weather

      In case anyone sees this in the future, I’ve solved it for me setup at least. I found that using locationID along with lat & long and location caused the problem. Changing to just locationID fixed it for me.

      weatherProvider: "openweathermap",
      		roundTemp: false,
      		type: "forecast", // current, forecast, daily (equivalent to forecast), hourly (only with OpenWeatherMap /onecall endpoint)
      		locationID: 2657835,
      
      {
      		module: "weather",
      		position: "top_right",
      		config: {
      			type: 'current'
      				}
      		},
      		{
      		module: "weather",
      		position: "top_right",
      		config: {
      			type: 'forecast'
      				}
      		},
      

      Changing the second weather module to forecast instead of hourly was needed in config.js too.

      posted in Troubleshooting
      TipponT
      Tippon
    • RE: Calendar Date Formats Not Working.

      @jack_barnard I’ve got mine setup like this:

              timeFormat: 'absolute',
              dateFormat: 'DD/MM/YYYY',
              fullDayEventDateFormat: 'DD/MM/YYYY',
      

      Hope this helps :)

      posted in Troubleshooting
      TipponT
      Tippon
    • RE: Weather not working since MM update

      @tippon said in Weather not working since MM update:

      I realised today that I’m having a problem with MMM-fitbit2 too. I fixed the issue in my other thread here yesterday:

      https://forum.magicmirror.builders/topic/14879/mmm-fitbit2-pythonshell-is-not-a-constructor?_=1617917654075

      but updated Magic Mirror shortly after, so I’m not sure if the problem existed before the update or not.

      The module loads and seems to work, but I’m only getting values returned for the calories I’ve burned and my weight. My food eaten isn’t updating, even though it’s showing in my Fitbit dashboard.

      I know this probably isn’t related, but as both issues appeared at the same time I thought it was worth a mention just in case.

      I’m really sorry, I’ve just found out that the reason that my food eaten wasn’t being updated is that my calorie goal had been deleted from my Fitbit dashboard. I use other apps that fill the same goal in, so I hadn’t noticed.

      I’m still getting the weather issue though.

      posted in Troubleshooting
      TipponT
      Tippon
    • RE: MMM-Fitbit2

      @vizulize said in MMM-Fitbit2:

      @tippon Hopefully this is fixed: https://github.com/m-roberts/MMM-Fitbit2/commit/e958665dcf63900d38f5405961a1a176d5ba2fcf

      Thank you :)

      It seems to have solved the Python issue, but I’m still not seeing the calories I’ve eaten.

      I’m really sorry. Please ignore me, I’m an idiot! :confounded_face:

      I just noticed on the log that there was no figure set for my calorie goal, so I went through my profile on the Fitbit site, and the calorie goal wasn’t listed there either. I set it up sometime last year when I originally started trying to diet, but for some reason, the goal has gone and I have no idea why. It still shows up on my phone as I’ve got everything linked to everything else, so it must be populated from another app.

      I feel like a muppet, but on the bright side, I’ve probably just burned of a few hundred calories just from embarrassment :beaming_face_with_smiling_eyes:

      posted in Health
      TipponT
      Tippon
    • RE: MMM-Fitbit2 PythonShell is not a constructor

      @vizulize That’s great, thank you :)

      posted in Troubleshooting
      TipponT
      Tippon
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 4 / 6