question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lights turns on at startup even when said to not do it.

See original GitHub issue

I have entered this under platform: artnet default_level: 0 send_levels_on_startup: true

and then under each device i have default_level: to the DMX value that i would like the lamp to have when i turn the light to on.

Then home assistant would send the first default_level: 0 to the lights and then when i turn them on it should send the devices default_level.

Now what happens is that when i start home assistant the lights turns on automatically and it sends the devices default_level directly without considering that i have the first default_level to 0

Here is my code in configuration.yaml

` light:

  • platform: artnet host: IPADRESS port: PORT dmx_channels: 9 default_level: 0 send_levels_on_startup: true devices:
    • channel: 1 type: rgb name: parcan_rgb default_rgb: [255,255,255]
    • channel: 6 type: dimmer name: parcan_mode default_level: 0
    • channel: 7 type: dimmer name: parcan_master default_level: 255
    • channel: 6 type: dimmer name: parcan_automixmode default_level: 129
    • channel: 4 type: dimmer name: parcan_strobe default_level: 255
    • channel: 8 type: dimmer name: uvpar_master default_level: 255
    • channel: 9 type: dimmer name: uvpar_strobe default_level: 255

`

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jnimmocommented, Dec 28, 2018

I just spotted in the doco on https://www.home-assistant.io/components/light/ that you can setup a light_profiles.csv file which defines the default turn on values for lights -this will let you do what you want to do. In that case, you could remove all reference to default levels from the dmx component and define what you want to happen in the light.default profile

0reactions
ZebonianJusticecommented, Dec 29, 2018

Thank you! Will give it a try 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dimmable LED Flash | Led Lights Flash When Turned On
If you have a complaint about the LED lights flickering even after you turn them off, it simply happens because of the residual...
Read more >
When the engine is started, warning lights show up on the...
Hello. This is perfectly normal. These lights come on at this time as the computer is testing them. As long as the lights...
Read more >
Power button light turns On but nothing else happens
Starting with troubleshooting, it sounds like you've tried a lot of the stuff, but there is still some more you can do.
Read more >
What does it mean if specific dashboard lights come on in ...
This is normally due to the battery voltage fluctuating as the starter motor turns the engine over. The starter motor draws very high...
Read more >
Why did all my dashboard lights turn on while driving?
When all your dashboard lights turn on at once, it is most commonly indicative of an issue with the alternator or the charging...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found