this post was submitted on 25 Jun 2023
55 points (100.0% liked)
Free and Open Source Software
17932 readers
3 users here now
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It looks like Pinetime lets you customize the watch face with Rust, but is it touchscreen? Am I right in seeing that it only runs the update logic once every minute?
The rust part is kinda not true... You can only really use wasp os and infinitime, and neither of them support rust watchfaces. And yes, it is in fact touchscreen.
The Pinetime is touchscreen.
What do you mean by "only runs the update logic once a minute"? What update logic are you talking about?
https://lupyuen.github.io/pinetime-rust-mynewt/articles/watchface
Section 1, step 2 states "update: To update the Watch Face with the current date and time. This is called every minute by the PineTime Firmware to refresh our Watch Face."
Good to know that it's touch screen. I would love if I could push a button on this watch and run a POST request to my server. Do you happen to know of that's possible?
It might be possible to do that, but the Pinetime can only use Bluetooth, so you'd need to write something for both the Pinetime and the device is connected to.
Yeah, I was imagining that it was connected to my phone, but I'm not sure how to setup my phone such that it responds to messages like that - I've never tried sending my phone bluetooth messages and I don't know if that would be possible (to go watch to phone via BT and phone to self-hosted server via mobile network). Can I have an app always listening for messages over BT? Hopefully I don't need a PiZero W in my pocket: watch to Pi via BT as a relay, Pi to phone via Wifi hotspot, and phone to self-hosted server via mobile network. Sounds like a lot of work, lol. I'll think about applications for it. They'd have to be pretty awesome.
There are applications that can talk to the Pinetime, maybe you can modify one of them to understand a custom Bluetooth message?