Lights turns on at startup even when said to not do it.
See original GitHub issueI 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:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
Thank you! Will give it a try 😃