• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Metar Module Not Working

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 760 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    aimorris
    last edited by aimorris Oct 4, 2019, 1:33 AM Oct 4, 2019, 1:32 AM

    I’m trying to develop a module that gets the text from a website and outputs it on the screen. So far I’ve got this https://github.com/tonymorris-MM/MMM-metar but it isn’t working. It doesn’t display any text on the screen. Any help?

    S 1 Reply Last reply Oct 4, 2019, 2:06 AM Reply Quote 0
    • S Offline
      sdetweil @aimorris
      last edited by sdetweil Oct 4, 2019, 4:00 AM Oct 4, 2019, 2:06 AM

      @aimorris and when u configure the module in config.js, what position: do you select?

      U must have position set

      Your code looks ok

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Oct 4, 2019, 2:53 AM Reply Quote 0
      • S Offline
        sdetweil @sdetweil
        last edited by sdetweil Oct 4, 2019, 2:57 AM Oct 4, 2019, 2:53 AM

        Well, there is one problem.

        U send message down to node_helper at start time but the Dom isn’t built til you get a notification(‘DOM_OBJECTS_CREATED’)

        So, currently u get the content, then send it back, but there is no place for mm to put it yet

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil
          last edited by Oct 4, 2019, 4:01 AM

          see my sample Module

          https://github.com/sdetweil/SampleModule

          I use ‘ALL_MODULES_STARTED’

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy