Coder Social home page Coder Social logo

elgatosf / streamdeck-analogclock Goto Github PK

View Code? Open in Web Editor NEW
47.0 16.0 15.0 733 KB

Stream Deck SDK: Analog Clock sample plugin

Home Page: https://developer.elgato.com/documentation/stream-deck/

License: MIT License

JavaScript 49.93% HTML 3.79% CSS 46.28%
elgato elgato-stream-deck streamdeck streamdeck-sdk streamdecksdk

streamdeck-analogclock's People

Contributors

tiptronic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

streamdeck-analogclock's Issues

raising interval issue with my stream deck device.

If I update the interval value to under 1000 ms (actually I want to use 33 (for 30 fps) or 16 (for 60fps)), my stream deck device still updates the clock on every 1000 ms. (I restarted the stream deck program, of course)
In opposite, if I change the value to upper 1000 ms such 2000 or 3000 ms, it does work properly.

So I checked the performance using the Chrome Debugger(http://localhost:23654/) with a simple project based on the elgato.template.
image

Please let me know why the issue happens asap since I have some ideas to improve the stream deck plugin eco. now I'm making awesome plugins for your stream deck products.

Plugin does not recover after computer sleeps

This seems to be the case for this plugin and all forks (digital, world clock, etc.). If the computer sleeps, once woken the plugin will no longer update the time and will display a yellow warning triangle if the button on the deck is pressed.

The only recourse seems to be to quit and restart the streamdeck software.

Wrong time due to recent Mexico time zone & DST changes

Hello,

On the evening of October 28, 2022, the Mexican government published a decree that rescinded the DST changes for the entire country, and moved the time zone for certain regions.

The problem is that the decree took effect on October 30, at midnight.

Adiós al horario de verano | Secretaría de Energía | Gobierno | gob.mx (www.gob.mx) (Governent official website, in Spanish)

Basically, the changes are:

  • Mexico Central Time (Mexico City, Guadalajara, Monterrey) stays at UTC-6, but removes DST change from April, 2023
  • Mexico Mountain Time (Chihuahua, Mazatlan, La Paz) stays at UTC-7, but removes DST change from April, 2023
  • Chihuahua moves to UTC-6, without DST (this applied Oct. 30)

Some municipalities that border with the US will be using US time zones for now.

With that being said, the issue is that right now the clock is displaying the time by 1 hour forward. For example, right now is 9:02 but is displaying 10:02.

Would be nice if this gets fixed since right now the clock is pretty useles.

How is update interval implemented

This is probably a dumb question, because I don't do JavaScript much (mostly Python).

How is the update interval for the clock implemented. I've been looking over all the code, and I can't figure out how the refresh is actually implemented.

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.