Jump to content

How do I make a Python Apple Watch app (made with Kivy) to communicate to another Python app (running in Windows) via BT?

38034580

I made an app in Python to control my computer's functions. How do I make an Apple Watch send commands to the Windows app thus control the PC?

 

Link to comment
Share on other sites

Link to post
Share on other sites

You can't. Apple Watch apps are written in Swift UI (or WatchKit if you hate all things fun). Bluetooth communication can only be done from a watch to an iPhone for data. 

 

You could make an Apple Watch app which called out to some Python webserver running whereever you like. But you can't pair an Apple Watch with anything other than an iPhone.

Link to comment
Share on other sites

Link to post
Share on other sites

Then how can I make the watch send commands to iPhone which will then forward it to the computer?

Link to comment
Share on other sites

Link to post
Share on other sites

You'll need to write your watch app as a companion to an iPhone app. That'll open up communication options using Watch Connectivity

Once the data has been received by the phone app, you can do whatever you want with it. 

 

But if you're just going to forward it to some web endpoint, you're better off calling the web API directly from the watch. Whatever your data model is, just pack it up in a nice json file and send it to the Windows PC via https. 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×