Page 1 of 2

Mycroft for PI

Posted: Sunday 21 May 2017 20:20
by EdddieN
Hi,

Does anyone have experience with Mycroft? https://github.com/MycroftAI/enclosure-picroft#readme
Sounds an interesting project, but not clear how this could integrate similarly to Alexa...

Re: Mycroft for PI

Posted: Friday 26 January 2018 16:22
by niki_lauda
Did you try it? I am also interested

Re: Mycroft for PI

Posted: Tuesday 10 July 2018 22:11
by EdddieN
Not yet, trying to find time to test it, but today I found this: https://github.com/treussart/domoticz_skill

Re: Mycroft for PI

Posted: Saturday 14 July 2018 15:44
by EdddieN
Bought myself a mark I mycroft, will update shortly my experience with it... I recently tried Google home and totally putted off by its luck of compatibility with HA bridge. I like Alexa but I like even better open source! :D
mycroftfront.png
mycroftfront.png (149.15 KiB) Viewed 4352 times

Re: Mycroft for PI

Posted: Sunday 12 August 2018 23:21
by Ittiz
Anyone have luck with this project? I've been looking for a digital assistant that doesn't beam all the conversations to some server somewhere.

Re: Mycroft for PI

Posted: Monday 13 August 2018 10:45
by EdddieN
Well, I had a play with it and there's a plugin for Hue so maybe using HA-bridge may trick it.

My concern with MyCroft is that is very slow and often does not understand. I guess it just needs time...

Re: Mycroft for PI

Posted: Tuesday 14 August 2018 1:23
by Ittiz
My old windows server burnt up so I was thinking of building new multi-cpu Linux based system for the purpose. I think it would be substantially faster than the PI that Mycroft uses for their base device. My main concern would be how cumbersome it is to use and how good it is at understanding English. Also of course ability to be integrated with Domoticz, it's open source though so I could potentially add that feature myself.

Re: Mycroft for PI

Posted: Tuesday 14 August 2018 9:51
by EdddieN
I would be interested on your results... even to compare processing sintax speed

Re: Mycroft for PI

Posted: Tuesday 14 August 2018 23:29
by blauwebuis
Have a look at Snips. It's commands go via MQTT.

Re: Mycroft for PI

Posted: Tuesday 28 August 2018 23:10
by EdddieN
snips? Did a quick search but only grass cutters came out :D

Re: Mycroft for PI

Posted: Sunday 30 September 2018 21:27
by EdddieN
Anyone understands this? https://github.com/Geeked-Out-Solutions ... t-examples

I like to push test to Mycroft from Domoticz but the above seems to need some python installed and do it over a server.

Also found this for languages: https://jarbasai.github.io//posts/2017/09/language/ which seems to interface well with other HA packages. Just thinking about alternatives to Alexa and Google that could support different languages.

Re: Mycroft for PI

Posted: Thursday 18 October 2018 1:20
by Ittiz
fyi: viewtopic.php?f=28&t=25288 I've been working on a preexisting domoticz skill for mycroft, already expanded it a lot and plan to do more. And oh I reinstalled my server with linux and all that, big debacle, but anyway.

Re: Mycroft for PI

Posted: Thursday 18 October 2018 9:34
by EdddieN
Great! I’ll have a look.

Quick thing: how are you finding the speed for responses? Using the mark 1 and it can take easily 2 seconds or more to reply

Re: Mycroft for PI

Posted: Thursday 18 October 2018 13:36
by Ittiz
Maybe slightly faster than that. It usually takes one to two seconds for Mycroft to reply. If I type the request into the debug console the reaction is near immediate. So I can see that all the lag is in the speech recognition. Unless I use a skill that may rely on the internet anyway.

Re: Mycroft for PI

Posted: Thursday 18 October 2018 14:20
by EdddieN
Speech recognition, you mean processing the audio? Ok so I guess the HW needs more power.

Is it any better on you Linux server?

Re: Mycroft for PI

Posted: Friday 19 October 2018 0:23
by Ittiz
This is what I'm saying, the processing of your voice in to meaning by Mycroft seems a bit faster on a full blown server. Mycroft is pretty easy to set up on it's own computer actually and useful if you run it on the same computer as your Domoticz.

Re: Mycroft for PI

Posted: Friday 19 October 2018 9:42
by EdddieN
Ok, I see. I thought the processing was done on the cloud but then what is the purpose of mycroft? I get it now, I use a RPI for it, so yes takes a fair bit of time to process the audio.

I need to try with an Intel UpBoard or NAS to see if any difference.


Re: Mycroft for PI

Posted: Friday 26 October 2018 1:08
by Ittiz
Yeah, my Domoticz skill seems to work even if my internet is out, so the processing must happened on the machine itself. Alexa and Google process on the cloud, which is one of the reasons I wanted to avoid using those systems, besides the fact they don't have Domoticz skills on them.

I've got my server rigged with sound in every room now. I repurposed my old unused coax network (use to be used for cable TV) for RCA sound. The whole thing isn't as clean as I'd like though. Right now I'm piping all the sound into one instance of Mycroft. So during the day it has a hard time hearing because it hears all the sound in the house at the same time. I'd like to pipe each mic into a different mycroft listener, but I haven't figured out how to do that yet. I'd prefer solutions that don't require multiple computers or VMs. For now I'm working with my sound detectors in Domoticz to mute a channel when it's too noisy.

Re: Mycroft for PI

Posted: Friday 26 October 2018 10:27
by EdddieN
Very interesting! Really need to find the time to play with it

Re: Mycroft for PI

Posted: Monday 11 March 2019 18:09
by manjh
blauwebuis wrote: Tuesday 14 August 2018 23:29 Have a look at Snips. It's commands go via MQTT.
I've installed SNIPS on a dedicated Pi, and it seems to run OK. But the next steps are not intuative.
Is there anyone who can share a first script that can be installed on the Pi?
I'm sure once I have the first command set up, the rest will be all downhill.... ;)