Skip to content

Best practice to receive notifications from newly registered devices (cameras, doorbots..etc)? #1517

Answered by tsightler
PeterBunBun asked this question in Q&A
Discussion options

You must be logged in to vote

I would say that the overall goal of this API isn't about receiving account wide notifications, it's to provide an API representation for the state of each device. Currently the code parses out only notifications required to update device state for things like motion/dings, even though there are many other push notifications.

You can subscribe directly to the pushReceiver onNotification method and do what you will with the raw notifications (I do the same for onDataUpdate for locations in my own project), but this probably will not resolve any issue with not receiving push notifications for new devices because devices must be explicitly subscribed and, currently, there is no dynamic devic…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PeterBunBun
Comment options

Answer selected by PeterBunBun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants