GithubHelp home page GithubHelp logo

Comments (15)

MoshiMoshi0 avatar MoshiMoshi0 commented on August 30, 2024 1

Whoops, yes I did not recompile after one last change.

Fixed build: https://ci.appveyor.com/project/MoshiMoshi0/ttcontroller/builds/30216277/artifacts

from ttcontroller.

MoshiMoshi0 avatar MoshiMoshi0 commented on August 30, 2024 1

Nice!

I also just now fixed one issue I noticed.

If you had for example 2 fans setup with this gradient

[0.0, [255,0,0]],
[0.5, [255,0,0]],
[0.5, [0,255,0]],
[1.0, [0,255,0]],

you would want to have one fan red and one fan green, but because of how the gradients work that is not what was happening as the last led of the first fan was getting a green color instead of red.

This is why I added white color on position 0.33 and 0.66 in earlier config.

Fixed by shrinking the radius of the fan to a little. Physically the leds are also not perfectly on the outer edge of the fan so that works.
Build here: https://ci.appveyor.com/project/MoshiMoshi0/ttcontroller/builds/30216848/artifacts

from ttcontroller.

MoshiMoshi0 avatar MoshiMoshi0 commented on August 30, 2024

Do you mean that you have trouble configuring the effect to look correct, or does the effect not change the leds at all?

from ttcontroller.

jlaineinat0r avatar jlaineinat0r commented on August 30, 2024

I've been able to adapt the rotation with the individual ports perfectly, but color so far has eluded me. I can't get anything other than pure white out of the configuration for the ports assigned to PingPongEffect.

from ttcontroller.

MoshiMoshi0 avatar MoshiMoshi0 commented on August 30, 2024

Oh, well thats true. It can only do white for now.

I'll add an option to set a gradient for colors.
Anything else you might want to customize?

from ttcontroller.

jlaineinat0r avatar jlaineinat0r commented on August 30, 2024

Overall speed across the span of the ports that PingPongEffect applies to possibly? I'm stuck with 3 controllers (iCue for DRAM, AURA for the motherboard assembly) so trying to coordinate them. I have 4 devices tied to PingPongEffect, 2 on Asus' AURA, and 2 on iCue - none have nearly the level of control that this provides though.

from ttcontroller.

MoshiMoshi0 avatar MoshiMoshi0 commented on August 30, 2024

These are values you can configure now:

  • "Step", default 0.01, how fast is the strip moving
  • "Height", default 0.2, how "tall" is the moving strip
  • "Width", default 0.5, how "wide" is the moving strip, value 1.0 will mean it lights the whole fan

from ttcontroller.

jlaineinat0r avatar jlaineinat0r commented on August 30, 2024

I tried "Step" - but was met with an exception, thought it was a formatting issue on my end to be honest.

Application: TTController.Service.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException at TTController.Service.TTService.Finalize(TTController.Service.Config.Data.ComputerStateType) at TTController.Service.TTService.OnStop() at System.ServiceProcess.ServiceBase.DeferredStop() at TTController.Service.TTService.OnStart(System.String[]) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(System.Object) at System.ServiceProcess.ServiceBase.Run(System.ServiceProcess.ServiceBase[]) at System.ServiceProcess.ServiceBase.Run(System.ServiceProcess.ServiceBase) at TTController.Service.Program.Main(System.String[])

from ttcontroller.

MoshiMoshi0 avatar MoshiMoshi0 commented on August 30, 2024

Please post the whole log file.

This was an error when shutting down the service so the config should work just fine.
First time I've seen one on shut down.

        {
          "Type": "PingPongEffect",
          "Config": {
            "Step": 0.01,
            "Height": 0.2,
            "Width": 0.5,
            "Trigger": {
              "Type": "AlwaysTrigger"
            }
          }
        }

from ttcontroller.

jlaineinat0r avatar jlaineinat0r commented on August 30, 2024

That worked fine, and was verbatim from what I had before on my backup file. I must have formatted the json wrong somewhere. :/

I'd consider this a feature request at this point limited to just gradient.

from ttcontroller.

MoshiMoshi0 avatar MoshiMoshi0 commented on August 30, 2024

Try this dev build:
https://ci.appveyor.com/project/MoshiMoshi0/ttcontroller/builds/30209120/artifacts

Sample config:

        {
          "Type": "PingPongEffect",
          "Config": {
            "Step": 0.01,
            "Height": 0.2,
            "Width": 1.0,
            "ColorGradient": [
              [0.00, [255,0,0]],
              [0.31, [255,0,0]],
              [0.33, [255,255,255]],
              [0.35, [0,255,0]],
              [0.64, [0,255,0]],
              [0.66, [255,255,255]],
              [0.68, [0,0,255]],
              [1.00, [0,0,255]],
            ],
            "EnableSmoothing": true,
            "Trigger": {
              "Type": "AlwaysTrigger"
            }
          }
        }

Gradient goes from 0.0 (bottom of first fan) to 1.0 (top of last fan)

from ttcontroller.

jlaineinat0r avatar jlaineinat0r commented on August 30, 2024

I can get a full cycle on the gradient and get stopped by

The Thermaltake Controller service is marked as an interactive service. However, the system is configured to not allow interactive services. This service may not function properly.

It works in the entirety up until that first cycle though. 👍

from ttcontroller.

MoshiMoshi0 avatar MoshiMoshi0 commented on August 30, 2024

That message should not matter, if it was working before it should work now. Maybe its just crashing.

Check the latest log, or start the service in console mode to see why it stops.

from ttcontroller.

jlaineinat0r avatar jlaineinat0r commented on August 30, 2024

Console isn't showing it stopping or any error (in fact the pump continues to change color based on CPU temp just fine) - but the PingPong effect cycles once and stops.

from ttcontroller.

jlaineinat0r avatar jlaineinat0r commented on August 30, 2024

Works perfectly! Thank you for the feature add!

from ttcontroller.

Related Issues (20)

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.