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

Observ state seems to be lost after a while #1

Closed
balu- opened this issue Feb 20, 2022 · 3 comments
Closed

Observ state seems to be lost after a while #1

balu- opened this issue Feb 20, 2022 · 3 comments

Comments

@balu-
Copy link
Owner

balu- commented Feb 20, 2022

After some time the airpurifier seems to not send any more updates.

@balu-
Copy link
Owner Author

balu- commented Feb 20, 2022

I should take a look at betaboon/philips-airpurifier-coap#57

@balu-
Copy link
Owner Author

balu- commented Feb 20, 2022

https://datatracker.ietf.org/doc/html/rfc7641#section-3.3.1

   To make sure it has a current representation and/or to re-register
   its interest in a resource, a client MAY issue a new GET request with
   the same token as the original at any time.  All options MUST be
   identical to those in the original request except for the set of ETag
   Options.  It is RECOMMENDED that the client does not issue the
   request while it still has a fresh notification/response for the
   resource in its cache.  Additionally, the client SHOULD at least wait
   for a random amount of time between 5 and 15 seconds after Max-Age
   expired to reduce collisions with other clients.

@balu-
Copy link
Owner Author

balu- commented Mar 4, 2022

fixed by #3958c2b711411a908b4b4a87b73338b7355200da
and changes in underlying lib

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