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-WorldTides - show high and low water for your region

    Scheduled Pinned Locked Moved Utilities
    12 Posts 5 Posters 8.6k Views 5 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.
    • yawnsY Offline
      yawns Moderator
      last edited by

      There should be. I use the time format which is set in config.js but I did not check. I simply forgot about that. I will check tomorrow evening and let you know what to do.

      1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator @onetwankyfive
        last edited by

        @onetwankyfive said in MMM-WorldTides - show high and low water for your region:

        Is there a way to make it 12 hour instead of 24 hour time?

        Hi, sorry it took a bit longer than expected to find some time. It actually used 12 hour format, I just forgot the “am/pm” extension.

        So I replaced this:

        time: ((this.config.timeFormat === 24) ? moment(t.dt, "X").format("HH:mm") : moment(t.dt, "X").format("hh:mm")), 
        

        with this:

        time: ((this.config.timeFormat === 24) ? moment(t.dt, "X").format("HH:mm") : moment(t.dt, "X").format("hh:mm a")),
        
        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by

          Hmm… like the sound of the mod as live on the water, and would be handy, but git cloned repository and installed, added to config

              {
          		module: 'MMM-WorldTides',
          		position: 'top_right',
          		config: {
          		longitude: '8.134', //longitude and latitude need to be written with . instead of ,
          		latitude: '98.299',
          		appid: 'APIKEY' //appid needs to be requested from worldtides.info
          },
          

          And well getting the MM error … Any thoughts?
          }

          bheplerB 1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer @Guest
            last edited by

            @wjdw87 Just based on what you quoted, you have not properly closed your config section. You’re missing a close bracket just after the API KEY value.

            {
            	module: 'MMM-WorldTides',
            	position: 'top_right',
            	config: {
            	longitude: '8.134', //longitude and latitude need to be written with . instead of ,
            	latitude: '98.299',
            	appid: 'APIKEY' //appid needs to be requested from worldtides.info
            	}
            },
            
            ? 1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @bhepler
              last edited by A Former User

              @bhepler Oops my bad, many thanks for spotting that @bhepler

              Now to change those icons

              yawnsY 1 Reply Last reply Reply Quote 0
              • yawnsY Offline
                yawns Moderator @Guest
                last edited by

                @wjdw87
                Hi,
                I moved the symbols to config section and updated the module on github
                Just do a git pull in the MMM-WorldTides directory and afterwards you can define own css symbols (existing in weathericons or fontawesome) in your magic mirror config.js file

                read.me was also updated to explain the change

                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User
                  last edited by

                  Many thanks, though i did update manually in the scripts yesterday, will look at options and update accordingly if the icons are more in line that are on offer, great mod.

                  BTW any plans to go more indepth with the feeds (tidal range, depth etc)?

                  yawnsY 1 Reply Last reply Reply Quote 0
                  • yawnsY Offline
                    yawns Moderator @Guest
                    last edited by

                    @wjdw87
                    Currently not, although the API provides this information. Maybe I could add a switch to enable more information. It’s just a matter of space available on screen … and free time of course :-)

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by

                      I’d like to make more sense of my view LOL by the time i’ve got down past the garden and hit the reef below, it’s occasionally submerged on the fringe even on “low tide” :( so with the tidal ranges, i can see and make plans without having to manually search :)

                      alt text

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mcm
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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