Question: I am doing a project where I am tracking my sleep with a fitbit. Basically, when a person falls asleep, a tv is going to

I am doing a project where I am tracking my sleep with a fitbit. Basically, when a person falls asleep, a tv is going to turn off (if its on). The tv is going to recieve a signal from an arduino. The arduino is going to recieve a command from a raspberry pi to execute. I was able to get the data from the fitbit using python, a variable used in the output window of the python code is minutesOfSleep = 10( it tells me how many minutes the person has fallen sleep).

I do now know how to create a python code that will send a signal to the arduino when minuteOfSleep > 0. I am new to python and i have no idea how to start. Please help

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!