core: Motion Sensor Integration - Inconsistent Behavior

The problem

I have the Yo-Link Home Assistant integration. I have two YoLink motion sensors. I have the sensors set up so that a green LED on the front of each sensor flashes green when motion is detected. They are also visible in the yolink phone app. I rely upon their change in state (to “motion detected”) to launch a variety of actions within home assistant. One of the actions in home assistant is to call a service to start a timer when motion is detected. Intermittently, when motion is detected (the sensor flashes green as configured - and the yolink app immediately shows “motion detected”), the state for that sensor remains as “clear”. Additionally, the state of the yolink Motion sensor in Home Assistant will sometimes remain as “motion detected” when it in fact changes to “motion not detected” in the yolink app. This is causing properly written related automations to fail because nothing happens in home assistant - even though there is a change in the yolink app of the state of the motion sensor (but not in the home assistant state of the same sensor). Unfortunately for this kind of an issue there are no related logs - because nothing happens in Home Assistant!

What version of Home Assistant Core has the issue?

core-2022.6.4

What was the last working version of Home Assistant Core?

core-2022.6.4

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Yolink

Link to integration documentation on our website

https://community.home-assistant.io/t/yolink-integration/

Diagnostics information

n/a

Example YAML snippet

n/a

Anything in the logs that might be useful for us?

n/a

Additional information

n/a

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 81 (30 by maintainers)

Most upvoted comments

Here is the device info. thanks

[image: image.png]

On Thu, Sep 29, 2022 at 9:30 AM Matrix @.***> wrote:

@DarwinData https://github.com/DarwinData can you send me an email about your device information ? something like device id, i need to checkout the server log files about data pushing

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/73294#issuecomment-1262287755, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK77LH47B5S463SPASPUKH3WAWKY3ANCNFSM5YLT75JQ . You are receiving this because you were mentioned.Message ID: @.***>

I think I am having the same issue, but it’s not just motion sensors but also door sensors. None are reporting state to HA. In the Yolink app everything is good.