Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Apple Home Automations Fail to Turn Off Lightbulb (using HOOBS) #126

Open
jimmyfisher opened this issue Jul 6, 2022 · 3 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@jimmyfisher
Copy link

Logs

Nothing shows in the logs re: this issue. I never see an on/off log message even when I turn on manually

Describe the bug

I have a MagicHome lightbulb as my front porch light. I have it set up w/ automations in HomeKit based on sunrise and sunset (along with some other lights in the house). It turns on a little before sunset and is supposed to turn off a little after sunrise.

It consistently fails to turn off, but successfully turns on.

To Reproduce

Steps to reproduce the behavior:

  1. In the HomeKit app, set an automation to turn light on with other lights
  2. Create a second automation to turn off light with other lights3.
  3. Attempted to even create a standalone automation JUST for the lightbulb in question (still fails frequently)

Expected behavior

Expecting that the light will turn on with the others when the automation is run and turn off when the second automation is run.

Additional context

If I 'test' the automation, the light properly turns on/off. If it's running normally, it's not a 'sure thing' that the light will properly turn off.

Host Hardware

  • Hardware: Raspberry Pi 4
  • OS: HOOBS
  • OS Version: bullseye (i think)

Homebridge and MagicHome

@jimmyfisher jimmyfisher added the bug Something isn't working label Jul 6, 2022
@JulianNaumann
Copy link

I have more or less the same problem:
turning the magic home led on/off works manually in the home app 98% of the time (same for "test this automation") but when the device is used in an automation and the automation is triggered by an actual event it does not work reliably. maybe 30% of the time.

the automation is triggered by a light switch. when the light switch is turned on, the light should turn on. as there are no logs for on/off events: in the home app you can actually see for a .5 seconds the state of the magic home device changing, but then resetting to the previous state. other lights (non-magic-home) which are triggered by the same automation work much more reliably.

device used: https://de.aliexpress.com/item/1005003301949814.html?spm=a2g0o.order_list.order_list_main.21.21ef5c5fDhwA9B&gatewayAdapt=glo2deu

anyway to debug this further and get to the source of the problem?

@joshjohanning
Copy link

Kind of the same thing - if I ask siri to turn the room off, all of the other lights will turn off but not the light powered by this plugin. If I ask Siri to do it again, then this light also turns off.

@j30542
Copy link

j30542 commented Jul 30, 2024

Same issue using homebridge in a lxc (not that it matters). Manual triggers in apple home, the wifi dimmer turns on and off with no issues like 98% of the time. If part of an automation or if i specifically say turn on/off X room via siri it fails fairly often.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants