Skip to content

Introduced check_alerts() method - #17

Merged
tchellomello merged 12 commits into
devfrom
check_activity
Mar 9, 2017
Merged

Introduced check_alerts() method#17
tchellomello merged 12 commits into
devfrom
check_activity

Conversation

@tchellomello

Copy link
Copy Markdown
Member

Via this method, we will have an attribute to store the response received from the notification request and to save the timestamp for how much time the request is 'on-going' or 'valid'.

This will be useful in cases where a ring happened but we want to keep the notification active for the next 180 seconds (which is the default).

@tchellomello tchellomello changed the title Introduced check_alerts method Introduced check_alerts() method Mar 9, 2017
@tchellomello
tchellomello merged commit b8e06dc into dev Mar 9, 2017
@tchellomello
tchellomello deleted the check_activity branch March 9, 2017 20:40
tchellomello added a commit that referenced this pull request Mar 9, 2017
* Moved subscribed and subscribed_motion attributes to doorbell devices only

* Allows option to make token persistent and register push_notify_urls

* Introduced check_alerts() method (#17)

* added initial control to alert notifications

* Removed JSON from tests

* Make lint happy

* Update README

* Only publish PUSH url if we have one

* Display error message only if in debug

* override default URL

* Make check alerts a callable function

* Removed extra space

* Move inside the try/except for safeness

* Introduced mecanism to save current alert state to a pickle file to allow concurrent objects to share alert notifications

* Moved self._alert_cache position

* version bump 0.1.1
tchellomello added a commit that referenced this pull request Mar 13, 2017
* Moved subscribed and subscribed_motion attributes to doorbell devices only

* Allows option to make token persistent and register push_notify_urls

* Introduced check_alerts() method (#17)

* added initial control to alert notifications

* Removed JSON from tests

* Make lint happy

* Update README

* Only publish PUSH url if we have one

* Display error message only if in debug

* override default URL

* Make check alerts a callable function

* Removed extra space

* Move inside the try/except for safeness

* Introduced mecanism to save current alert state to a pickle file to allow concurrent objects to share alert notifications

* Moved self._alert_cache position

* version bump 0.1.1

* Allows to filter history by event kind: 'motion', 'on_demand', 'ding' (#20)

* Allows to filter history by event kind: 'motion', 'on_demand', 'ding'

* Fixed whitespace

* Unittests (#22)

* Introduced base skeleton for unittest

* Added thanks to the http://www.android-x86.org/ community

* Added basic structure for docs (#24)

* Added basic structure for docs

* fixed lint
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant