Mycroft for PI

Alexa, Google Home and Siri

Moderator: leecollings

User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Mycroft for PI

Post 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...
11101101 - www.machinon.com
niki_lauda
Posts: 118
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

Re: Mycroft for PI

Post by niki_lauda »

Did you try it? I am also interested
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN »

Not yet, trying to find time to test it, but today I found this: https://github.com/treussart/domoticz_skill
11101101 - www.machinon.com
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post 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 3979 times
11101101 - www.machinon.com
Ittiz
Posts: 48
Joined: Tuesday 03 January 2017 0:37
Target OS: Linux
Domoticz version: 13939
Location: USA
Contact:

Re: Mycroft for PI

Post 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.
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post 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...
11101101 - www.machinon.com
Ittiz
Posts: 48
Joined: Tuesday 03 January 2017 0:37
Target OS: Linux
Domoticz version: 13939
Location: USA
Contact:

Re: Mycroft for PI

Post 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.
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN »

I would be interested on your results... even to compare processing sintax speed
11101101 - www.machinon.com
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: Mycroft for PI

Post by blauwebuis »

Have a look at Snips. It's commands go via MQTT.
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN »

snips? Did a quick search but only grass cutters came out :D
11101101 - www.machinon.com
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post 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.
11101101 - www.machinon.com
Ittiz
Posts: 48
Joined: Tuesday 03 January 2017 0:37
Target OS: Linux
Domoticz version: 13939
Location: USA
Contact:

Re: Mycroft for PI

Post 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.
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post 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
11101101 - www.machinon.com
Ittiz
Posts: 48
Joined: Tuesday 03 January 2017 0:37
Target OS: Linux
Domoticz version: 13939
Location: USA
Contact:

Re: Mycroft for PI

Post 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.
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post 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?
11101101 - www.machinon.com
Ittiz
Posts: 48
Joined: Tuesday 03 January 2017 0:37
Target OS: Linux
Domoticz version: 13939
Location: USA
Contact:

Re: Mycroft for PI

Post 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.
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post 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.

11101101 - www.machinon.com
Ittiz
Posts: 48
Joined: Tuesday 03 January 2017 0:37
Target OS: Linux
Domoticz version: 13939
Location: USA
Contact:

Re: Mycroft for PI

Post 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.
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN »

Very interesting! Really need to find the time to play with it
11101101 - www.machinon.com
manjh
Posts: 748
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: Mycroft for PI

Post 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.... ;)
Hans
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest