Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Apple Watch support
-
Has anyone developed anything to support the Apple Watch from Pythonista? Is this possible? Workflow has a watch complication so I suppose it might be possible to write a workflow which gets input runs a pythonista script and returns output to the watch. What would it take to do this without Workflow? While I'm dreaming, if Pythonista had a watch app that it could talk to, it could conceivably populate a face with whatever a user wanted. AFAIK such a capability is absent form the Apple Watch.
-
That would be fantastic. I’m also looking for a way to display custom information on the watch face.
-
Has anyone figured out a way to connect to the Apple Watch yet? I’ve been trying to import the “SRDevice” class from the Apple SDK, but it seems Pythonista doesn’t have access to it. I wanted to create a battery monitor system that alerts you when your Apple Watch is charged.
-
@austingreisman, SensorKit availability says iOS 14+. Do you have the beta?
-
How have you "imported" SRDevice?
You beed to know the sensorkit framework location, then ought to load it
SensorKit = NSBundle.bundleWithPath_('/System/Library/Frameworks/SensorKit.framework')
SensorKit.load()(I'm guessing the path)
Then, you should be able to use
ObjCClass('SRDevice')
-
@JonB, is that not the same as:
objc_util.load_framework('SensorKit')
-
Yeah you are probably right -- I was looking back through very old beta forum posts.