How to trigger Ipc Server Triggers #97
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
As a note, I did also try removing the "AlwaysTrigger" from my default color palette, just in case that was overriding what i sent in. Still didn't work. Here's the relevant part of that config:
|
Beta Was this translation helpful? Give feedback.
-
Yes, the only way to "control" the service is with ipc plugins. Other triggers could also be used but they are more event based, like process running or time of day. Back to the issue. Fixed should look like this: "Effects": [
{
"Type": "StaticColorEffect",
"Config": {
"Color": {
"Full": [255, 0, 20]
},
"Trigger": {
"Type": "IpcTrigger",
"Config": {
"IpcName": "cyberpunk",
"EnabledByDefault": false
}
}
}
},
{
"Type": "StaticColorEffect",
"Config": {
"Color": {
"Full": [50, 50, 50]
},
"Trigger": {
"Type": "AlwaysTrigger"
}
}
}
] Tested and it works correctly for me when sending Also it seems that I forgot to mention on the docs how is Best way to test is to run the service in console mode, it will output additional debug stuff. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much, that got it. |
Beta Was this translation helpful? Give feedback.
Yes, the only way to "control" the service is with ipc plugins. Other triggers could also be used but they are more event based, like process running or time of day.
Ipc plugins were not yet user tested and I think you are the first to use them, so let me know if you have any suggestions. Just by testing now I found few small issues.
Back to the issue.
The plugin triggers are evaluated from first to last. First one to r…