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

    Posts

    Recent Best Controversial
    • RE: Fitbit

      @kckndrgn

      dont know exactly but im also interested in your cronjob solution, can you inform us about your steps ? im tired getting every day that setupaccess working :(

      posted in Troubleshooting
      H
      Hellangel1987
    • RE: Fitbit

      @olliewarren411

      works! i sued your code. Delete the token. set it up new - start it with sudo npm start in MagicMirror directory. -> WORKS!

      I think i missunterstand the fibit API page where you have some buttons tu push and autorize the app (i think i pushed them in the wrong way)…

      You sayed something about your token.ini -> can you explain what exactly you have to to every day? i think about an cronjob for that - good chance to solve that together!

      And another option is the weight of my fitbit ARIA, these data are also available - how can we bind them into the app ?

      posted in Troubleshooting
      H
      Hellangel1987
    • RE: Fitbit

      @olliewarren411

      i set it all on that page. exeption was my location. but all other options are set.

      posted in Troubleshooting
      H
      Hellangel1987
    • RE: Fitbit

      @olliewarren411 can you describe your steps and your configs ? i think there is any missconfiguration in my credentials config i think soo.

      posted in Troubleshooting
      H
      Hellangel1987
    • RE: Fitbit

      @olliewarren411

      yepp works perfect. i have the token and autorized that app in browser.
      after that i startet mirror with sudo npm start. but only zero numbers are shown :(

      Did i have to do this once a day? Any cronjob for that ?

      posted in Troubleshooting
      H
      Hellangel1987
    • RE: Fitbit

      @olliewarren411

      Im using The Fitbit Charge HR

      posted in Troubleshooting
      H
      Hellangel1987
    • RE: Fitbit

      @olliewarren411

      good job buddy now it works but i dont get any numbers :(

      alt text

      posted in Troubleshooting
      H
      Hellangel1987
    • RE: Fitbit

      @olliewarren411

      here we go

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       */
      
      var config = {
      	port: 8080,
      
      	language: 'de',
      	timeFormat: 24,
      	units: 'metric',
      
      	modules: [
          		{
              		module: 'MMM-FRITZ-Box-Callmonitor',
              		position: 'top_right',  // This can be any of the regions. Best results in left or right regions.
              		header: "Letzte Anrufe", // This is optional
              		config: {
                  		// See 'Configuration options' for more information.
              	}
          		},
      			{
      				module: ‘MMM-fitbit’,
      				position: ‘top_center’,
      				config: {
      				credentials: {
      				client_id: ‘123456789’,
      				client_secret: ‘123456789’,
      			},
      				resources: [
      				‘steps’,
      				‘floors’,
      				‘caloriesOut’,
      				‘distance’,
      				‘activeMinutes’,
      				‘sleep’,
      				‘heart’
      			]
      			}
      			},			
      		{
      			module: 'alert',
      		},
      		{
      			module: 'clock',
      			position: 'top_left'
      		},
      		{
      			module: 'calendar',
      			header: 'Feiertage',
      			position: 'top_left',
      			config: {
      				calendars: [
      		{
      						symbol: 'calendar-check-o ',
      						url: 'webcal://www.schulferien.org/media/ical/deutschland/ferien_bayern_2016.ics'
      		}
      				]
      		}
      		},
      		{
      			module: 'calendar',
      			header: 'Termine NetApp',
      			position: 'top_left',
      			config: {
      				calendars: [
      		{
      						symbol: 'calendar-check-o ',
      						url: '################################'
      		}
      					   ]
      		}
      		},
      		{
        			module: 'localtransport',
      			header: 'Verbindungen NBG HBF',
        			position: 'top_left',
        			config: {
          			api_key: '###########',
          			origin: 'Nuremberg Dunantstr',
          			destination: 'Nuremberg HBF'
        		}
      		},
      		{
          			module: 'MMM-Traffic',
          			header: 'Verkehr',
      			position: 'top_left',
          			classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name
          			config: {
              		api_key: '#############',
              		mode: 'driving',
              		origin: 'Nuernberg',
              		destination: 'Muenchen',
                   		route_name: 'Route nach NetApp Muc',
      			show_summary: true,
              		changeColor: true,
              		showGreen: true,
              		limitYellow: 5, //Greater than 5% of journey time due to traffic
              		limitRed: 20, //Greater than 20% of journey time due to traffic
              		traffic_model: 'best_guess',
              		interval: 120000 //2 minutes
          		}
      		},
      		{
      			module: 'compliments',
      			position: 'lower_third'
      		},
      		{
      			module: 'currentweather',
      			position: 'top_right',
      			config: {
      				location: 'Nuremberg',
      				locationID: '',  //ID from http://www.openweathermap.org
      				appid: '#################'
      		}
      		},
      		{
      			module: 'weatherforecast',
      			position: 'top_right',
      			header: 'Wettervorhersage',
      			config: {
      	            		location: 'Nuremberg',
      				locationID: '2861650',  //ID from http://www.openweathermap.org
      	            		appid: '##############'
      		}
      		},
      		{
          			module: 'MMM-MovieInfo',
          			position: 'top_right',
          			config: {
              		api_key: '#############'
          		}
      		},
          		{
              		module: 'email',
                  		position: 'bottom_bar',
                  		header: 'Emails',
                  		config:{
                      	user: '##############',
                      	password: '#############',
                      	host: 'imap.mail.me.com',
                      	port: 993,
                      	tls: true,
                      	authTimeout: 10000,
                      	numberOfEmails: 5,
                      	fade: true
              	}
          		},
      		{
      			module: 'newsfeed',
      			position: 'bottom_bar',
      			config: {
      				feeds: [
      		{
      						title: "Focus Eilmeldungen",
      						url: "http://rss.focus.de/fol/XML/rss_folnews_eilmeldungen.xml"
      		}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      		}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== 'undefined') {module.exports = config;}
      

      Note from admin: Please use Markdown on code snippets for easier reading!

      posted in Troubleshooting
      H
      Hellangel1987
    • RE: Fitbit

      Im using your code as provided

      posted in Troubleshooting
      H
      Hellangel1987
    • RE: Fitbit

      Hi @olliewarren411

      i used your code - not working.

      I created as followed in instructions an token.ini worked all out no problem.
      Just wen pasting the code in my config.js then after that the mirror will not start. Even if i use sudo npm start on desktop.
      Mirror is aways asking for an config or an error in my config after pasting that in config :(

      posted in Troubleshooting
      H
      Hellangel1987
    • RE: Fitbit

      Hi Guys,

      this Module is freaking me out… (123456789 are just examples for my API ID)
      I just entered this Code in my config.js

      {
      	module: 'MMM-fitbit',
      	position: 'top_center',
      	config: [
      		credentials: {
      			client_id: 123456789,
      			client_secret: 123456789,
      		},
      		resources: [
      			'steps',
      			'floors',
      			'caloriesOut',
      			'distance',
      			'activeMinutes',
      			'sleep',
      			'heart'
      		]
      	]
      },
      

      if i try to start magicmirror it doesnt load because he says there is no valid config.
      I opened an issue in github for that and Venditteli says there are some issues with the file ownership of any ini file. Any hint or any workaround is very pleased wellcome.

      Thank you guys.

      Regards

      Hellangel


      Note from admin: Please use Markdown on code snippets for easier reading!

      posted in Troubleshooting
      H
      Hellangel1987
    • 1 / 1