Tests:
With this adapter you can control your HyperionNG devices
The adapter will create for every hyperion hardware instance a folder with the instance number. Inside of these folder the actual adjustments, all components and all active priorities.
Additionally a general folder will be created which includes control, to send commands to hyperion, all possible effects and system informations about hyperion.
You can control the components inside of the instance.components folder to set the boolean. After setting the parameter, all components parameter of the controlled instance and every following instances will be updated
Additionally you can set the instance.running parameter to activate and deactivate the whole instance
you can control the adjustments inside of the instance.components folder to set the parameter. After setting the parameter, all adjustments of the controlled instance and every following instances will be updated
To set an effect you have to set an instance number under general.control.instance. After that you can enter the correct name of an exisitng effect under general.control.setEffect. After setting the effect the priorities of the used instance and every following instances will be updated
Over general.control.durationEffectColor you can set a duration in seconds. You have to set these value before you set the effect. The standard value 0. This will set the effect time to infinity.
To set a color you have to set an instance number under general.control.instance. After that you can enter a RGB value under general.control.setColorRGB. After setting the color the priorities of the used instance and every following instances will be updated
Over general.control.durationEffectColor you can set a duration in seconds. You have to set these value before you set the color. The standard value 0. This will set the effect time to infinity.
An other possibility to set the color is over HSL. For these it exist 3 datapoints at general.control.setColorHSL. If one of these datapoints will be changed, the color will be updated.
you can set the internal or USB video Grabber as the visible priority if you set general.control.setinternalGrabberVisible or setUSBGrabberVisible to true. Before you have to set the instance to control under general.control.instance. If you changed the standard priorities at hyperion you have to change the values under the adapter config page to have the same values.
To clear a priority you have to set an instance number under general.control.instance. After that you can set the parameter general.control.clearAll or general.control.clearVisible to true to clear priorities. After success the boolean will be set to false.
You can manually update the data of the whole adaptor, if you set general.control.updateAdapter to true. With the datapoint general.control.updatePriorities you can update the Priorities of all instances
MIT License
Copyright (c) 2020-2021 felixganzer felixganzer@web.de
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.