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

Eufy Motion Sensor - Binary sensor states #22

Closed
boctok opened this issue Jul 26, 2021 · 58 comments
Closed

Eufy Motion Sensor - Binary sensor states #22

boctok opened this issue Jul 26, 2021 · 58 comments
Assignees

Comments

@boctok
Copy link

boctok commented Jul 26, 2021

One thing I noticed while trying to set up an automation using the binary switch motion detector entity, checking the logs, it goes from "false" (no motion detected) to "unavailable". I don't see any records of "true" or any motion detected, even though it shows up in the Eufy app.

Originally posted by @boctok in #15 (comment)

@fuatakgun
Copy link
Owner

can you confirm if changes are states happening in similar times? it can be an issue of mapping of eufy states into HA states.
let's assume it is False now as there is no motion, is it switching into unavailable instead of True when there is motion?
of vice versa?

@fuatakgun fuatakgun self-assigned this Jul 26, 2021
@boctok
Copy link
Author

boctok commented Jul 26, 2021

I will check it now and get back to you shortly.

@boctok
Copy link
Author

boctok commented Jul 26, 2021

Maybe not. It didn't change from 'false'. I guess that would mean that it simply isn't getting any state from the sensor.

Here is the info from the sensor state in developer tools:

name: Front Motion Sensor model: T8910 serialNumber: T8910P0020150C3D hardwareVersion: 0.0.1 softwareVersion: 2.0.1.1 stationSerialNumber: T8010P13203100C9 batteryLow: false motionDetected: false motionSensorPIREvent: 1627302197000 motionDetection: false friendly_name: Front Motion Sensor Motion Sensor device_class: motion

compared with the state from the doorbell motion sensor:

name: Doorbell model: T8210 serialNumber: T8210P00204134E3 hardwareVersion: T8210 softwareVersion: 2.2.3.3 stationSerialNumber: T8010P13203100C9 enabled: true state: 1 battery: 73 batteryTemperature: 38 lastChargingDays: 11 lastChargingTotalEvents: 923 lastChargingRecordedEvents: 512 lastChargingFalseEvents: 411 batteryUsageLastWeek: 17 motionDetected: false personDetected: false personName: '' ringing: false autoNightvision: true ledStatus: true motionDetection: true watermark: 2 wifiRSSI: -45 pictureUrl: https://security-app.eufylife.com/v1/s/g/ayK1Szi0s friendly_name: Doorbell Motion Sensor device_class: motion

@fuatakgun
Copy link
Owner

fuatakgun commented Jul 26, 2021

please share your motion sensor with my eufy account so I can debug.
I also need you around to initiate motion events.
I am located in Luxembourg, +2 timezone. I have next one hour or tomorrow 20:00 to 21:00.

@boctok
Copy link
Author

boctok commented Jul 27, 2021

How do I share it?
There is no option within the app for the motion sensor to be shared.

@fuatakgun
Copy link
Owner

apparently, only cameras are shareable between accounts, I will try to improve this blindly, hopefully we can make it

@boctok
Copy link
Author

boctok commented Jul 27, 2021

Would the states from the MQTT entities be of any help? I did see that those are "on" or "off", but that may just be within that integration. Those do trigger, by the way, but I know nothing about how to set up MQTT automations etc.

@fuatakgun
Copy link
Owner

Please enable excessive logging following last section here: https://github.com/fuatakgun/eufy_security#troubleshooting
later, share your logs. Try to generate some motion events on your sensor and share your logs later on, we can make it work

@fuatakgun
Copy link
Owner

fuatakgun commented Aug 3, 2021

This issue is about motion sensor device, not motion sensing functionality of cameras, please create a separate issue to discuss this.

I am using like this;
- notifications are enabled on main and guest account
- use guest account in home assistant
- disable notifications in Android permission settings on my phone
By the way, you are right, if you disarm, you will not get image capturing when disarmed but I was able to get motion notifications even disarmed

@Fogest
Copy link

Fogest commented Aug 10, 2021

Hey just chiming in here to mention my motion sensor doesn't work either and can help with any information you require as well.

I am trying to have the motion camera turn on lights in a room when it detects motion but there seems to be no way to do this with a Eufy Motion sensor currently. I can't even get it to show up in Google Assistant (and it's officially supported), only the Homebase shows up there.

@fuatakgun
Copy link
Owner

I need you to enable excessive logging for the integration and trigger some events from motion sensor and share your logs from home assistant regarding. This will be first step.

@Fogest
Copy link

Fogest commented Aug 10, 2021

Here are what the logs look like when I trigger one motion sensor notification:

Note: I swapped the station serial numbers for y's, and the motion sensor serial for x's.

2021-08-10 13:48:06 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - set_event_for_entity - xxxxxxxxx motionDetection False - {'name': 'Justin Bedroom', 'model': 'T8910', 'serialNumber': 'xxxxxxxxx', 'hardwareVersion': '0.0.1', 'softwareVersion': '2.0.1.1', 'stationSerialNumber': 'yyyyyyyyyyyyy', 'batteryLow': False, 'motionDetected': False, 'motionDetection': False, 'motionSensorPIREvent': 1628563710000, 'type': 'DEVICE_TYPE.MOTION_SENSOR', 'type_raw': 10, 'category': 'MOTION_SENSOR'}
2021-08-10 13:48:06 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'xxxxxxxxx', 'name': 'motionDetection', 'value': False, 'timestamp': 1628617686689}}
2021-08-10 13:48:06 DEBUG (MainThread) [custom_components.eufy_security] Manually updated eufy_security data
2021-08-10 13:48:06 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - set_event_for_entity - xxxxxxxxx motionDetected False - {'name': 'Justin Bedroom', 'model': 'T8910', 'serialNumber': 'xxxxxxxxx', 'hardwareVersion': '0.0.1', 'softwareVersion': '2.0.1.1', 'stationSerialNumber': 'yyyyyyyyyyyyy', 'batteryLow': False, 'motionDetected': False, 'motionDetection': False, 'motionSensorPIREvent': 1628563710000, 'type': 'DEVICE_TYPE.MOTION_SENSOR', 'type_raw': 10, 'category': 'MOTION_SENSOR'}
2021-08-10 13:48:06 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'xxxxxxxxx', 'state': False}}
2021-08-10 13:48:06 DEBUG (MainThread) [custom_components.eufy_security] Manually updated eufy_security data
2021-08-10 13:48:13 INFO (MainThread) [homeassistant.components.upnp] Device not discovered
2021-08-10 13:48:13 INFO (MainThread) [homeassistant.components.upnp] Unable to create UPnP/IGD, aborting
2021-08-10 13:48:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - set_event_for_entity - xxxxxxxxx motionDetection True - {'name': 'Justin Bedroom', 'model': 'T8910', 'serialNumber': 'xxxxxxxxx', 'hardwareVersion': '0.0.1', 'softwareVersion': '2.0.1.1', 'stationSerialNumber': 'yyyyyyyyyyyyy', 'batteryLow': False, 'motionDetected': False, 'motionDetection': True, 'motionSensorPIREvent': 1628563710000, 'type': 'DEVICE_TYPE.MOTION_SENSOR', 'type_raw': 10, 'category': 'MOTION_SENSOR'}
2021-08-10 13:48:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'xxxxxxxxx', 'name': 'motionDetection', 'value': True, 'timestamp': 1628617725275}}
2021-08-10 13:48:46 DEBUG (MainThread) [custom_components.eufy_security] Manually updated eufy_security data
2021-08-10 13:48:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - set_event_for_entity - xxxxxxxxx motionDetected False - {'name': 'Justin Bedroom', 'model': 'T8910', 'serialNumber': 'xxxxxxxxx', 'hardwareVersion': '0.0.1', 'softwareVersion': '2.0.1.1', 'stationSerialNumber': 'yyyyyyyyyyyyy', 'batteryLow': False, 'motionDetected': False, 'motionDetection': True, 'motionSensorPIREvent': 1628563710000, 'type': 'DEVICE_TYPE.MOTION_SENSOR', 'type_raw': 10, 'category': 'MOTION_SENSOR'}
2021-08-10 13:48:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'xxxxxxxxx', 'state': False}}
2021-08-10 13:48:46 DEBUG (MainThread) [custom_components.eufy_security] Manually updated eufy_security data

@Fogest
Copy link

Fogest commented Aug 10, 2021

That log corresponds to a single motion sensing trigger. I have no idea why it has multiple "false" trigger events and one "true", but that is one trigger that generated all those.

@boctok
Copy link
Author

boctok commented Aug 10, 2021

I think the true values may indicate that "motionDetection" is enabled, which appears to be different from "motionDetected", which is always showing false.

@Fogest
Copy link

Fogest commented Aug 10, 2021

Ah yes I do see there is a difference there. Unclear though why it would be indicating that is a "property change" as the property was not changed by me. Also weird how it keeps throwing motion detection "false" despite it sending a notification to the contrary.

Looking at my other logs of motion triggers it looks like it is the same pattern every time. motionDetected = false, and motionDetection = true

So for some reason it seems like the motionDetection flag is the one indicating whether it is detecting movement. Because in some cases motionDetection is showing as false. Whereas motionDetected never seems to change from false.

@fuatakgun
Copy link
Owner

thanks for investigation, so individual motion sensor should use motionDetection rather than motionDetected, now it is clear, but I believe this is a mistake. actions;

  • create an issue on eufy-security-client to fix the event name
  • come up with a solution for existing situation

@Fogest
Copy link

Fogest commented Aug 10, 2021

Yes that seems correct and it does seem to point to a naming error coming from the eufy-security-client

@boctok
Copy link
Author

boctok commented Aug 10, 2021

I don't think it is a naming error. The phone app allows for motion detection to be turned off or on. There is also a timeout period after a detection event in which it will not register another motion event. I believe that it is simply indicating if motion detection is enabled, then indicating that the camera or sensor has entered the period in which detection is disabled, and subsequently, when it was re-enabled.

@fuatakgun
Copy link
Owner

@bropat , it would be nice to get your opinion on this. when motion sensor receives an motion event, motionDetection is toggling between True and False but motionDetected is always False.

This looks contradicting with camera but you know better internal dynamics.

@Fogest
Copy link

Fogest commented Aug 10, 2021

@boctok In my case I have 0 second delay set for the motion triggering cooldown so this may explain why the log messages are all happening at the same time then.

@boctok
Copy link
Author

boctok commented Aug 10, 2021

Another interesting thing I noticed while looking through the logs is that sometimes, the URL for the snapshot of the last activity is https://security-app.eufylife.com/imageName and at other times, it is https://zhixin-security-pr.s3.us-west-2.amazonaws.com/ etc.

@fuatakgun
Copy link
Owner

I don't think it is a naming error. The phone app allows for motion detection to be turned off or on. There is also a timeout period after a detection event in which it will not register another motion event. I believe that it is simply indicating if motion detection is enabled, then indicating that the camera or sensor has entered the period in which detection is disabled, and subsequently, when it was re-enabled.

I would rely on enabled/disabled attribute rather than motionDetection but @bropat would answer better.

@fuatakgun
Copy link
Owner

fuatakgun commented Aug 10, 2021

please get latest version of codebase and retry and share your results. resolve if possible. (just published seconds ago)

@boctok
Copy link
Author

boctok commented Aug 11, 2021

Looks like the "motionDetected" reported a 'true'...
2021-08-10 23:49:01 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - set_event_for_entity - T8114P02202745B6 motionDetected True - {'name': 'temp', 'model': 'T8114', 'serialNumber': 'T8114XXXXXXXXXXX', 'hardwareVersion': 'eufy2_v', 'softwareVersion': '2.7.4', 'stationSerialNumber': 'T8010XXXXXXXXXXX', 'enabled': True, 'state': 1, 'battery': 87, 'batteryTemperature': 32, 'lastChargingDays': 0, 'lastChargingTotalEvents': 2, 'lastChargingRecordedEvents': 2, 'lastChargingFalseEvents': 0, 'batteryUsageLastWeek': 0, 'motionDetected': True, 'personDetected': False, 'personName': '', 'antitheftDetection': False, 'autoNightvision': True, 'ledStatus': True, 'motionDetection': True, 'rtspStream': True, 'watermark': 2, 'wifiRSSI': -33, 'pictureUrl': 'https://security-app.eufylife.com/image', 'motionDetectionType': 2, 'motionDetectionSensivity': 20, 'microphone': True, 'speaker': True, 'speakerVolume': 92, 'audioRecording': True, 'powerSource': 0, 'powerWorkingMode': 0, 'notificationType': 3, 'type_raw': 9, 'type': 'DEVICE_TYPE.CAMERA2', 'category': 'CAMERA'} 2021-08-10 23:49:01 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'T8114XXXXXXXXXXX', 'state': True}}

@boctok
Copy link
Author

boctok commented Aug 11, 2021

I checked the state within developer tools, since I have this one camera sitting on my desk waiting to be mounted and sure enough, I can trigger the state between off and on by moving my hand in front of the camera.

@bropat
Copy link

bropat commented Aug 11, 2021

@bropat , it would be nice to get your opinion on this. when motion sensor receives an motion event, motionDetection is toggling between True and False but motionDetected is always False.

This looks contradicting with camera but you know better internal dynamics.

@fuatakgun That is a typing error on my part. It will be fixed in the next release.
I only implemented the motion sensor by reverse engineering the code without really being able to test it.

If someone has such a device and could share it with me for a short time, I could check everything and implement missing features.

@fuatakgun
Copy link
Owner

I asked this earlier but user was not able to find sharing option and i thought it is not shareable

@boctok
Copy link
Author

boctok commented Aug 11, 2021

It isn't shareable individually, like the cameras. In order to share it, I'd have to share everything and that's not a good option.
tempFileForShare_20210811-073412
If there is anything I could do to pull info from it and post it, I would be happy to.

@boctok
Copy link
Author

boctok commented Aug 12, 2021

As far as I know, I have the latest. I don't see any notification that there is a new one.

@fuatakgun
Copy link
Owner

fuatakgun commented Aug 12, 2021

so, you should have an entity named Front Motion Sensor Motion Sensor, right? Do you see any activity when you trigger motion event? This activity might be instantaneous, so please check entity history

@boctok
Copy link
Author

boctok commented Aug 12, 2021

2021-08-12 07:37:45 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - set_event_for_entity - T8910XXXXXXXXXXX motionDetection False - {'name': 'Front Motion Sensor', 'model': 'T8910', 'serialNumber': 'T8910XXXXXXXXXXX', 'hardwareVersion': '0.0.1', 'softwareVersion': '2.0.1.1', 'stationSerialNumber': 'T8010XXXXXXXXXXX', 'batteryLow': False, 'motionDetected': False, 'motionDetection': False, 'motionSensorPIREvent': 1628767232000, 'type_raw': 10, 'type': 'DEVICE_TYPE.MOTION_SENSOR', 'category': 'MOTION_SENSOR'} 2021-08-12 07:37:45 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8910XXXXXXXXXXX', 'name': 'motionDetection', 'value': False, 'timestamp': 1628768265024}}

2021-08-12 07:37:45 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - set_event_for_entity - T8910XXXXXXXXXXX motionDetected False - {'name': 'Front Motion Sensor', 'model': 'T8910', 'serialNumber': 'T8910XXXXXXXXXXX', 'hardwareVersion': '0.0.1', 'softwareVersion': '2.0.1.1', 'stationSerialNumber': 'T8010XXXXXXXXXXX', 'batteryLow': False, 'motionDetected': False, 'motionDetection': False, 'motionSensorPIREvent': 1628767232000, 'type_raw': 10, 'type': 'DEVICE_TYPE.MOTION_SENSOR', 'category': 'MOTION_SENSOR'} 2021-08-12 07:37:45 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'T8910XXXXXXXXXXX', 'state': False}}

@fuatakgun
Copy link
Owner

but I do not see any event here which arrives as True. This is contradicting with this: #22 (comment)

@boctok
Copy link
Author

boctok commented Aug 12, 2021

That was from one of the cameras, which had also, up to that point, not given a result of true.
I just tested the camera and it is no longer providing a result of true.

@boctok
Copy link
Author

boctok commented Aug 12, 2021

From the camera Model# T8114

2021-08-12 08:18:23 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - set_event_for_entity - T8114XXXXXXXXXXX motionDetected False - {'name': 'temp', 'model': 'T8114', 'serialNumber': 'T8114XXXXXXXXXXX', 'hardwareVersion': 'eufy2_v', 'softwareVersion': '2.7.4', 'stationSerialNumber': 'T8010XXXXXXXXXXX', 'enabled': True, 'state': 1, 'battery': 100, 'batteryTemperature': 22, 'lastChargingDays': 1, 'lastChargingTotalEvents': 6, 'lastChargingRecordedEvents': 6, 'lastChargingFalseEvents': 0, 'batteryUsageLastWeek': 0, 'motionDetected': False, 'personDetected': False, 'personName': '', 'antitheftDetection': False, 'autoNightvision': True, 'ledStatus': True, 'motionDetection': True, 'rtspStream': True, 'watermark': 2, 'wifiRSSI': -29, 'pictureUrl': 'https://security-app.eufylife.com/v1/s/g/lLhAIKurt', 'motionDetectionType': 2, 'motionDetectionSensivity': 20, 'microphone': True, 'speaker': True, 'speakerVolume': 92, 'audioRecording': True, 'powerSource': 0, 'powerWorkingMode': 0, 'notificationType': 3, 'type_raw': 9, 'type': 'DEVICE_TYPE.CAMERA2', 'category': 'CAMERA'} 2021-08-12 08:18:23 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'T8114XXXXXXXXXXX', 'state': False}}

@fuatakgun
Copy link
Owner

it is not clear to me why you are referring cameras here? we are only interested independent motion sensor, not motion sensing functionality of a camera. Motion or Person sensor for cameras should work without any issues, if you are facing some, let's keep it independently. I am interested below product.

https://us.eufylife.com/products/t8910

@boctok
Copy link
Author

boctok commented Aug 12, 2021

My apologies. I thought the issue was with motion detection in general, because until a few days ago, none of my cameras were providing any motion detection events either. Again, I apologize.

@fuatakgun
Copy link
Owner

fuatakgun commented Aug 12, 2021

no worries, do you still have these issues regarding to non-functional motion sensors for cameras? Person & motion detection is well working for me. Screenshot_2021-08-12-14-42-19-193_io.homeassistant.companion.android.jpg

@boctok
Copy link
Author

boctok commented Aug 12, 2021

They kind of worked before, but until a few days ago, I couldn't use them as triggers for automations. I will stick to the motion detector from now on.

@boctok
Copy link
Author

boctok commented Aug 16, 2021

The motion sensor will initially produce this:
2021-08-15 20:10:06 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - set_event_for_entity - T8910XXXXXXXXXXX motionDetection True - {'name': 'Front Motion Sensor', 'model': 'T8910', 'serialNumber': 'T8910XXXXXXXXXXX', 'hardwareVersion': '0.0.1', 'softwareVersion': '2.0.1.1', 'stationSerialNumber': 'T8010XXXXXXXXXXX', 'batteryLow': False, 'motionDetected': False, 'type_raw': 10, 'type': 'DEVICE_TYPE.MOTION_SENSOR', 'category': 'MOTION_SENSOR', 'motionSensorPIREvent': 1629071335000, 'motionDetection': True} 2021-08-15 20:10:06 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8910XXXXXXXXXXX', 'name': 'motionDetection', 'value': True, 'timestamp': 1629072605657}}

so, it is registering something, but when I check states, I'm wasn't sure which value it was using, because the state was always false.

name: Front Motion Sensor model: T8910 serialNumber: T8910XXXXXXXXXXX hardwareVersion: 0.0.1 softwareVersion: 2.0.1.1 stationSerialNumber: T8010XXXXXXXXXXX batteryLow: false motionDetected: false type_raw: 10 type: DEVICE_TYPE.MOTION_SENSOR category: MOTION_SENSOR motionSensorPIREvent: 1629071335000 motionDetection: false friendly_name: Front Motion Sensor Motion Sensor device_class: motion

Was it using motionDetection or motionDetected?

So, I went and pulled it down and brought it to my desk so that I could refresh the state while I was causing a motion event. It is clearly changing the motionDetection attribute, but the state is still false, so maybe it is using motionDetected as the state attribute, but that isn't the one being updated. See image:
Motion detector

@bropat
Copy link

bropat commented Aug 16, 2021

@boctok

This was a BUG that was fixed in version 1.1.0 of the driver (eufy-security-client).
The correct attribute is in any case motionDetected.

In any case, you should use eufy-security-ws version 0.4.1.

@boctok
Copy link
Author

boctok commented Aug 16, 2021

As far as I can see, eufy-security-ws version 0.4.1 isn't available in HA yet. I'll keep an eye out for it.

@fuatakgun
Copy link
Owner

fuatakgun commented Aug 16, 2021 via email

@boctok
Copy link
Author

boctok commented Aug 16, 2021

Enjoy yourself!

@Fogest
Copy link

Fogest commented Aug 24, 2021

So if I wanted to use this motion sensor to do something like turning on a light in a room and keeping that light on while it detects motion say every 5 minutes, I'd have to have notifications on for this? Is there any workaround or way around having to have the devices notifications on? This works fine for cameras for me as they don't detect motion nearly as often as I will want this motion sensor detecting it.

@boctok
Copy link
Author

boctok commented Aug 25, 2021

That's the way it seems to work for mine. I tried with "React to motion" unchecked and the state never changed. I tried it with "React to motion" checked, but "Push notification" unchecked and the state never changed. It will only change the state if "React to motion" and "Push notification" are both checked. I'm not sure if @fuatakgun can work some sort of magic and make it only update the state on HA, but I kind of doubt it, because it's a push notification. HA and your phone get the same notification.

@fuatakgun
Copy link
Owner

Maybe you can have one account to hold all cameras and motion sensors to use with HA and have a separate one for your mobile app without motion sensor.

I have just built the bridge between eufy security ws and HA, magic comes from @bropat

@bropat
Copy link

bropat commented Aug 25, 2021

Yesterday I bought a motion sensor. As soon as it arrives I will take a closer look at it to understand if I can do some magic. ;)

@sjikkervisje
Copy link

I just installed this a couple days ago, I have the 2k Battery Doorbell from Eufy and motion sensor is not showing correctly. It does not produce any updates in HA regarding motion detection.
image

@sjikkervisje
Copy link

I found out that with the wireless doorbell the motion sensor entities do work however, it depends on how you setup your Eufy device in the App. If set to all motion, only the motion sensor works and the person detector sensor doesn't. If you set it to Persons only then the normal motion sensor doesn't work. I was hoping that both would work regardless of the setting in the app you so you could have a combination of motion or motion and person simultaniously.

image

@fuatakgun
Copy link
Owner

FYI: this thread is about physical motion sensor by Eufy, not about motion and person sensing features of cameras/doorbells.

@fuatakgun
Copy link
Owner

@sjikkervisje , thanks for your findings, can we continue over here: #49

I believe they are directly related

@fuatakgun
Copy link
Owner

That's the way it seems to work for mine. I tried with "React to motion" unchecked and the state never changed. I tried it with "React to motion" checked, but "Push notification" unchecked and the state never changed. It will only change the state if "React to motion" and "Push notification" are both checked. I'm not sure if @fuatakgun can work some sort of magic and make it only update the state on HA, but I kind of doubt it, because it's a push notification. HA and your phone get the same notification.

back to here, we know that our integration relies on push notifications for events, if we are not able to receive any push notifications, there is no way around this. @bropat , do you foresee a solution here other than adding the motion sensor into integration specific eufy account?

@bropat
Copy link

bropat commented Oct 2, 2021

After I received the motion sensor, I checked how it works and unfortunately I have to inform you that the motion notification can only be integrated via the push notifications. There is no other interface that is openly accessible, not even via the P2P interface to the station.
I would not buy this sensor (have returned it).

@fuatakgun
Copy link
Owner

Thanks for update, i will close the issue, @boctok , please go with a separate account if you are worried about number of push notifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants