brad999 / nikita

Nikita voice computing platform
MIT License
1 stars 0 forks source link

Offline Mode #24

Open brad999 opened 9 years ago

brad999 commented 9 years ago

Automatically change to use local STT client when disconnected from the internet. Automatically reconnect when internet connection is reestablished.

Alert when disconnected from the internet.

brad999 commented 9 years ago
  1. "notifier" module to detect when internet goes down, notifies, and sets "offline" flag
  2. Switch to local STT and TTS engines when "offline" flag is on
  3. Modules that require an internet connection check offline flag and notify that functionality is unavailable until internet is back
  4. Use same "notify" module to check if internet connection has come back when the "offline" flag is on. Once back up, notify that internet is back and switch "offline" flag off
brad999 commented 9 years ago

Can use check_network_connection in diagnose.py