Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Send levels on startup does not work anymore. #51

Open
RubenDijk opened this issue May 17, 2021 · 4 comments
Open

Send levels on startup does not work anymore. #51

RubenDijk opened this issue May 17, 2021 · 4 comments

Comments

@RubenDijk
Copy link

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
@matteofranceschini
Copy link

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.

@nibblerrick
Copy link

Same here.

@mvandenabeele
Copy link
Contributor

mvandenabeele commented Jun 16, 2021

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?

@cristianm
Copy link

Same here.

same...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants