forked from matijse/eufy-ha-mqtt-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace eufy-node-client wiht eufy-security-client
Main driver behind this change are issues with Firebase registration - see matijse#78 for details. Aside from different name, the main change is how the registration is handled. Eufy-security-client's new `PushNotificationService` class handles the registration itself if needed and emits the 'credential' event when it happens. On our side, we just listen to this event and persist credentials to disk. In future, we may want to stop listening to raw events and use normalized messages provided by `PushNotificationService` instead. This would potentially allow supporting more devices.
- Loading branch information
Showing
4 changed files
with
25 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters