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

Garbage messages #5

Open
s3rvant opened this issue May 24, 2019 · 1 comment
Open

Garbage messages #5

s3rvant opened this issue May 24, 2019 · 1 comment

Comments

@s3rvant
Copy link

s3rvant commented May 24, 2019

Currently messages are only sent when they differ from the previous message. This means that if I want to know when my window opens I need to send another toot to change the message property or else I won't get notified next time the window opens.

Would prefer that after sending the toot the addon property resets to some default so that every time the addon is called webthings will detect a changed property and trigger the toot.

@rzr
Copy link
Owner

rzr commented May 24, 2019

Yes I made this to avoid flooding, you could eventually workaround this with timestamp date...

I assume you're using this module in @mozillaiot gateway ?

Since there is an Alert in schema maybe it could be more appropriate, also this could be aligned to other adapters...

Meanwhile may I suggest to make this feature optional, I will review your patches ;)

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

2 participants