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

Talk to the bot in order to CRUD sensors #12

Open
alenia opened this issue Sep 15, 2020 · 0 comments
Open

Talk to the bot in order to CRUD sensors #12

alenia opened this issue Sep 15, 2020 · 0 comments

Comments

@alenia
Copy link
Owner

alenia commented Sep 15, 2020

This should also ideally change the channel topic

Comands:

  • monitor [SensorName] AQI 40-50 "OK I'll let you know if the [SensorName] AQI drops below 40 or above 50"
  • add sensor NAME ID (defaults to purpleair)
  • remove sensor NAME
  • reload re-initializes all sensors from the JSON

Eventually have conversations like:

  • add sensor "By ID or by zip code?" ID "What is the sensor ID?" 12345 "What do you want to call the sensor?" name "Alright we're now set up in this channel to read from sensor 12345" (changes channel topic)
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