Siri Controls Your PC Through Python And Gmail

Voice-based assistants are becoming more common on devices these days. Siri is known for being particularly good at responding to natural language and snarky responses. In comparison, Google’s Assistant is only capable of the most obvious commands, and this writer isn’t even sure Microsoft’s Cortana can understand English at all. So it makes sense then, if you want voice control for your PC, to choose Siri as your weapon of choice. [Sanjeet] is here to help, enabling Siri to control a PC through Python.

The first step is hooking up the iPhone’s Notes app to a Gmail account. [Sanjeet] suggests using a separate account for security reasons, as you’ll need to place the username and password in a Python script. The Python script checks the Gmail account every second, looking for new Notes from the iPhone. Then, it’s as simple as telling Siri to make a Note (for example, “Siri, Note shutdown”) and the Python script can then pick up the command, and act accordingly.

It’s a quick and easy way to get Siri to do your bidding. There’s other fancy ways to do it, too — like capturing Siri’s WiFi data on your home network.

8 thoughts on “Siri Controls Your PC Through Python And Gmail

  1. > and this writer isn’t even sure Microsoft’s Cortana can understand English at all.
    Are you serious? We all hate Microsoft but Cortana is its best product, and way more usable than Siri.

  2. The last link, about proxying the wifi traffic, hasn’t worked since iOS 7. Apple changed some things that make it impossible to proxy, or at least very difficult.

  3. Or you can read the sqlite database of the Notes app directly instead of using the gmail trick (~/Library/Containers/com.apple.Notes/Data/Library/Notes)

  4. What about using Telegram instead email for message passing? This should avoid to query constantly your email. Do you remember the term “busy waiting”?

Leave a Reply to codifiesCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.