matt@isfeeling.social
matt@isfeeling.social

Screw it, I made an app this afternoon.

It solves a very specific problem I have. I want to weigh myself and record the weight in Apple Health. That’s it, it literally needs nothing else. Some apps are fine for this, but I figured how hard could it be?

Turns out, it’s like 100 lines of code to do this 😅

Add some styling and error handling and I might just release this lil’ guy.

#BuildInPublic or whatever 🤗

|
Embed
Progress spinner
donkey@mastodon.nz
donkey@mastodon.nz

@matt I have a “Log My Weight” shortcut for exactly this purpose.

|
Embed
Progress spinner
In reply to
jarrod
jarrod

@donkey @matt That’s what my mind jumped to, too. But as a pet project to learn making an app, it’s pretty cool Matt could code this for himself!

|
Embed
Progress spinner
donkey@mastodon.nz
donkey@mastodon.nz

@jarrod @matt
@mako oh, absolutely - wasn’t meaning to belittle the project but can see how it came across that way. 😊

|
Embed
Progress spinner
kaplag@mastodon.social
kaplag@mastodon.social

@donkey @matt Really cool to have a project and hopefully learn.

Personally I find Siri to be super good at this task. Starting in iOS 17.2 Siri could read and write health data and it works great for logging weight straight from the Lock Screen.

|
Embed
Progress spinner
donkey@mastodon.nz
donkey@mastodon.nz

@kaplag @matt This is interesting that it came in 17. I’d noticed I’d gained the ability to “log my 8am medications as taken” when trying out the iOS 18 betas but it went away when 18.2 came out. That’s when I reloaded it was actually that I’d switched back to English NZ as my region when 18.2 hit. Siri can’t do this health coolness when in English NZ! 🤷🏽‍♂️… (1/2)

|
Embed
Progress spinner
donkey@mastodon.nz
donkey@mastodon.nz

I’m back set to English US again now and just putting up with the incorrectly formatted short dates in places that don’t check beyond the region.. (2/2)

|
Embed
Progress spinner
gruber@mastodon.social
gruber@mastodon.social

@matt My shortcut for this:

|
Embed
Progress spinner
matt@isfeeling.social
matt@isfeeling.social

@gruber I’ll admit that’s easier…🤣

|
Embed
Progress spinner
matt@isfeeling.social
matt@isfeeling.social

@mako @jarrod @donkey You guys nailed it, I have the coding bug now.

|
Embed
Progress spinner
matt@isfeeling.social
matt@isfeeling.social

@kaplag @donkey huh, that’s really cool, I had no idea!

|
Embed
Progress spinner
gruber@mastodon.social
gruber@mastodon.social

@matt I almost didn’t post it because I didn’t want to imply you shouldn’t have made the app. Sometimes a “Hello world” scope app is fun to build!

|
Embed
Progress spinner
matt@isfeeling.social
matt@isfeeling.social

@gruber For sure, you gotta start somewhere. There’s few things quite as satisfying as writing code that actually does what you want, I get why developers dig it.

|
Embed
Progress spinner
dmoren@zeppelin.flights
dmoren@zeppelin.flights

@gruber @matt I also made a shortcut for this at one point but then Apple added the ability for you to do this via Siri and now I just use that.

|
Embed
Progress spinner
sajal24x7@mastodon.social
sajal24x7@mastodon.social

@dmoren @gruber @matt that’s news to me. I still use the shortcut I had created for logging weight. I will try the Siri way today!

|
Embed
Progress spinner
stevegio@gardenstate.social
stevegio@gardenstate.social

@matt I use shortcuts for this kind of data entry. I used to use specialized apps for tracking my blood glucose but my shortcut works great, integrates with Health, I can add features if I need to, and it’s free. Nothing like keeping things simple.

|
Embed
Progress spinner
DanMorgan@vmst.io
DanMorgan@vmst.io

@dmoren @gruber @matt
I created a shortcut to log my weight, blood sugar and BP in succession. Age 50+ so I’m recording all three every Saturday morning.

|
Embed
Progress spinner
dan613@ottawa.place
dan613@ottawa.place

@sajal24x7 @dmoren @gruber @matt There's a formula for body fat ratio that derives from your waist to height ratio (not weight) and is far more accurate than BMI. You can add both figures to Apple Health, but it won't do the calculation. I should just make a shortcut. Note that the formula is slightly different for men and women.

Relative Fat Mass:
64 - (20 x waist / height) : Men
76 - (20 x waist / height) : Women

Waist measured at belly button (umbilical scar).

ncbi.nlm.nih.gov/pmc/articles/

|
Embed
Progress spinner
amxmln@mastodon.design
amxmln@mastodon.design

@gruber I’ve got one of those too! Really handy. 😊 Unfortunately, mine doesn’t automatically focus the input, which is annoying. Does yours? 🤔

|
Embed
Progress spinner
piyuv@techhub.social
piyuv@techhub.social

@gruber @matt my version has body fat percentage too, since my own scale logs it directly to Apple health but the one in my parents only displays it:

|
Embed
Progress spinner
gruber@mastodon.social
gruber@mastodon.social

@amxmln It does for me, running it from a Shortcuts Home Screen widget.

|
Embed
Progress spinner
amxmln@mastodon.design
amxmln@mastodon.design

@gruber might be that first step you’ve set up there. I have to try that, I only had the second one. 😊 Good to know it works for you though. 👍

|
Embed
Progress spinner
jasonclarke@mastodon.social
jasonclarke@mastodon.social

@matt Love it! I'd use it.

|
Embed
Progress spinner
lari@typo.social
lari@typo.social

@dmoren @gruber @matt I have a scale that does this automatically (Withings)

|
Embed
Progress spinner
tvwonder@mastodon.social
tvwonder@mastodon.social

@gruber @matt Chiming in here just for fun. I also use a Shortcut that I downloaded from somewhere years ago (could be the one from the gallery 🤷🏼‍♂️) and I think I added the option to open the Health app because sometimes I want to compare recent samples. I wish it could take me directly to the weight section of Health, though.

|
Embed
Progress spinner