-
Notifications
You must be signed in to change notification settings - Fork 47
Home
Vignesh edited this page Oct 15, 2020
·
78 revisions
I created a virtual bot to act like Jarvis. With the current state of things, Jarvis can recognize and respond to keywords like,
- stop/turn off alarm - Shows the list of alarms on screen and deletes the one requested
- alarm/wake me - Sets an alarm with the desired time, AM or PM is mandatory
- distance/far/miles - Gets you the distance between two places or distance from your location to a particular place.
- create a new database - Creates a database named tasks.db for TO-DO
- add a new task - Adds a new item and category as a task in your todo (Also tells if you it is a duplicate)
- remove/delete items - Removes existing tasks from DB.
- what's my plan - Gets all the items in tasks table.
- delete database - Deletes the entire database.
- play/songs/music - Scans your Music folder for .mp3 and plays them (uses Windows Media Player by default for Windows OS)
- email(s)/mail(s) - Looks for unread emails in your gmail account and speaks the sender and subject line alone.
- chat bot - Initiates chatter bot (currently doesn't support Windows OS)
- locate - Locates your iPhone and also provides options to ring the phone and enable lost mode.
- location - Gets your current location
- weather/temperature - Gets the weather information for your location (tracks location using your IP)
- news/latest - Gets the news update from fox news (news source can be changed in the news() function)
- investment/stock/share(s)/portfolio - Gets your investment details using Robinhood api (Refer notes for setup)
- system configuration - Gets your system hard drive
- wikipedia/get info/search/fact(s)/information - Gets facts from Wikipedia using wiki api
- website/webpage/.com - Opens up the webpage you want in google chrome
- launch/apps/app - Opens any installed app
- today's date/current date - Gets the current date
- current time - Gets the current time
- report/good morning - Speaks the current date, time, weather and latest news.
- repeat - Repeats what ever it hears.
-
api_key- OpenWeatherMap API key -
news_api- News api key -
user,pass,qr- Robinhood Username (user), Password (pass) and QR (qr) code -
icloud_user,icloud_pass- iCloud credentials. Addrecovery=<RECOVERY_PHONE_NUMBER>if you like to activate theft mode. -
gmail_user,gmail_pass- Gmail credentials. Requires access to less secure apps or app specific access can also be enabled.
Please note that these environment variables are required only if you need the mentioned features. If not Jarvis can work with less features.
- To run Jarvis on a Windows OS, make sure
pip3command works in yourcmd - With current state of things, Jarvis lacks chatbot functionality due to version conflicts in requirements.
- If you want Jarvis to speak the weather info, you need an api key from OpenWeatherMap
- If you want Jarvis to speak today's news, you need an api key from News API
- If you want Jarvis to speak your investment details, you need to have a Robinhood account and follow the below steps for authentication purpose.
- Login to your Robinhood Web App.
- Go to Account -> Settings or click me
- Turn on Two-Factor Authentication.
- Select “Authentication App”
- Click “Can’t Scan It?”, and copy the 16-character QR code.
The API keys can be generated for free once you sign up except for Robinhood, which you know how it works. If not probably you shouldn't be using it.