Breina / ha-artnet-led

DMX lighting Integration for Home Assistant. Using the HA Color Mode update and Pyartnet library to control lights in multiple DMX universes over ethernet with the Art-Net protocol.
MIT License
104 stars 9 forks source link

No unique IDs generated after upgrade to v0.0.8 #13

Closed sapdemon closed 1 year ago

sapdemon commented 1 year ago

After upgrade to v0.0.8 I faced with the issue. No possibility to edit light items via web and assign it to some areas becouse there is no unique ids for all generated items.

sapdemon commented 1 year ago

Screenshot_2022-10-02-01-41-31-977_io homeassistant companion android Screenshot_2022-10-02-01-41-36-966_io homeassistant companion android

Breina commented 1 year ago

Do you see anything special in the logs when it's loading the integration?

Can you post your config please?

Mouse5312 commented 1 year ago

I have the same problems with the unique ID's. I'm running v0.0.9 and Home Assistant 2022.9.7 on a Raspberry PI 4. Also the defaults don't work for any device type.

Configuration: light:

Logs: 2022-10-05 11:16:30.183 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration artnet_led which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-10-05 11:16:39.280 INFO (MainThread) [custom_components.artnet_led.light] PyArtNet: pyartnet == 0.8.3 2022-10-05 11:16:39.281 INFO (MainThread) [custom_components.artnet_led.light] Version : 2021.07.10 2022-10-05 11:16:39.325 INFO (MainThread) [homeassistant.components.light] Setting up light.artnet_led 2022-10-05 11:16:39.438 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('platform', 'artnet_led'), 2022-10-05 11:16:39.438 INFO (MainThread) [custom_components.artnet_led.light] ('host', '192.168.2.200'), 2022-10-05 11:16:39.438 INFO (MainThread) [custom_components.artnet_led.light] ('max_fps', 25), 2022-10-05 11:16:39.439 INFO (MainThread) [custom_components.artnet_led.light] ('refresh_every', 0), 2022-10-05 11:16:39.439 INFO (MainThread) [custom_components.artnet_led.light] ('universes', 2022-10-05 11:16:39.439 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([(0, 2022-10-05 11:16:39.439 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('output_correction', 'quadratic'), 2022-10-05 11:16:39.439 INFO (MainThread) [custom_components.artnet_led.light] ('devices', 2022-10-05 11:16:39.439 INFO (MainThread) [custom_components.artnet_led.light] [OrderedDict([('channel', 1), 2022-10-05 11:16:39.439 INFO (MainThread) [custom_components.artnet_led.light] ('name', 2022-10-05 11:16:39.439 INFO (MainThread) [custom_components.artnet_led.light] 'Tuin Lampen ' 2022-10-05 11:16:39.439 INFO (MainThread) [custom_components.artnet_led.light] 'Schutting'), 2022-10-05 11:16:39.439 INFO (MainThread) [custom_components.artnet_led.light] ('type', 'binary'), 2022-10-05 11:16:39.439 INFO (MainThread) [custom_components.artnet_led.light] ('channel_size', 2022-10-05 11:16:39.439 INFO (MainThread) [custom_components.artnet_led.light] '8bit'), 2022-10-05 11:16:39.440 INFO (MainThread) [custom_components.artnet_led.light] ('output_correction', 2022-10-05 11:16:39.440 INFO (MainThread) [custom_components.artnet_led.light] None), 2022-10-05 11:16:39.440 INFO (MainThread) [custom_components.artnet_led.light] ('transition', 0.0), 2022-10-05 11:16:39.440 INFO (MainThread) [custom_components.artnet_led.light] ('min_temp', '2700K'), 2022-10-05 11:16:39.440 INFO (MainThread) [custom_components.artnet_led.light] ('value', 0), 2022-10-05 11:16:39.440 INFO (MainThread) [custom_components.artnet_led.light] ('max_temp', '6500K'), 2022-10-05 11:16:39.440 INFO (MainThread) [custom_components.artnet_led.light] ('channel_setup', 2022-10-05 11:16:39.440 INFO (MainThread) [custom_components.artnet_led.light] None)]), 2022-10-05 11:16:39.440 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('channel', 2), 2022-10-05 11:16:39.440 INFO (MainThread) [custom_components.artnet_led.light] ('name', 2022-10-05 11:16:39.440 INFO (MainThread) [custom_components.artnet_led.light] 'Tuin Lampen Terras'), 2022-10-05 11:16:39.440 INFO (MainThread) [custom_components.artnet_led.light] ('type', 'binary'), 2022-10-05 11:16:39.441 INFO (MainThread) [custom_components.artnet_led.light] ('channel_size', 2022-10-05 11:16:39.441 INFO (MainThread) [custom_components.artnet_led.light] '8bit'), 2022-10-05 11:16:39.441 INFO (MainThread) [custom_components.artnet_led.light] ('output_correction', 2022-10-05 11:16:39.441 INFO (MainThread) [custom_components.artnet_led.light] None), 2022-10-05 11:16:39.441 INFO (MainThread) [custom_components.artnet_led.light] ('transition', 0.0), 2022-10-05 11:16:39.441 INFO (MainThread) [custom_components.artnet_led.light] ('min_temp', '2700K'), 2022-10-05 11:16:39.441 INFO (MainThread) [custom_components.artnet_led.light] ('value', 0), 2022-10-05 11:16:39.441 INFO (MainThread) [custom_components.artnet_led.light] ('max_temp', '6500K'), 2022-10-05 11:16:39.441 INFO (MainThread) [custom_components.artnet_led.light] ('channel_setup', 2022-10-05 11:16:39.441 INFO (MainThread) [custom_components.artnet_led.light] None)]), 2022-10-05 11:16:39.441 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('channel', 3), 2022-10-05 11:16:39.441 INFO (MainThread) [custom_components.artnet_led.light] ('name', 2022-10-05 11:16:39.442 INFO (MainThread) [custom_components.artnet_led.light] 'Tuin LEDstrip ' 2022-10-05 11:16:39.442 INFO (MainThread) [custom_components.artnet_led.light] 'aan/uit'), 2022-10-05 11:16:39.442 INFO (MainThread) [custom_components.artnet_led.light] ('type', 'binary'), 2022-10-05 11:16:39.442 INFO (MainThread) [custom_components.artnet_led.light] ('channel_size', 2022-10-05 11:16:39.442 INFO (MainThread) [custom_components.artnet_led.light] '8bit'), 2022-10-05 11:16:39.442 INFO (MainThread) [custom_components.artnet_led.light] ('output_correction', 2022-10-05 11:16:39.442 INFO (MainThread) [custom_components.artnet_led.light] None), 2022-10-05 11:16:39.442 INFO (MainThread) [custom_components.artnet_led.light] ('transition', 0.0), 2022-10-05 11:16:39.442 INFO (MainThread) [custom_components.artnet_led.light] ('min_temp', '2700K'), 2022-10-05 11:16:39.442 INFO (MainThread) [custom_components.artnet_led.light] ('value', 0), 2022-10-05 11:16:39.442 INFO (MainThread) [custom_components.artnet_led.light] ('max_temp', '6500K'), 2022-10-05 11:16:39.443 INFO (MainThread) [custom_components.artnet_led.light] ('channel_setup', 2022-10-05 11:16:39.443 INFO (MainThread) [custom_components.artnet_led.light] None)]), 2022-10-05 11:16:39.443 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('channel', 4), 2022-10-05 11:16:39.443 INFO (MainThread) [custom_components.artnet_led.light] ('name', 2022-10-05 11:16:39.443 INFO (MainThread) [custom_components.artnet_led.light] 'Tuin LEDstrip ' 2022-10-05 11:16:39.443 INFO (MainThread) [custom_components.artnet_led.light] 'Helderheid'), 2022-10-05 11:16:39.443 INFO (MainThread) [custom_components.artnet_led.light] ('type', 'binary'), 2022-10-05 11:16:39.443 INFO (MainThread) [custom_components.artnet_led.light] ('channel_size', 2022-10-05 11:16:39.443 INFO (MainThread) [custom_components.artnet_led.light] '8bit'), 2022-10-05 11:16:39.443 INFO (MainThread) [custom_components.artnet_led.light] ('output_correction', 2022-10-05 11:16:39.443 INFO (MainThread) [custom_components.artnet_led.light] None), 2022-10-05 11:16:39.444 INFO (MainThread) [custom_components.artnet_led.light] ('transition', 0.0), 2022-10-05 11:16:39.444 INFO (MainThread) [custom_components.artnet_led.light] ('min_temp', '2700K'), 2022-10-05 11:16:39.444 INFO (MainThread) [custom_components.artnet_led.light] ('value', 0), 2022-10-05 11:16:39.444 INFO (MainThread) [custom_components.artnet_led.light] ('max_temp', '6500K'), 2022-10-05 11:16:39.444 INFO (MainThread) [custom_components.artnet_led.light] ('channel_setup', 2022-10-05 11:16:39.444 INFO (MainThread) [custom_components.artnet_led.light] None)]), 2022-10-05 11:16:39.444 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('channel', 5), 2022-10-05 11:16:39.444 INFO (MainThread) [custom_components.artnet_led.light] ('name', 2022-10-05 11:16:39.444 INFO (MainThread) [custom_components.artnet_led.light] 'Tuin LEDstrip kleur'), 2022-10-05 11:16:39.444 INFO (MainThread) [custom_components.artnet_led.light] ('type', 'rgb'), 2022-10-05 11:16:39.444 INFO (MainThread) [custom_components.artnet_led.light] ('channel_size', 2022-10-05 11:16:39.444 INFO (MainThread) [custom_components.artnet_led.light] '8bit'), 2022-10-05 11:16:39.445 INFO (MainThread) [custom_components.artnet_led.light] ('output_correction', 2022-10-05 11:16:39.445 INFO (MainThread) [custom_components.artnet_led.light] None), 2022-10-05 11:16:39.445 INFO (MainThread) [custom_components.artnet_led.light] ('transition', 0.0), 2022-10-05 11:16:39.445 INFO (MainThread) [custom_components.artnet_led.light] ('min_temp', '2700K'), 2022-10-05 11:16:39.445 INFO (MainThread) [custom_components.artnet_led.light] ('value', 0), 2022-10-05 11:16:39.445 INFO (MainThread) [custom_components.artnet_led.light] ('max_temp', '6500K'), 2022-10-05 11:16:39.445 INFO (MainThread) [custom_components.artnet_led.light] ('channel_setup', 2022-10-05 11:16:39.445 INFO (MainThread) [custom_components.artnet_led.light] None)]), 2022-10-05 11:16:39.445 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('channel', 8), 2022-10-05 11:16:39.445 INFO (MainThread) [custom_components.artnet_led.light] ('name', 2022-10-05 11:16:39.445 INFO (MainThread) [custom_components.artnet_led.light] 'Tuin LEDstrip ' 2022-10-05 11:16:39.445 INFO (MainThread) [custom_components.artnet_led.light] 'Built-in effect'), 2022-10-05 11:16:39.446 INFO (MainThread) [custom_components.artnet_led.light] ('type', 'dimmer'), 2022-10-05 11:16:39.446 INFO (MainThread) [custom_components.artnet_led.light] ('channel_size', 2022-10-05 11:16:39.446 INFO (MainThread) [custom_components.artnet_led.light] '8bit'), 2022-10-05 11:16:39.446 INFO (MainThread) [custom_components.artnet_led.light] ('output_correction', 2022-10-05 11:16:39.446 INFO (MainThread) [custom_components.artnet_led.light] None), 2022-10-05 11:16:39.446 INFO (MainThread) [custom_components.artnet_led.light] ('transition', 0.0), 2022-10-05 11:16:39.446 INFO (MainThread) [custom_components.artnet_led.light] ('min_temp', '2700K'), 2022-10-05 11:16:39.446 INFO (MainThread) [custom_components.artnet_led.light] ('value', 0), 2022-10-05 11:16:39.446 INFO (MainThread) [custom_components.artnet_led.light] ('max_temp', '6500K'), 2022-10-05 11:16:39.446 INFO (MainThread) [custom_components.artnet_led.light] ('channel_setup', 2022-10-05 11:16:39.446 INFO (MainThread) [custom_components.artnet_led.light] None)]), 2022-10-05 11:16:39.446 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('channel', 9), 2022-10-05 11:16:39.447 INFO (MainThread) [custom_components.artnet_led.light] ('name', 2022-10-05 11:16:39.447 INFO (MainThread) [custom_components.artnet_led.light] 'Tuin LEDstrip ' 2022-10-05 11:16:39.447 INFO (MainThread) [custom_components.artnet_led.light] 'Snelheid'), 2022-10-05 11:16:39.447 INFO (MainThread) [custom_components.artnet_led.light] ('type', 'dimmer'), 2022-10-05 11:16:39.447 INFO (MainThread) [custom_components.artnet_led.light] ('channel_size', 2022-10-05 11:16:39.447 INFO (MainThread) [custom_components.artnet_led.light] '8bit'), 2022-10-05 11:16:39.447 INFO (MainThread) [custom_components.artnet_led.light] ('output_correction', 2022-10-05 11:16:39.447 INFO (MainThread) [custom_components.artnet_led.light] None), 2022-10-05 11:16:39.447 INFO (MainThread) [custom_components.artnet_led.light] ('transition', 0.0), 2022-10-05 11:16:39.447 INFO (MainThread) [custom_components.artnet_led.light] ('min_temp', '2700K'), 2022-10-05 11:16:39.447 INFO (MainThread) [custom_components.artnet_led.light] ('value', 0), 2022-10-05 11:16:39.448 INFO (MainThread) [custom_components.artnet_led.light] ('max_temp', '6500K'), 2022-10-05 11:16:39.448 INFO (MainThread) [custom_components.artnet_led.light] ('channel_setup', 2022-10-05 11:16:39.448 INFO (MainThread) [custom_components.artnet_led.light] None)]), 2022-10-05 11:16:39.448 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('channel', 10), 2022-10-05 11:16:39.448 INFO (MainThread) [custom_components.artnet_led.light] ('name', 2022-10-05 11:16:39.448 INFO (MainThread) [custom_components.artnet_led.light] 'Tuin LEDstrip ' 2022-10-05 11:16:39.448 INFO (MainThread) [custom_components.artnet_led.light] 'Groepen'), 2022-10-05 11:16:39.448 INFO (MainThread) [custom_components.artnet_led.light] ('type', 'dimmer'), 2022-10-05 11:16:39.448 INFO (MainThread) [custom_components.artnet_led.light] ('channel_size', 2022-10-05 11:16:39.448 INFO (MainThread) [custom_components.artnet_led.light] '8bit'), 2022-10-05 11:16:39.448 INFO (MainThread) [custom_components.artnet_led.light] ('output_correction', 2022-10-05 11:16:39.449 INFO (MainThread) [custom_components.artnet_led.light] None), 2022-10-05 11:16:39.449 INFO (MainThread) [custom_components.artnet_led.light] ('transition', 0.0), 2022-10-05 11:16:39.449 INFO (MainThread) [custom_components.artnet_led.light] ('min_temp', '2700K'), 2022-10-05 11:16:39.449 INFO (MainThread) [custom_components.artnet_led.light] ('value', 0), 2022-10-05 11:16:39.449 INFO (MainThread) [custom_components.artnet_led.light] ('max_temp', '6500K'), 2022-10-05 11:16:39.449 INFO (MainThread) [custom_components.artnet_led.light] ('channel_setup', 2022-10-05 11:16:39.449 INFO (MainThread) [custom_components.artnet_led.light] None)]), 2022-10-05 11:16:39.449 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('channel', 11), 2022-10-05 11:16:39.449 INFO (MainThread) [custom_components.artnet_led.light] ('name', 2022-10-05 11:16:39.449 INFO (MainThread) [custom_components.artnet_led.light] 'Tuin LEDstrip lengte ' 2022-10-05 11:16:39.449 INFO (MainThread) [custom_components.artnet_led.light] 'van achtergrond of ' 2022-10-05 11:16:39.450 INFO (MainThread) [custom_components.artnet_led.light] 'zwarte vlek'), 2022-10-05 11:16:39.450 INFO (MainThread) [custom_components.artnet_led.light] ('type', 'dimmer'), 2022-10-05 11:16:39.450 INFO (MainThread) [custom_components.artnet_led.light] ('output_correction', 2022-10-05 11:16:39.450 INFO (MainThread) [custom_components.artnet_led.light] None), 2022-10-05 11:16:39.450 INFO (MainThread) [custom_components.artnet_led.light] ('transition', 0.0), 2022-10-05 11:16:39.450 INFO (MainThread) [custom_components.artnet_led.light] ('min_temp', '2700K'), 2022-10-05 11:16:39.450 INFO (MainThread) [custom_components.artnet_led.light] ('value', 0), 2022-10-05 11:16:39.450 INFO (MainThread) [custom_components.artnet_led.light] ('max_temp', '6500K'), 2022-10-05 11:16:39.450 INFO (MainThread) [custom_components.artnet_led.light] ('channel_setup', None), 2022-10-05 11:16:39.450 INFO (MainThread) [custom_components.artnet_led.light] ('channel_size', 2022-10-05 11:16:39.450 INFO (MainThread) [custom_components.artnet_led.light] '8bit')]), 2022-10-05 11:16:39.450 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('channel', 12), 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] ('name', 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] 'Tuin LEDstrip ' 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] 'achtergrond kleur'), 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] ('type', 'rgb'), 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] ('channel_size', 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] '8bit'), 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] ('output_correction', 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] None), 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] ('transition', 0.0), 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] ('min_temp', '2700K'), 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] ('value', 0), 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] ('max_temp', '6500K'), 2022-10-05 11:16:39.451 INFO (MainThread) [custom_components.artnet_led.light] ('channel_setup', 2022-10-05 11:16:39.452 INFO (MainThread) [custom_components.artnet_led.light] None)]), 2022-10-05 11:16:39.452 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('channel', 15), 2022-10-05 11:16:39.452 INFO (MainThread) [custom_components.artnet_led.light] ('name', 2022-10-05 11:16:39.452 INFO (MainThread) [custom_components.artnet_led.light] 'Tuin LEDstrip Flash'), 2022-10-05 11:16:39.452 INFO (MainThread) [custom_components.artnet_led.light] ('type', 'binary'), 2022-10-05 11:16:39.452 INFO (MainThread) [custom_components.artnet_led.light] ('channel_size', 2022-10-05 11:16:39.452 INFO (MainThread) [custom_components.artnet_led.light] '8bit'), 2022-10-05 11:16:39.452 INFO (MainThread) [custom_components.artnet_led.light] ('output_correction', 2022-10-05 11:16:39.452 INFO (MainThread) [custom_components.artnet_led.light] None), 2022-10-05 11:16:39.452 INFO (MainThread) [custom_components.artnet_led.light] ('transition', 0.0), 2022-10-05 11:16:39.452 INFO (MainThread) [custom_components.artnet_led.light] ('min_temp', '2700K'), 2022-10-05 11:16:39.452 INFO (MainThread) [custom_components.artnet_led.light] ('value', 0), 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] ('max_temp', '6500K'), 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] ('channel_setup', 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] None)]), 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] OrderedDict([('channel', 16), 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] ('name', 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] 'Tuin LEDstrip ' 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] 'Pixels'), 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] ('type', 'dimmer'), 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] ('channel_size', 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] '8bit'), 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] ('output_correction', 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] None), 2022-10-05 11:16:39.453 INFO (MainThread) [custom_components.artnet_led.light] ('transition', 0.0), 2022-10-05 11:16:39.454 INFO (MainThread) [custom_components.artnet_led.light] ('min_temp', '2700K'), 2022-10-05 11:16:39.454 INFO (MainThread) [custom_components.artnet_led.light] ('value', 0), 2022-10-05 11:16:39.454 INFO (MainThread) [custom_components.artnet_led.light] ('max_temp', '6500K'), 2022-10-05 11:16:39.454 INFO (MainThread) [custom_components.artnet_led.light] ('channel_setup', 2022-10-05 11:16:39.455 INFO (MainThread) [custom_components.artnet_led.light] None)])])]))])), 2022-10-05 11:16:39.455 INFO (MainThread) [custom_components.artnet_led.light] ('port', 6454)]) 2022-10-05 11:16:40.872 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.artnet_led entity: light.tuin_lampen_schutting 2022-10-05 11:16:40.873 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.artnet_led entity: light.tuin_lampen_terras 2022-10-05 11:16:40.874 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.artnet_led entity: light.tuin_ledstrip_aan_uit 2022-10-05 11:16:40.875 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.artnet_led entity: light.tuin_ledstrip_helderheid 2022-10-05 11:16:40.878 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.artnet_led entity: light.tuin_ledstrip_kleur 2022-10-05 11:16:40.879 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.artnet_led entity: light.tuin_ledstrip_built_in_effect 2022-10-05 11:16:40.881 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.artnet_led entity: light.tuin_ledstrip_snelheid 2022-10-05 11:16:40.882 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.artnet_led entity: light.tuin_ledstrip_groepen 2022-10-05 11:16:40.883 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.artnet_led entity: light.tuin_ledstrip_lengte_van_achtergrond_of_zwarte_vlek 2022-10-05 11:16:40.884 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.artnet_led entity: light.tuin_ledstrip_achtergrond_kleur 2022-10-05 11:16:40.885 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.artnet_led entity: light.tuin_ledstrip_flash 2022-10-05 11:16:40.886 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.artnet_led entity: light.tuin_ledstrip_pixels 2022-10-05 11:16:41.046 DEBUG (MainThread) [custom_components.artnet_led.light] Added binary light to hass. Try restoring state. 2022-10-05 11:16:41.048 DEBUG (MainThread) [custom_components.artnet_led.light] Added binary light to hass. Try restoring state. 2022-10-05 11:16:41.049 DEBUG (MainThread) [custom_components.artnet_led.light] Added binary light to hass. Try restoring state. 2022-10-05 11:16:41.050 DEBUG (MainThread) [custom_components.artnet_led.light] Added binary light to hass. Try restoring state. 2022-10-05 11:16:41.051 DEBUG (MainThread) [custom_components.artnet_led.light] Added rgb to hass. Try restoring state. 2022-10-05 11:16:41.052 DEBUG (MainThread) [custom_components.artnet_led.light] Added dimmer to hass. Try restoring state. 2022-10-05 11:16:41.053 DEBUG (MainThread) [custom_components.artnet_led.light] Added dimmer to hass. Try restoring state. 2022-10-05 11:16:41.053 DEBUG (MainThread) [custom_components.artnet_led.light] Added dimmer to hass. Try restoring state. 2022-10-05 11:16:41.054 DEBUG (MainThread) [custom_components.artnet_led.light] Added dimmer to hass. Try restoring state. 2022-10-05 11:16:41.055 DEBUG (MainThread) [custom_components.artnet_led.light] Added rgb to hass. Try restoring state. 2022-10-05 11:16:41.056 DEBUG (MainThread) [custom_components.artnet_led.light] Added binary light to hass. Try restoring state. 2022-10-05 11:16:41.057 DEBUG (MainThread) [custom_components.artnet_led.light] Added dimmer to hass. Try restoring state.

Mouse5312 commented 1 year ago

@Breina Can you have a look into this?

Breina commented 1 year ago

Yep, sorry to keep you waiting. Am busy irl atm. I can reproduce it, not yet fixed.

Mouse5312 commented 1 year ago

Yeah, no problem. Just didn't know if you read it.

Breina commented 1 year ago

Can you try with v0.0.10 please?

Mouse5312 commented 1 year ago

It's working now. Thanks!

The only thing that isn't working is the default_level. I will start a new issue for that.

mvandenabeele commented 1 year ago

I haven't updated in a while now but I was checking the code. I think unique IDs are based on IP now? I think that is somewhat annoying because this way, you can't switch to another IP running software like Artnetominator to check sent values. Furthermore, using IP is discouraged here: https://developers.home-assistant.io/docs/entity_registry_index/ Please consider removing the host from the unique id.

Breina commented 1 year ago

Yes, realized this as well. Needed some way to differentiate separate controllers and didn't want to use indexes.

Working in the background on a more complete implementation of ArtNet, that will poll for controllers and thus use a MAC address instead of this (ArtNetPoll and ArtNetPollReply packets).

For now, I'm going to avoid changing it too much, but your comment is definitely on-point! Thanks for staying in the loop with the code! :)