Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

RoboCop001

macrumors 68000
Original poster
Oct 4, 2005
1,576
454
Toronto, Canada
I've got a shortcut that checks the weather through Carrot weather and compiles some text for Siri to say. It works perfectly fine when I run it through Shortcuts, but when I run it through Siri, there seems to be a glitch with one of the If statements. I contacted the developer about it a while ago and they said it's a Siri/Shortcuts bug.

Does anyone else have experience with this bug? Any ideas for a fix?

Here's the Shortcut workflow:

First it gets the weather data and creates the first portion of the sentence that I want Siri to speak. Then it checks the Precipitation Chance variable. If it's greater than 5%, it'll check if the Precipitation Amount variable contains "mm" (indicative of rain) and adds some more text for Siri to speak that basically says "There is a X% chance of Xmm of rain." Otherwise, if it doesn't contain "mm" I have it default to snow like this: "There is a X% chance of Xcm of snow." Then Siri speaks the entire weather text.

So, this works perfectly fine in Shortcuts. However, when I invoke it through Siri, it always goes to the snow branch of the IF statement. But it'll be slightly glitched, like this: "There is a 94% chance of cm of snow." So, the percentage is correct but the amount will actually be blank. And for some reason, it isn't able to detect if the text contains "mm" which is why it goes to the snow text.

This has been happening ever since Shortcuts launched. Any ideas?

An example of proper output would be this (I just ran this via Shortcuts):
It's currently 19 ° and feels like 19 °, with a high of 20 ° and a low of 16 °. There is a 93 percent chance of 1.1mm of rain.

But through Siri it says:
It's currently 19 ° and feels like 19 °, with a high of 20 ° and a low of 16 °. There is a 93 percent chance of cm of snow.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.