[APP][Pro] Jura Connect - Local control for Jura coffee machines

I tested a bit more, and the script runs does what it is supposed to, except when a status on the machine (beans, water, garbage) prevents it. The latter happens quite a lot, obviously.

I still get the weird 60000 ms error occasionally, today i managed to grab a log immediately after (8ca3d5ba-4f19-450a-8ce2-a40ed88ce593), and even a screenshot. Perhaps this is not related to the app, but some sort of limit in Homey flows - it seems to happen 60 secs into the flow? The flow finished without issue and made 3 espressos, though:

Thanks, the log was really helpful and you are right on the Homey flows part!

About the 60000 ms error: I’m fairly sure it isn’t the app. In your log the app reports no error at all around your brews this morning: it connects at 07:29, sees the machine heat up and rinse, and then three busy periods, one for each espresso. The error comes exactly 60 seconds into the flow, and Homey seems to stop waiting for a single flow or script card after 60 seconds, even though it keeps running in the background. If your script brews three espressos and waits for each one, the whole run takes 2 to 3 minutes, so Homey reports a timeout while the script still finishes. If you split it up, for example one brew per card with a delay card in between, no single card runs longer than a minute and the error should go away.

About the machine refusing because of beans, water or the grounds: the app has condition cards you can put in front of the brew, like “Beans alarm isn’t on”, “Tray isn’t full” (that one also covers a full grounds container) and “The water alarm is off”. If that doesn’t work for you, could you explain why? Feedback is welcome!

One more thing I noticed: overnight, while the machine was off, the app tried to reach it every 10 seconds and logged thousands of failed attempts. The next version (0.13.0) handles that much more calmly, shows a clear “machine appears to be off” message, and makes sure a brew command is never sent late or twice. I’m testing it on my own machine now and will let you know when there’s a test version.