Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile to make light color according to sun #615

Open
ariefadha opened this issue Jun 29, 2024 · 3 comments
Open

Profile to make light color according to sun #615

ariefadha opened this issue Jun 29, 2024 · 3 comments

Comments

@ariefadha
Copy link

is that possible to use clock to modify led color?

for example when 12 oclock leds are white, and when dawn leds are warm.

@zomfg
Copy link

zomfg commented Jul 27, 2024

you have 2 options:

  • write a plugin that does that (assuming you are just using static white light with lamp mode)
  • if on your system you use f.lux/redshift/nightshift/nightlight, in theory, in capture mode (and not lamp/music), it should try following the color temp of your screen

@ariefadha
Copy link
Author

you have 2 options:

  • write a plugin that does that (assuming you are just using static white light with lamp mode)
  • if on your system you use f.lux/redshift/nightshift/nightlight, in theory, in capture mode (and not lamp/music), it should try following the color temp of your screen

thanks for replying, but i dont know how to write the plugin, can you address me where I can learn that? or maybe example of plugin

@zomfg
Copy link

zomfg commented Jul 28, 2024

actually technically you can use any program/script that runs on it's own, watches the time (or whatever else) and gives to prismatik the new colors
in prismatik you enable the API
then you can use something like telnet to connect to it by hand and type commands (help will give you an idea of whats there) to try it out
you have few old examples here on how to script it
ruby example is straight to the point: you connect to the API via a socket and then send same commands as you do by hand via telnet above, that's it
you can use any language as long as it's allowing you to do that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants