Replies: 12 comments 6 replies
-
Right now I believe it's only updating status when it refreshes the data according to the polling interval. The default is 10 mins but in the config you can change it. Haven't tested a different polling interval though personally. |
Beta Was this translation helpful? Give feedback.
-
In fact, we do report the open/close but relying on the polling interval which is 10min by default or push notification. For this last if you select a security profile (home, away, cust), you have to enable "mouvement reaction" and push notification. If you do so, the status is updated right away (but you will receive notification on your phone as well each time the status change if you have the application installed ). |
Beta Was this translation helpful? Give feedback.
-
i see, when I activate the push notification in Eufy security, it update instantly. Ok, so when im in home I don't want to eufy send me notifications, so I think that the minimum is to put the polling interval = 1? |
Beta Was this translation helpful? Give feedback.
-
I actually don't think the pollingIntervalMinutes trigger will do anything regarding update of device state like open/close for an entry sensor? RefreshData updates the stations and devices inside the clientlibrary. But I don't think we look at them again after discoverDevices has run RefreshData: homebridge-eufy-security/src/platform.ts Lines 308 to 327 in 0729592 discoverDevices: homebridge-eufy-security/src/platform.ts Line 123 in 0729592 |
Beta Was this translation helpful? Give feedback.
-
Hello, You right ! It's done because HomeKit will triggered the event of getting or if we receive a push notification. I think we shouldn't rely on polling the value, I can see I can get ban for a day because I generated too much requests. Regards, |
Beta Was this translation helpful? Give feedback.
-
How many requests did you send? 🤔😅 |
Beta Was this translation helpful? Give feedback.
-
A lot, but since the push notification it's more easy to debug without doing too much request. I've to setup a dedicated account link to the first one to avoid blocking everything. |
Beta Was this translation helpful? Give feedback.
-
IMG_3970.MOVI just tested this and can verify that the push notifications for entry sensor works. |
Beta Was this translation helpful? Give feedback.
-
I think refreshData could be used to discover newly added devices to the hub. But it is a "nice to have" feature. And probably not worth implementing :) |
Beta Was this translation helpful? Give feedback.
-
Yeah but the Eufy app is really noisy when enabling push while at home. Does p2p would work without the need of enabling push ? |
Beta Was this translation helpful? Give feedback.
-
It does look like there's another way to get updates using p2p based on eufy-security-client code. Looks like there are some emitters that could be used but just haven't had time to dig into it yet. I could be completely wrong. Maybe the examples in this library would be helpful: https://github.com/bropat/eufy-security-ws |
Beta Was this translation helpful? Give feedback.
-
Not able to get the Eufy T8910 motion sensors working with the plugin at all. It detects the sensors and grabs the details from the sensors and adds them in to HomeBridge OK, but it does not change state when motion is detected. Even with "React to motion" and "Push Notifications" enabled for the sensor in the Eufy App. Homebridge state remains as no motion detected (but i get the Eufy notifications constantly in the Eufy App) The main reason i want these motion sensors working is to automate turning on lights in the home/area where the motion sensor is located. (i currently have this achieved in two important locations using EVE motion sensors), but i have 4 Eufy sensors for my Eufy Alarm system. |
Beta Was this translation helpful? Give feedback.
-
The status of entry sensor is not updating, when I open (or close) a door it stay in the same status (opened or closed). It only change when I reboot home bridge
Awesome plugin!
Beta Was this translation helpful? Give feedback.
All reactions