Push events to mycroft

Hello,

I am discovering Mycroft and I wanted to know if it was possible to launch a push a notification to mycroft.

To make me clear here an example:

I want a background service/skill to fetch every x minutes some information and if I fetch any specific information I want Mycroft to tell it to me.
Is this possible to do so ?
Thank you

Yes it is,

You can use a skill with a scheduled event to check your service for new information at a fixed interval.

You can also have your service connect to the Mycroft messagebus and inject speech commands.

1 Like

Hi Babbel,

It sounds like you’re after the schedule_repeating_event method. There’s technical documentation on that here:
https://mycroft-core.readthedocs.io/en/latest/source/mycroft.html#mycroft.MycroftSkill.schedule_repeating_event

Let us know how it goes :slight_smile:

1 Like

Thank you for your help. I will have a look this week. Cheers

1 Like