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

analysis: notification #26

Closed
11 of 28 tasks
maizy opened this issue Sep 5, 2016 · 2 comments
Closed
11 of 28 tasks

analysis: notification #26

maizy opened this issue Sep 5, 2016 · 2 comments
Milestone

Comments

@maizy
Copy link
Owner

maizy commented Sep 5, 2016

user story: send slack notification if co2 level increased for N minutes

#38


  • config
    • config structure
      • by device config
      • separate actions config
    • config parsing (hocon only)
      • refresh rate
      • actions
      • device watchers
  • device description
    • read from config
    • display in webapp
  • influxdb client
  • buffer
    • data request using an influxdb client with data mapping
    • co2 - ppm
    • temp - celsius
    • availability - based on co2 / temp values
    • request window size calculation
      • first run value (now - X seconds, where X = max(all watchers requirements))
      • based on the last requested date
      • small shift to past (Y seconds)
      • upper limit (equals to start value ❓ )
      • end value = now (or now - Z seconds ❓ )
  • watchers (event publishers)
    • co2 level
    • availability
    • helper: window size + notify after + resolve after
  • events
    • available
    • unavailable
    • co2 level changed
    • temp
    • detected watched events by event uid
  • actions (events subscribers)
    • cli
    • slack
      • configs
    • in memory log + web api (json + plain text)
@maizy maizy modified the milestone: 0.3.1 Dec 6, 2016
@maxim-yudin
Copy link

+1

@maizy maizy moved this from todo to in progress in Ambient7 - 0.4 Mar 9, 2017
@maizy maizy changed the title mt8057 agent: slack notification analysis: notification Mar 9, 2017
maizy added a commit that referenced this issue Mar 21, 2017
maizy added a commit that referenced this issue Mar 24, 2017
maizy added a commit that referenced this issue Mar 28, 2017
maizy added a commit that referenced this issue Mar 29, 2017
maizy added a commit that referenced this issue Mar 30, 2017
maizy added a commit that referenced this issue Mar 30, 2017
maizy added a commit that referenced this issue Mar 30, 2017
maizy added a commit that referenced this issue Mar 30, 2017
maizy added a commit that referenced this issue Mar 31, 2017
maizy added a commit that referenced this issue Apr 3, 2017
maizy added a commit that referenced this issue Apr 5, 2017
maizy added a commit that referenced this issue Apr 11, 2017
maizy added a commit that referenced this issue Apr 11, 2017
maizy added a commit that referenced this issue Apr 11, 2017
maizy added a commit that referenced this issue Apr 11, 2017
maizy added a commit that referenced this issue Apr 11, 2017
maizy added a commit that referenced this issue Apr 11, 2017
maizy added a commit that referenced this issue Apr 11, 2017
maizy added a commit that referenced this issue Apr 11, 2017
maizy added a commit that referenced this issue Apr 11, 2017
maizy added a commit that referenced this issue Apr 20, 2017
maizy added a commit that referenced this issue Apr 20, 2017
maizy added a commit that referenced this issue Apr 20, 2017
@maizy
Copy link
Owner Author

maizy commented Sep 25, 2017

removed because of notification support in grafana 4+

@maizy maizy closed this as completed Sep 25, 2017
@maizy maizy moved this from in progress to done in Ambient7 - 0.4 Sep 27, 2017
@maizy maizy moved this from done to Won't fix in Ambient7 - 0.4 Sep 27, 2017
maizy added a commit that referenced this issue Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants