Coder Social home page Coder Social logo

mmm-text-clock's Introduction

mmm-text-clock's People

Contributors

dependabot[bot] avatar jannekalliola avatar ngnijland avatar oanstein avatar pierrephi avatar ricsic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mmm-text-clock's Issues

Lowercase option

Hi,
I love the compact view, but it would it be possible to have only the first letter in uppercase? I feel like my magic mirror is screaming at me ๐Ÿ˜‚.
Thank you,
Vilhelm

Size does not work

Basic clock works fine; as does compact. Size will not adjust though. size: large produces a blank screen (as does any input i.e. small or large). Can you advise of what the problem might be? I would like to use the large size for the display. Thanks.

Clock simply disappeared at some time

Hi,

I had been using the module without issues for a long time. Then all of a sudden it disappeared. There is simply black screen where it used to be. I did not change anything in the config. With the latest update of MM I had issues so I did a complete reinstall of MM and hoped that would also fix it but it didn't.

I am now on the latest MM from a few days ago. Also latest version of the module.

This is my config

        {
	    module: "MMM-text-clock",
	    position: "top_left",
	    config: {
	    	size: "small"
	    }
	},

No idea why it is not working anymore

Text clock fullscreen

Hi , i love this module , I'm trying to set the module to full screen on a single page, the primary. I would like it to expand based on the rotation of the screen.
it's possible ?

Dutch language

1st off, great work, and wondering if you have gotten around to make the dutch translation?
I have different version, but the translations is a bit of

kind regards ReD

Multiple instances of MMM-text-clock compete on the SET_LANGUAGE notification

This is a side effect of the new language alternation feature :/

My config is as follows to allow for different layouts depending on the page I display, the problem is that the node_helper.js is global to all instances of the module as documented in this page

Note: Since all instances of your module will receive the notifications, it's your task to make sure the right module responds to your messages.

As a result both instances compete on the language list and the alternationTimeInterval if they are different and when they are the same, double notifications are happening.

		{
			module: "MMM-text-clock",
			classes: "text-clock-homescreen",
			position: "middle_center",
			config: {
				compact: false,
				size: "large",
				language: ['ar','fr','en','es','jp'],
				languageAlternationInterval: 10
			}
		}, 
		{
			module: "MMM-text-clock",
			classes: "text-clock-small",
			position: "bottom_bar",
			config: {
				compact: true,
				size: "medium",
				language: ['fr','en'],
				languageAlternationInterval: 1
			}
		}, 
		{
			module: 'MMM-pages',
			config: {
				modules:
				[[ "text-clock-homescreen"], 
				[ "clock", "currentweather", "newsfeed", "weatherforecast", "newsfeed",  "calendar", "text-clock-small"]],
				fixed: ['alert', 'updatenotification', "MMM-page-indicator"],
				homePage: 0,
				rotationHomePage: 180000,
				animationTime: 1000,
				rotationTime: 120000
				}
		},

Logging this issue to keep track of it for now, will look at how to best solve it when I have some time.

Display minutes progression for more accurate time display

When the text clock is the only thing displayed on the mirror it is nice to have additional precision and display the minutes past the time that is displayed.

This involves changing the rounding algorithm to the lower 5 minute increment and display dots at the corner past that time e.g. 17:32 isHALF PAST FIVE and 2 dots

This would look like this:
clockdots

I am implementing it and the way I chose to do this is by extending the grid by one cell all around the clock to position the dots at the corners like so.
dot grid

Tell me if you are interested that I push this change once stabilised :)

font color & size

two things:

  • I'd like to make the font that's the current time another color and the inactive letters darker/dimmer.
  • I'd like a size in the middle of xsmall-small or small-medium, is there a way to modify the height/width?

(custom.css is doing absolutely nothing for me)

Minutes for the clock

Hi, I hope you are well.
Sorry to bother you but I have seen that some time ago you were talking about creating an improvement for the module including minutes to be more accurate.
If you finally create it can you share it, I am creating a magicmirror and I would like to put this module that I love, but I need the minutes :).

Thanks in advance!

Fullscreen does not work in combination with `position: "middle_center"

Steps to reproduce:

  1. Use the following config:
{
            module: "MMM-text-clock",
            config: {
                fullscreen: true
            },
            position: "middle_center"
 },
  1. Start MagicMirror

Expected result:
The clock module should be stretched from the top left to the bottom right corner.

Actual result:
Clock is not stretched and rendered in the center of the screen aligned to the top of the clock.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.