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 turn on by themself

See original GitHub issue

Version information:

Description:

I’ve noticed a problem with 3 of my bulbs (Hue via Hue Bridge, Ikea via Deconz) that lights sometimes turn on by themselves. I was looking for a reason for about 1 month and yesterday I turned off Adaptive Lightning Integration for this lights. After about 24 hour I didn’t noticed this problem. So it should be related with this integration.

Usually logs of my bulbs looks like this: Zrzut ekranu 2021-12-13 o 20 44 10 In translations automation turn on a bulb, after that turning off because of state_changed and after that turn on light by service light.turn_on

To be sure I still using the same automation before and after disabling integration.

Is anyone have the same problem or also have a solution for that?

Im really missing the sleep mode when bulbs are on 1% brightness.

And here is my automation:

alias: 🏃 [Piętro] Turn on light on motion (v 2.0 with bug)
description: ''
trigger:
  - platform: state
    entity_id: binary_sensor.presence_79
    to: 'on'
    from: 'off'
condition: []
action:
  - choose:
      - conditions:
          - condition: numeric_state
            entity_id: sensor.lightlevel_80
            below: '100'
        sequence:
          - service: light.turn_on
            data: {}
            entity_id: light.color_temperature_light_18
          - wait_for_trigger:
              - platform: state
                entity_id: binary_sensor.presence_79
                from: 'on'
                to: 'off'
                for:
                  hours: 0
                  minutes: 0
                  seconds: 10
          - service: light.turn_off
            data: {}
            entity_id: light.color_temperature_light_18
    default:
      - service: light.turn_off
        target:
          entity_id: light.color_temperature_light_18
mode: restart

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:11
  • Comments:34 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jabbinkcommented, Jun 15, 2022

Another way to “fix” this is to turn on only_once by the way, from the basic debugging I did on this, it seems as if some trigger to update the light with time passing is not properly stopped when the light gets turned off in the meantime, turning it back on when it wants to adjust the brightness.

Have/had this issue with Tradfri lights.

1reaction
maartenlandman89commented, Jun 15, 2022

I’ve got the same problem. When i turn off all light, some of them are turning on by themself after a few seconds. I have Ikea lights with Zigbee2MQTT and Conbee 2. In the logs i can’t find a reason for it…

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's Causing Your Lights To Turn On and off by Themselves
Reasons Lights Turn On and Off: Should I Be Worried · A Large Appliance Is On · Defective Bulb or Fixture · Stormy...
Read more >
Lights Turning On & Off on Their Own - Hoffman Electrical
Reasons Your Lights Turn On and Off · Stormy weather. One of the most common causes of flickering lights involves brief interruptions to...
Read more >
What would make a light turn on by itself? - Quora
Special cases of this would be lights designed to be able to do this, such as: motion detector lights, lights on a timer,...
Read more >
Why Your Lights Turn On and Off Themself: Spirits Explained
This can happen if you have been visited by a spirit, or if your own energetic vibration is high enough to alter the...
Read more >
Lights turn on by themselves after they are turned off
KHSUIN Smart Light Bulbs,Dimmable 2700K-6500K RGBCW Color Changing Alexa Light Bulb Works with Alexa,Echo,Google Home,E26 A19 WiFi Light Bulbs(80W ...
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