Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM Binary Clock

    Utilities
    2
    2
    97
    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
      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
      • hango
        hango Module Developer last edited by hango

        as I told you at github issues
        https://github.com/nikobix/MMM-BinaryClock/issues/1

        you need to work on elements css

        this is what I get:

        88672079-b7584d00-d0ef-11ea-96ce-39874c34a684.jpg

        you still have some work to do until it works properly

        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy