Skip to content

Created a MS-BOT to attend a Ms-Teams lecture, achieving an 85-90% success to handle all the Exception of client integration.

License

Notifications You must be signed in to change notification settings

dharmrajchauhan/MS-BOT

Repository files navigation

MICROSOFT TEAMS AUTOMATION

Microsoft Teams Automation systeam built with Selenium using Chromedriver. Sqlite3 and Pandas use for Data Mangemant and PyQt5 use for convert script into a beautiful GUI.


Python PyQt5 selenium anaconda bug pandas sqlite

relase contib LinkedIn


😇 Motivation

In the present scenario, schools-colleges are closed due to Covid-19. That's why studies are going on online platforms like ZOOM, GMEET, MS-TEAMS, CISCO, etc. So sometimes maybe we busy in our tight schedule, but attending the meeting is so important. Also sometimes students are sleeping in the lectures and your "meeting" is continuously run inside your phone or pc. And when you wake up and see, you loosed your charge as well as your mobile data and it's totally worst situation.


⌛ Project Demo

🎥 YouTube Demo Link

💻 Software Link


⚠️ TechStack/framework used


😴 Working

1. For MS-TEAM link

1. Provide teams URL and START-TIME, END-TIME(!=complusory)
2. Then it will join the meet at your given time, and find if student's are less thn 10 thn it will leave the class.
3. Again after 10 minutes, they will join the class and check students are more thn previous one. if yes thn stay in the meet and if no thn left the meeting.
4. And continuously after certain amount of time bot will count the student and if they notice there are not more thn 5 thn leave it.

2. For MS-TEAM daily lecture

1. Create TimeTable and LEC_NAME dataset. (How to use it is written below)
2. After creating dataset they grab the data from the table and join in the lec at given time.
3. Same process apply here. Here also they check if students are more or less. for joining 10+ or removing 10-
4. Its fully automatic Process which handle every situations.
5. Also don't worry about the mike and webcam, coz i use shweta_checker which is 101% accurate.

😷 How to Use

1. For MS-TEAM link

  • First step is you need to enter your Id'Pass in The GUI.

    • For creating USER_ID_PASS database.
  • Second step is provide your meeting URL and start and end time.

    • So at the "Start_Time" selenium will commanding to the chromedriver login into user account and attend their meeting in given time and left at End_Time.
    • If you are not provide ending time then, it will automatically detect the presence of student and leave the meeting by itself.

2. For TEAMS daily lecture

  • If you are not store your Id'Pass then do it first.

  • Provide your COLLEGE/SCHOOL time-table in GUI and press CONFIRM to store data.

  • Third most important work is provide your team's lecture name infront of your subject name.

    • Don't worry, i explain.
    • Let's consider for a while that you are in college. Due to somework you have not time to attend lecture, but it's necessary to attend lecture on Monday. Assume your time-table it's look like this.

Day/Time Monday Tuesday wednesday
10:30-11:30 AI DIVP IOT-LAB
11:30-12:30 IOT IOT DIVP-LAB

AI(Artificial Intelligence) start at 10:30 and IOT(Internet of things) start at 11:30. Note:

It is not necessary to provide subject name same as written in your timetable. Set name as your wish. If you have one subject in which labs/pracs are come and for that your sir make a different class so pls provide diff name like as i proide IOT (For leacture) and IOT-LAB (For Iot'lab). But if lab and lecture are happen in the one class then it not necessary.

So, in my GUI's "TIMETABLE" menu you write your time-table like this.



Let's clear your doubt, what's mean of class and what is lec/lab/pracs..

CLASS_NAME LEC_NAME

In the first column if you see, there are total 6 class(WC, AI, DIVP, DSP, IOT, IML). But if i click on "2021_EC_7_A_3171004_WC" then it have 6 different sub section.First sub section is "general" in which all general types activities are done. Then after some sub section are for different bacthes(A1,A2,A3,A4), if you are from A1 batch then you need to join in "BATCH_A1". And last sub section is "LECTURE". In which daily lecture are done.

I know i am create so much confusion..
  • In simple word, in the "LECTURE NAME" write a lecture name which you write in previous "TIMETABLE" table.

    • Assume the lecture name is "WC".
  • In the "MS-SUB NAME" write a class name.

    • For "WC" it's : "2021_ec_7_a_3171104_WC"(#write all in small latter)
  • In the "MS-LEC NAME" write a class's sub-class(leb/lec/pracs) name.

    • For "WC"(lecture) it is "lecture"
    • For "WC-LAB"(lab) it is "batch_a1"
I put this all information in GUI's info section. so don't worry. If you still have doubt, then be patient i upload the video soon....


About

Created a MS-BOT to attend a Ms-Teams lecture, achieving an 85-90% success to handle all the Exception of client integration.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published