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 Binary Clock

    Scheduled Pinned Locked Moved Utilities
    2 Posts 2 Posters 359 Views 1 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.
    • N Offline
      nikobix
      last edited by

      MMM-BinaryClock

      This is a module for the MagicMirror².

      567c952b-5344-486d-bb65-c09dc4816276-image.png

      https://github.com/nikobix/MMM-BinaryClock

      Re-written the module to remove the DOM rebuild every second. DOM is now built once and the images are blocked/unblocked.
      Removed the H-M-S as I just could not get them to align correctly when size changes.

      Using the module - moment.js

      To use this module, add the following configuration block to the modules array in the config/config.js file:

      var config = {
          modules: [
              {
                  module: 'MMM-BinaryClock',
                  position:"top_left",
                  config: {
                      size: 30
                      }
              }
          ]
      }
      

      If you want to change the graphics you can download any icon and save in img folder, then change ledOn and off names in start function

      Any issues let me know.

      Cheers

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

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