hass-dmx icon indicating copy to clipboard operation
hass-dmx copied to clipboard

Send levels on startup does not work anymore.

Open RubenDijk opened this issue 3 years ago • 4 comments

I use the option: send_levels_on_startup: false

When i restart home-assistant the dmx value go's to 0. The option does not work anymore This is since shortly after the last update.

Here is my config:

platform: dmx host: Ip port: port dmx_channels: 512 default_level: 0 send_levels_on_startup: false universe: 0 devices:

  • channel: 1 name: Dimmer1 type: dimmer transition: 0 channel_setup: d
  • channel: 2 name: Dimmer2 type: dimmer transition: 0 channel_setup: d
  • channel: 3 name: Dimmer3 type: dimmer transition: 0 channel_setup: d
  • channel: 4 name: Dimmer4 type: dimmer transition: 0 channel_setup: d
  • channel: 5 name: Dimmer5 type: dimmer transition: 0 channel_setup: d
  • channel: 6 name: Dimmer6 type: dimmer transition: 0 channel_setup: d

RubenDijk avatar May 17 '21 11:05 RubenDijk

I have the same config and the same problem :(

I've also tried to add default_off: true in the config, but I still have all my dmx lights turned on after a reboot! I'm running the latest version of this integration.

matteofranceschini avatar May 17 '21 23:05 matteofranceschini

Same here.

nibblerrick avatar Jun 02 '21 21:06 nibblerrick

My configuration is like this:

  • platform: dmx host: 192.168.113.103 default_type: dimmer default_off: true default_level: 0 devices: #SP4LED Module 1
    • channel: 1 name: sp4led_1_dimmer default_level: 255
    • channel: 2 name: sp4led_1_program default_level: 0
    • channel: 3 name: sp4led_1_config default_level: 255
    • channel: 4 name: badkamer.hoofdlamp
    • channel: 5 name: badkamer.spots_douche
    • channel: 6 name: badkamer.spots_lavabo
    • channel: 7 name: tr.hoofdlamp

When I debug this configuration, I use "The ArtNetominator". After a reboot of Home Assistant, the fixed values do appear in The ArtNetominator, so I think the option to send the levels at startup does work (send_levels_on_startup, not present in my configuration, but defaults to true). But what I'm seeing, is that all light entities in Home Assistant are turned on after a reboot. Maybe that's what's causing the confusion? A somewhat related feature request: it would be nice if the dmx platform would save state, so all values are restored to what they were after a reboot.

https://community.home-assistant.io/t/main-purpose-of-restoreentity/135270 might be of some help here?

mvandenabeele avatar Jun 16 '21 05:06 mvandenabeele

Same here.

same...

cristianm avatar Apr 10 '22 01:04 cristianm