[App][Pro] football-data.org - automations based on football matches!

Localization was missing and set fixed to Dutch. I’ve added localization for a few languages with English as fallback. This also changes (U) which stands for Uit to (A) as in Away.

Update is live in the app store.

The results at the end was 1 Iraq and 4 to Norway, but the results ended at 1 Irag and 3 Norway. Is that just the API being slow or something you can fix?

Seeing that it was a late own goal, I guess the code stopped updating the scores after the state is set to finished. I’ll make it update once after the final whistle too! Update will be ready in a few minutes.

Fix is live. I also improved score registration for VAR decisions. Turned out if a goals was denied after it was registered in the app, that didn’t get corrected.

Hi there,

I’ve set up the flow for when The Netherlands scores during the world cup. The only thing that I’ve noticed, it takes around 5 to 10 min to register a goal. So my automation go off way too late.

Is this a bug or problem on my end?

Hi,

As I am kinda new to the Homey experience and coding in general. I am curious how you got you cards showing al the indicators. Status, score and next game. As I do not have that many variables as you have.

Hi Marc, they did for me by default actually. As long as the API has that data it should be able to provide that. If not shoot @pendojoshua a dm or post here while mentioning him. He has been very helpful while I had some isses with the app.

For the goal notification, I think the app should polls every x minute at least.
I have setup multiple weekend notifiers, that run on 12:00 , 12:01 up to 12:06 (for my fav clubs)
Have not played with Goal notifications myself so really cant tell what’s going on.

Keep in mind though the footbal data API has some limits with the free tier as the free API tier allows 10 requests per minute. But I doubt that could be an issue.

The code polls every 30 seconds once a match is live. With a free account we’re bound by whatever delay football-data.org decides to use. Their free tier has delayed scores, not live scores, as per their pricing page. Unfortunately.

AFAIK there isn’t any provider with free-tier livescores. If there’s one available I’d be happy to look if I can integrate it as a second provider. As long as it’s free forever and not just a worldcup promotion.

For just the worldcup I’d say just go for a one-month € 12 upgrade to enjoy the real time updates. If you do, let me know. I’ll build a setting just for controlling the polling interval manually. Free+livescores allows 20 polls per minuten. Taking some background activity into account that means we should be able to get you near 5-second interval updates for live matches.

Thanks for the answer! I’ll let you know whenever I’m going to pay for a subscription during the worldcup.

Also what about the indicators and tags? I’m missing the tags and indicators as I only have 3 of em, instead of al for example Patrick has.

That’s Homey behaviour in their webapp. On top you have the option to display devices in a list, small tiles and large tiles. Only when selecting the large tiles it displays the additional info per card:

That’s fixed now! Sorry for asking simple questions, but as I mentioned, I’m new to Homey. I also found the issue with the extra tags on flows.

Thank you very much!