after browsing a bit through this long thread, I see that some of you have successfully got this working. Iâm not a programmer and my whole HA setup is mainly just following other peopleâs how tos. Has anyone made one yet?
@Breina Hi, Breina. Today I have installed a new clean HA only with Art-net LED Lighting for DMX and 2 light that work on / off dimmer⌠but i canât do any automation because I donât have unique id. I also added the line in /light.py
self._unique_id = unique_id
logging.error(âTHE UNIQUE ID IS: %sâ, unique_id)
Please help me because I have about 50 light bulbs around the house all are on USB DMX and at least 60 motion sensors and I canât do the automation. Here is the log and configuration.yaml.
Just noticed entities became all switched around. Entity Name lost sync with Entity ID. Not sure what happened, if it was a recent update or the result of adding new lights and moving channels around. Anyone else noticing this or just me?
Yeah sorry about that. We needed to have new entity IDâs to support multiple DMX controllers simultaneously. There were a couple of versions that migrated your entity IDâs to the new format, but it was causing issues for new users, so eventually I removed it.
You should be able to manually set your entity IDâs to the old ones (after removing the old ones), so match your automations.
Ok so i am having some issues and getting these error logs i can provide what ever you need, I am having issues with this as i have spun up a brand new HA os and am getting the same results.
Logger: homeassistant.components.light
Source: custom_components/artnet_led/light.py:157
Integration: Light (documentation, issues)
First occurred: 10:38:44 PM (1 occurrences)
Last logged: 10:38:44 PM
Error while setting up artnet_led platform for light
Traceback (most recent call last):
File â/usr/src/homeassistant/homeassistant/helpers/entity_platform.pyâ, line 281, in _async_setup_platform
await asyncio.shield(task)
File â/config/custom_components/artnet_led/light.pyâ, line 157, in async_setup_platform
universe.add_channel(
File â/usr/local/lib/python3.10/site-packages/pyartnet/dmx_universe.pyâ, line 51, in add_channel
raise ChannelExistsError(fâChannel â{channel_name}â does already exist in the universe!â)
pyartnet.errors.ChannelExistsError: Channel âUp 11uvâ does already exist in the universe!
I think a switch is more of an input while sockets and lights are outputs. If you really want a switch, you might use https://github.com/twrecked/hass-virtual and than link that to a dmx light channel using automation?