This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.

Screensavers

124»

Comments

  • In flows, you can only change an animation of the LED ring (which is limited in time by definition).
    You can set a new screensaver from a flow.
    I stand corrected
  • If you can move 1 led around the ring then you can also do that whit 2 led's and so on, I think. 
  • If you can move 1 led around the ring then you can also do that whit 2 led's and so on, I think. 
    Yes, but I cannot make 16 million different screensavers (255^3) for all the possible colours. Or well, I won't.
  • That is perfect understandable Koen. 
    It was more that I found it odd that it was not possible.

    But the colours of Dutch flag is maybe an idea? <3
  • That is perfect understandable Koen. 
    It was more that I found it odd that it was not possible.

    But the colours of Dutch flag is maybe an idea? <3
    Already did that a while back. See this post with video. It's not very well visible though.

    https://forum.athom.com/discussion/comment/23417/#Comment_23417
  • If you can move 1 led around the ring then you can also do that whit 2 led's and so on, I think. 
    Yes, but I cannot make 16 million different screensavers (255^3) for all the possible colours. Or well, I won't.
    Might be possible to add an action card where you can select a color that is passed onto the app as a variable?!?
  • Phuturist said:
    If you can move 1 led around the ring then you can also do that whit 2 led's and so on, I think. 
    Yes, but I cannot make 16 million different screensavers (255^3) for all the possible colours. Or well, I won't.
    Might be possible to add an action card where you can select a color that is passed onto the app as a variable?!?
    AFAIK, the app registers the screensavers upon initializing, and I haven't found a way to change the screensavers after this initializing (except for restarting the app or Homey). If this is possible, I could add settings, but also change of motion in time (i.e. a real TIFF screensaver).
  • We need an working example for the animation.updateFrames() method. This seems to allow to update a screensaver after initialization. Would be great if it would also take parameters. You could update it with whatever you feed it. @Emile , could you shed some light on how this works?
    animation.on('screensaver_start', function( screensaver_id ){
        // We can even update the frames when we want. In this case, when the weather has changed.
        animation.updateFrames([ ... ]);
    })
  • @Phuturist : Yea, that's what we need. I asked Emile for an example earlier in this thread, but so far no response :(
  • Read it here https://developers.athom.com/library/ledring/

    But yeah, it looks like you can update only frames (with updateFrames), not options.
    I guess you could hook this up with api.js or app2app https://developers.athom.com/library/api/
  • MatjaLipu said:
    Read it here https://developers.athom.com/library/ledring/

    But yeah, it looks like you can update only frames (with updateFrames), not options.
    I guess you could hook this up with api.js or app2app https://developers.athom.com/library/api/
    In theory, updating the frames should be enough: Leave the rpm on zero (non-rotating), and update the frames 30 times per second to get any animation you want (although it's CPU intensive I guess).
    Haven't gotten it to work though.
  • MatjaLipu said:
    Read it here https://developers.athom.com/library/ledring/

    But yeah, it looks like you can update only frames (with updateFrames), not options.
    I guess you could hook this up with api.js or app2app https://developers.athom.com/library/api/
    In theory, updating the frames should be enough: Leave the rpm on zero (non-rotating), and update the frames 30 times per second to get any animation you want (although it's CPU intensive I guess).
    Haven't gotten it to work though.
    That's a workaround, not a real solution. I feel a rewrite coming  ;)
  • MatjaLipu said:
    Read it here https://developers.athom.com/library/ledring/

    But yeah, it looks like you can update only frames (with updateFrames), not options.
    I guess you could hook this up with api.js or app2app https://developers.athom.com/library/api/
    In theory, updating the frames should be enough: Leave the rpm on zero (non-rotating), and update the frames 30 times per second to get any animation you want (although it's CPU intensive I guess).
    Haven't gotten it to work though.
    That's a workaround, not a real solution. I feel a rewrite coming  ;)
    A rewrite isn't necessary: one extra function (change RPM), and better documentation is all that's needed for complete functionality.
  • MatjaLipu said:
    Read it here https://developers.athom.com/library/ledring/

    But yeah, it looks like you can update only frames (with updateFrames), not options.
    I guess you could hook this up with api.js or app2app https://developers.athom.com/library/api/
    In theory, updating the frames should be enough: Leave the rpm on zero (non-rotating), and update the frames 30 times per second to get any animation you want (although it's CPU intensive I guess).
    Haven't gotten it to work though.
    That's a workaround, not a real solution. I feel a rewrite coming  ;)
    A rewrite isn't necessary: one extra function (change RPM), and better documentation is all that's needed for complete functionality.
    @KoenMartens the documentation has been updated but it's still very limited. Could you have a look and see if you can work with it. I lack the skills to convert this into something myself (I need working examples).

    https://developers.athom.com/library/ledring/
  • jimmy_zeropmjimmy_zeropm Member
    edited November 2016
    Im using the 10% brightness rainbow for a while now, just nice for an ambient setting. But since a few days I notice a difference. The colour transition is more 'hard' lined an especially the blue color is blinking when shifting a led. Can anyone confirm this?
  • Im using the 10% brightness rainbow for a while now, just nice for an ambient setting. But since a few days I notice a difference. The colour transition is more 'hard' lined an especially the blue color is blinking when shifting a led. Can anyone confirm this?
    Always been like this as far as I know. It's the reason I never made a rainbow screensaver below 10% brightness, as this 'blinking' will only get worse.
  • Hmmm, I've noticed that if you switch to the normal spectrum, and then back to the 10% modus, the ring is smoother and the blinking is gone... Like a little reset?
  • Just tested and doesn't change anything for me. If it helps you though, great!
  • Yes it changed a lot, especially the smoothness...

  • jimmy_zeropmjimmy_zeropm Member
    edited November 2016
    Ok, try this:

    - Set screensaver to 10% spectrum,
    - Set screensaver to tiff
    - Set screensaver to 10% spectrum, notice the ring
    - Set screensaver to full spectrum and use the slider to set 100%
    - Set back to 10% spectrum

    Notice the difference in smoothness and bright colours... there seems to be a difference.
  • People who want more screensavers than this, try this app:
    https://apps.athom.com/app/openmindnl.ledcollection

    Great work Alex!
  • People who want more screensavers than this, try this app:
    https://apps.athom.com/app/openmindnl.ledcollection

    Great work Alex!
    Thanks Koen! :smile:
Sign In or Register to comment.