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

[Feature Request] MQTT based events support #112

Open
Choochmeque opened this issue May 1, 2022 · 0 comments
Open

[Feature Request] MQTT based events support #112

Choochmeque opened this issue May 1, 2022 · 0 comments

Comments

@Choochmeque
Copy link

Please add mqtt events support (such as PIR events or door bell button event) instead of constantly query for alarm list in the coordinator.

Constant device querying (probably) dramatically increase battery usage (from 100 to 20 in 17 hrs (!)).

Mine DP1C PIR and door bell push events examples:

connected OK Returned code= 0
Subscribed: 1 (2,)
{'F2643xxxx': {'id': 1520726771058671616, 'alert': 'DP1C(F2643xxxx) PIR Alarm(2022-05-01 16:28:04)', 'time': '2022-05-01 16:28:04', 'alert type': '10000', 'image': 'https://isgp.ezvizlife.com/v3/alarms/pic/get?fileId=20220501112806-F2643xxxx-1-10000-2-1&deviceSerialNo=F2643xxxx&cn=1&isEncrypted=1&isCloudStored=0&ct=4&lc=7&bn=4_alialarm-sgp&isDevVideo=0'}}
{'F2643xxxx': {'id': 1520726847302729728, 'alert': 'Your doorbell is ringing', 'time': '2022-05-01 16:28:26', 'alert type': '0', 'image': None}}
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

1 participant