MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

MMM Binary Clock



  • 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


  • Module Developer

    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


Log in to reply