• 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.

MMM-DWD-WarnWeather - Wetterwarnungen

Scheduled Pinned Locked Moved Utilities
62 Posts 27 Posters 56.0k Views 28 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.
  • M Offline
    MarkAlisch @MarkAlisch
    last edited by Dec 2, 2016, 4:11 PM

    config:

    {
    module: ‘MMM-DWD-WarnWeather’,
    position: ‘top_right’,
    header: ‘Wetterwarnungen’,
    config: {
    region: ‘Kreis Lippe’,
    changeColor: true,
    interval: 10601000
    }
    },

    M 1 Reply Last reply Dec 3, 2016, 3:40 PM Reply Quote 0
    • M Offline
      MarkAlisch @MarkAlisch
      last edited by Dec 3, 2016, 3:40 PM

      @MarkAlisch After a restart of the raspi it worked.

      Y 1 Reply Last reply Dec 3, 2016, 3:52 PM Reply Quote 0
      • Y Offline
        yawns Moderator @MarkAlisch
        last edited by Dec 3, 2016, 3:52 PM

        @MarkAlisch said in MMM-DWD-WarnWeather - Wetterwarnungen:

        @MarkAlisch After a restart of the raspi it worked.

        This module - like other modules too - uses a node_helper and this requires a reboot of the magicmirror process (or the whole raspberry).

        1 Reply Last reply Reply Quote 0
        • L Offline
          lolobyte @ostfilinchen
          last edited by Jan 3, 2017, 7:47 PM

          @ostfilinchen said in MMM-DWD-WarnWeather - Wetterwarnungen:

          I have commented out line 56-60 in MMM-DWD-WarnWeather.js.

          Hello,

          witch code have you commented out?

          please add the sample code.

          Thanks

          O 1 Reply Last reply Jan 3, 2017, 8:24 PM Reply Quote 0
          • O Offline
            ostfilinchen @lolobyte
            last edited by Jan 3, 2017, 8:24 PM

            @lolobyte in the actual Version of the Module u didn’t need to coment out the lines

            L 1 Reply Last reply Jan 3, 2017, 8:27 PM Reply Quote 0
            • L Offline
              lolobyte @ostfilinchen
              last edited by Jan 3, 2017, 8:27 PM

              @ostfilinchen

              oh, then tell me please how is it actually possible to increase the text and format the date.

              L 1 Reply Last reply Jan 4, 2017, 7:55 AM Reply Quote 0
              • L Offline
                LukeCodewalker Module Developer @lolobyte
                last edited by Jan 4, 2017, 7:55 AM

                @lolobyte
                for increasing the text size you have to edit MMM-DWD-Warnweather.css (description class).
                to format the date you have to edit lines 84 and 85:

                var start = moment(this.warnings[i]['start']).format("dd. HH") + ' Uhr';
                var end = moment(this.warnings[i]['end']).format("dd. HH") + ' Uhr';
                
                L 1 Reply Last reply Jan 4, 2017, 11:16 AM Reply Quote 0
                • L Offline
                  lolobyte @LukeCodewalker
                  last edited by Jan 4, 2017, 11:16 AM

                  @LukeCodewalker

                  Hi, thank you for your answer.

                  this is a part of my custom.css

                  .MMM-DWD-WarnWeather .description {
                  font-family: Roboto;
                  margin-left: 10px;
                  color: white; //white
                  padding-left: 50px;
                  padding-top: 3px;
                  color: #fff; //fff
                  width: auto;
                  font-size: 25px;
                  line-height: 30px;
                  text-align: left;
                  }

                  i can make some changes, but not wit all commands.

                  for example.

                  if i use

                  color: red;

                  nothing changes

                  when i use

                  color: #f00; //fff

                  the color change.

                  if is try to use

                      font-size: 10px;
                      line-height: 10px;
                  

                  nothing happens.

                  What’s wrong?

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pugsly
                    last edited by Jan 4, 2017, 2:23 PM

                    Can this be modified to work in the US?

                    L 1 Reply Last reply Jan 4, 2017, 3:02 PM Reply Quote 0
                    • L Offline
                      LukeCodewalker Module Developer @pugsly
                      last edited by Jan 4, 2017, 3:02 PM

                      @pugsly
                      Sure. You have to find an API that gives you the data and you have to modify the module that it works with this data.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 4 / 7
                      • First post
                        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