Comments (7)
Good idea!
I'll add a trigger that will allow you to specify a schedule. So you will have two speed controllers/effects that will switch depending on the schedule you specify.
I'll also think about having triggers for the whole profiles, but it might require a big code change.
from ttcontroller.
Added ScheduleTrigger to dev build, you can get it here.
Sample config:
...
"Effects": [
{
"Type": "FullColorEffect",
"Config": {
"Color": [255, 0, 0],
"Trigger": {
"Type": "ScheduleTrigger",
"Config": {
"Scope": "Day",
"Schedule": [
"00:00 -> 08:00",
"20:00 -> 23:59"
],
}
}
}
},
{
"Type": "FullColorEffect",
"Config": {
"Color": [0, 255, 0],
"Trigger": {
"Type": "AlwaysTrigger"
}
}
}
]
...
This will trigger the red full color on the specified schedule, otherwise it will fallback to green.
The format for the schedule is "{start} -> {end}"
with [d.]hh:mm:ss
for time.
edit: Added more time formats for easier configuration:
d.hh:mm -> d.hh.mm
hh:mm -> hh:mm
ss -> ss
Let me know if you need help with configuring this with your current setup.
from ttcontroller.
Amazing, thank you!
Having triggers for entire profiles is definitely overkill for my needs, but I can see how that would enable an incredible level of fine-tuning.
from ttcontroller.
@ray-holmium does this work/is this what you wanted?
I would like to close this issue if that is the case.
from ttcontroller.
@MoshiMoshi0 I'm so sorry for the late reply! I had kind of a crappy time this past month.
Thank you so much for setting up that schedule trigger for me. It works perfectly!
Though I've run into a new, unrelated bug which I will start a new issue for.
from ttcontroller.
Trying to run this with my existing rotation setup doesn't seem to work for me, but the idea of auto-shutdown during a schedule is awesome - my machine runs 24/7 but I'd love to kill all the lights during the night.
Newtonsoft.Json.JsonSerializationException: Error converting value 10 to type 'System.Int32[]'. Path 'LedRotation', line 5, position 19. ---> System.ArgumentException: Could not cast or convert from System.Int64 to System.Int32[]. at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value, Type initialType, Type targetType) at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue, CultureInfo culture, Type targetType) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) --- End of inner exception stack trace ---
from ttcontroller.
@jlaineinat0r Please make a new issue and post your config there. Current develop builds have configuration changes compared to latest release.
from ttcontroller.
Related Issues (20)
- faulty color mapping in Razer Studio HOT 9
- Boot profile freezes Riing Quad controllers
- Toughram RGB support HOT 1
- Fans turning back to rainbow and possibly stopping the whole service...? HOT 1
- Not all leds of Riing Trio 20 are working HOT 33
- Level 20 Mouse Pad HOT 4
- How to Set-Up With Synapse Properly?
- Add installation method (manifest) to Scoop Installer HOT 1
- processtrigger doesnt work anymore
- RazerConnectEffect not being recognized by Razer Connect anymore
- Debug is greyed out, system is not recognized
- Can't detect CPU temperature on ASUS ROG Strix Z690-E
- Provide current fan speed percent for DPSG controller
- TT Toughram RGB support HOT 5
- Ryzen 5800x and Floe Riing 360 HOT 11
- Riing Quad color bleed and value mismatch HOT 5
- ColorModifiers won't instantiate HOT 9
- Service configurator GUI HOT 5
- Add "bar" display mode to SoundEffect; Add ability to delay effects HOT 6
- Effect blending HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ttcontroller.