As a dayly user of matermost I want this Skill to have access to my mattermost channels so that I can achieve get notified when my name or my favorite words got mentioned. Maybe also have mycroft to readout the post if I ask for that.
What third party services, data sets or platforms will the Skill interact with?
Mattermost API - https://api.mattermost.com/
Are there similar Mycroft Skills already?
Dont think so.
What will the user Speak to trigger the Skill?
âStart monitoring mattermostâ
âHas my name been mentioned on mattermost for the last 2 hoursâ
Maybe settings on home.mycroft.at to have time for monitoring and not monitoring, sÄ mycroft dosnt monitor duiring night, or at least dosnt say it when my name is mentioned unles I ask.
What phrases will Mycroft Speak?
âI am now monitoring your mattermost channelsâ
âYou have 3 mentions on mattermost. One in Picroft channel and 2 in random channel. Do you want me to read them out?â
âYour naem is mentioned on mattermost picroft channelâ
âKathy-mycroft mentioned picroft in the mattermost general channelâ
What Skill Settings will this Skill need to store?
Username and passowrd to mattermost.
Other comments?
One could think that replying by voice to mattermost post were an idea, but I dont think that. It is a good wy to show what mycroft can do, but actual use I dont think mattermost conversations is wel suted for voice.
That looks great. As soon as I get time i will look more at it and try it to. And if I get some extra ideas I will make PR to it it is soooo fun making skills
Pushed another update. Now all basic functionality is working:
Check if there are unread messages
List of all channels with unread messages
Read out all unread messages
Of course there is some more work necessary, like using nicer date format, mark messages as read or implement automatic monitoring that notifies user when there are new messagesâŠ
Automated/scheduled updates with optional notification for new messages
Utterance âstopâ will be honored while reading channel list and new messages
Ideas for future enhancements:
Expose URL to skill configuration (currently the Mattermost for Mycroft / chat.mycroft.ai is hardcoded). This will make this skill a universal client for any Mattermost site
Login with username/password (instead of access token)
Read new (or last X messages) from a specific channel
I realy like what you made - and impresive how âeasyâ and fast it is to make a skill.
One Idea that could be made is to do STT in private channels, so it would be easy to reply on private messages. It could be made t do that in public channels as well, but I dont think that is a god idea. But in private conversations it could make sense.
If not for actual use, thn to show what Mycroft actuly is capable of.
It looks sooooo good. but I cant use login adn password he just says
Mattermost skill not initialised. Check configuration on mycroft.home.ai
but I did enter my email and password
Did it say âMattermost error âŠâ before that (during initialization)?
Which intent did you trigger?
Just want to make sure:
You have entered your username in the same case and spelling as it appears in chat.mycroft.ai under âAccount settingsâ?
Passwords are different for home, community and chat - did you use the correct one for Mattermost (chat.mycroft.ai)?
I have received a personal access token for developing this skill. Maybe that is combined with some special permissions - that you donât have. Looping @KathyReid - can you help us here?
Yes, its already in there (on_websettings_changed)- but obviously not working correctly⊠will look into it with all the other bugs you findnand reportâŠ
According to the docs on skill setting the settings.json containing the configuration from home.mycroft.ai is stored with the first shutdown (e.g. Restart of mycroft-skill service) of the skill.
So its not a bug but a feature