Regarding support for custom arrays of 4 WHITE LEDs: ONE OPTION that I like but can’t seem to finalize is to use a “phantom” (virtual) color_temp light as a master control in an unused dmx channel (channel 11, in the simple example below). Whenever the “phantom” light is changed by HA or GUI, the code for color_temp should actually update the physical channels (channels 3, 5, 7, 9) of the 4 LED entities. The main problem I have is: how one entity (“phantom” on channel 11) can reliably find and index into the physical channel numbers of the physical LED entities (and also use the output_correction and interpolation values already implemented for channels 3,5,7,9?)See config below for example (I added code to handle “fixed_color_temp” mireds parameter in config):
ANOTHER OPTION, I am thinking of a different work-around solution – How about if I implement a custom ColorMode.XY light type? Currently, it appears that ColorMode.XY type is not yet implemented in artnet_led.
In the code for ColorMode.XY, I can then define my own custom array of 4 LEDs, do custom CCT equations and brightness in that module. Although the code implementation would be custom for my own 4-LED fixture setup, maybe it can be further generalized with a switch?
For instance, can the light be defined with “wwww” channel setup flags, to indicate the light is built of 4 white channels, each one is different CCT? Not sure, but I think the util/channel_switch function might be extended to allow for that, and to generalize: other types of custom .XY implementations (maybe extending to UV LEDs for instance)?
node_type: artnet-direct # Which protocol to use
universes: # Support for multiple universes
1: # Nr of Universe (see configuration of your Art-Net Node)
output_correction: cubic
channel_size: 16bit
transition: 2
devices:
- channel: 3 # first physical used channel of dmx controller
name: my_dmx_1800K_strip # 1800K dynamic warm-dim LED strip varies 1800K-3000K
type: dimmer
- channel: 5
name: my_dmx_3200K_strip # 3200K LED strip
type: dimmer
fixed_color_temp: 313
- channel: 7
name: my_dmx_5600K_strip # 5600K LED strip
type: dimmer
fixed_color_temp: 179
- channel: 9
name: my_dmx_6500K_strip # 6500K LED strip
type: dimmer
fixed_color_temp: 153
- channel: 11 # "PHANTOM" control, unused dummy location on dmx, use as the color_temp and brightness master control of the entire fixture
name: my_dmx_phantom_dimmer # A master warm-dimmer. To implement seamless warm-dim of ALL lights combined with custom math
type: color_temp
min_temp: 1800K
max_temp: 6500K
Yeah I see we’re running into hard limitations on how the integration is configured. I think it should be revised anyway, as there’s other open Issues that run into this same problem. Further customization just isn’t really possible; any solution for you is going to necessarily be a hack in its current form.
I’ve since discovered Open Fixture Library, and their fixture format. The main idea here is to decouple channels from fixture capabilities, and then couple HA Entities onto those capabilities. So instead of configuring a channel and defining what that is, you would define your color_temp entity to a fixture’s capabilities, which will then map onto channels.
I’m a bit stuck in the research phase on this though; if people are going to have to change their config, I want to do it only once. Meaning we have to look forward into how RDM and E1.31 sACN integrates in the future.
Questo errore ha avuto origine da un'integrazione personalizzata.
Logger: custom_components.artnet_led.client.artnet_server
Source: custom_components/artnet_led/client/artnet_server.py:247
Integration: artnet_led (documentation, issues)
First occurred: 12:03:11 (1 occurrences)
Last logged: 12:03:11
Haven't seen node 192.168.20.69#0 for 5 seconds; removing it.
Hello, first let me say that this is an awesome integration! Absolutely something that I need. However, I am having a bit of an issue getting this to work with multiple universes. I’ve got both input and output working just fine with Universe 0 but when I try to setup a simple config like this:
light:
- platform: artnet_led
host: 10.0.1.98 # IP of Art-Net Node
max_fps: 25 # Max 40 per second
refresh_every: 0 # Resend values if no fades are running every x seconds, 0 disables automatic refresh
node_type: artnet-controller # Which protocol to use
universes: # Support for multiple universes
0: # Nr of Universe (see configuration of your Art-Net Node)
devices:
# Dimmer
- channel: 1 # first channel of dmx dimmer
name: my_dimmer # name
type: dimmer # type
channel_size: 8bit # width of the channel sent to DMX device, default "8bit", "16bit", "24bit" and "32bit" available.
1: # Nr of Universe (see configuration of your Art-Net Node)
devices:
# Dimmer
- channel: 1 # first channel of dmx dimmer
name: my_dimmer_1 # name
type: dimmer # type
channel_size: 8bit # width of the channel sent to DMX device, default "8bit", "16bit", "24bit" and "32bit" available.
I get nothing on Art-Net universe 1. I’ve tried it without the universe zero as well and still the same thing. Perhaps I’m misunderstanding how the multiple universe setup is supposed to work. If so I would greatly appreciate some help!
This is an amazing integration and may be able to solve my problems, but I can’t get it working. Am I able to use this to talk to my CueServer Mini by entering its IP and selecting sacn as the node type?
light:
- platform: artnet_led
host: 10.0.1.202. #my local CueServer Mini IP
max_fps: 25
refresh_every: 0
node_type: sacn #I have tried each type
universes:
0:
send_partial_universe: True
output_correction: quadratic
devices:
- channel: 20 #3 Channel RGB that I am able to control using either LumenID and CueServer Studio
name: my_dmx_light_test
type: rgb
transition: 1
output_correction: quadratic
channel_size: 8bit
This is how I am trying to test it and nothing shows up in HA.
Ah. I’m guessing it’s a configuration issue on the cue server then. I’m not familiar with that device, but from some quick searching, it looks like there is configuration necessary to get it to release control to another controller/console. Do you know if all of this is in place?
Edit: I should note that this article assumes the other controller is a dmx connected console… you might need something similar, just with the input as Art-Net.
I’m very new to this integration but isn’t the host supposed to be the IP of your HA integration? With Artnet (or sACN) discovery is generally automatic so you wouldn’t be putting the IP address of your target device.
The first implementation of this integration just sent an ArtDmx packet directly to a controller. Afterwards, I’ve added the discovery mechanism that obsoletes the need to configure an IP.
To be backwards compatible with our existing users, the default option of node_type remains artnet-direct, which mandates the IP. But if you’re using artnet-controller, the IP field is ignored.
Discovery for sACN isn’t yet implemented, so IP remains mandatory there still.
Thanks so much to you, gmint, and Bryan for your help. My error was using the DMX controller IP and not my HAOS IP, so that you for correcting me on that. The light now shows up in HA. Turning it on/off or changing the dim/color doesn’t do anything, but this is enough for me to begin troubleshooting so I am extremely appreciative.
We did not intend to have DMX lights in our home, a lighting designer/installer put them in and then vanished! I have had to learn all about this and it is really awesome, but complicated.