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

    matt25

    @matt25

    0
    Reputation
    781
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    matt25 Unfollow Follow

    Latest posts made by matt25

    • RE: Withings

      @ih800a
      ok thanks.
      Do you only have a Withings scale, correct? or do you also have a watch or others?

      My guess is that as my module is just currently a proof of concept, I try to display all the related information (weight, sleep, activity ) but if you do not have the withings device related it crashes.

      Also, could you tell me when:
      “error TypeError: Cannot read property ‘date’ of undefined”
      which line in the MM_Withings.js script is related. It should be written in the debug console. Thanks

      posted in Requests
      M
      matt25
    • RE: Withings

      @ih800a @frog

      Hi, sorry, was out last few weeks. Just tried the module on another raspberry card with from scratch installation and I cannot reproduce the issue you describe. When you launch the mirror, do you have any issue in the logs? (use “npm start dev” command). Thanks

      posted in Requests
      M
      matt25
    • RE: MMM-Globe

      @LukeCodewalker
      That’s what I thought… I even removed all the modules but no success!
      Here’s my last config file…

      */* Magic Mirror Config Sample
      *
      * By Michael Teeuw http://michaelteeuw.nl
      * MIT Licensed.
      */
      
      var config = {
      	port: 8080,
      	language: 'en',
      	timeFormat: 24,
      	units: 'metric',
      
      	modules: [
      		{
      			module: 'alert',
      		},
      		{
      			module: 'clock',
      			position: 'top_left'
      		},
      
      		{
      			module: 'newsfeed',
      			position: 'bottom_bar',
      			config: {
      				feeds: [
      					{
      						title: "New York Times",
      						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      
      		{
      			module: 'MMM-Globe',
      			position: 'middle_center',
      			config: {
      				style: 'geoColor',
      				imageSize: 200,
      				ownImagePath:'',
      				updateInterval: 10*60*1000
      			}
      		},
      
      	]
      
      };
      
      /*************** 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 Utilities
      M
      matt25
    • RE: MMM-Globe

      @GinSeng
      Hi Ginseng, thanks for your help. Already tried different positions but no success:

      {
          module: 'MMM-Globe',
          position: 'middle_center',
          config: {
              style: 'geoColor',
              imageSize: 600,
              ownImagePath:'',
              updateInterval: 10*60*1000
          }
      

      Also tried the module locally on my macbook, but still the same problem… very weird!

      (note that the ‘updateinterval’ is modified when posting the message)


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

      posted in Utilities
      M
      matt25
    • RE: MMM-Globe

      Hi,

      Have an issue with the module. Nothing display, only some lines…

      0_1479826430390_Capture d’écran 2016-11-22 à 15.53.13.png

      I had a look at the code. The generated URL is correct, when I copy it into a browser I can see the picture:
      http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/full_disk_ahi_true_color.jpg?1479826211800

      Then had a look at wrapper and image objects (in getDom) and display their attributes, everything seems ok.

      All other modules works fine on my raspberry. Any help would be welcome, thanks in advance.

      By the way, my config:

      {
          module: 'MMM-Globe',
          position: 'center',
          config: {
              style: 'geoColor',
              imageSize: 600,
              ownImagePath:'',
              updateInterval: 10*60*1000
          }
      },
      

      Thank a lot.

      Matt


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

      posted in Utilities
      M
      matt25
    • RE: Withings

      @frog

      Seems that you are not using correct parameters in the Withings authentification process:

      • Step1 : Use API keys and API secret generated during your Withings apps creation.
        You get a result URL with oauth_token and oauth_token_secret.

      • Step2: Use oath_token and oauth_token_secret generated at step1. This will generate a result URL. Click on it and look at the adress bar, you will get in the URL your userid (6 digits), ‘&userid=xxxxxxx’

      • Step3: use the userid got from step2. you will get an URL result with oauth_signature and oauth_token.

      Hope it helps.

      Selecting the data you want to display is the next step, that is why currently this is just a basic module and I did not yet published a official release.

      posted in Requests
      M
      matt25
    • RE: Withings

      @frog Ok sorry. When creating a withings app it is necessary to write something in the application website (127.0.0.1). In the Withings authentification process, do not fill the the ‘callback url’ field. Hope it helps.

      posted in Requests
      M
      matt25
    • RE: Withings

      @frog I personally simply wrote 127.0.0.1 and no problem. Let me know if it is ok so that I can complete the user guide.

      posted in Requests
      M
      matt25
    • RE: Withings

      Hi,

      Just upload first version of my module. This is more a proof of concept than a complete functional module, but it works fairly well on my mirror.

      MM_Withings

      Will update and improve it (especially design, if someone could provide me nice icons) and create new post in module section forum.
      Module is based on Netatmo module from Christopher Fenner.

      posted in Requests
      M
      matt25
    • RE: debug Log in MacOs console

      My mistake, logs are actually in the web browser… Solved. ^^

      posted in Troubleshooting
      M
      matt25