Mycroft for PI

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
User avatar
EdddieN
Posts: 565
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Mycroft for PI

Post by EdddieN » Sunday 21 May 2017 20:20

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: 145
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

Re: Mycroft for PI

Post by niki_lauda » Friday 26 January 2018 17:22

Did you try it? I am also interested

User avatar
EdddieN
Posts: 565
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN » Tuesday 10 July 2018 22:11

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: 565
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN » Saturday 14 July 2018 15:44

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 1092 times
11101101 - www.machinon.com

Ittiz
Posts: 37
Joined: Tuesday 03 January 2017 1:37
Target OS: Linux
Domoticz version:
Contact:

Re: Mycroft for PI

Post by Ittiz » Sunday 12 August 2018 23:21

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: 565
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN » Monday 13 August 2018 10:45

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: 37
Joined: Tuesday 03 January 2017 1:37
Target OS: Linux
Domoticz version:
Contact:

Re: Mycroft for PI

Post by Ittiz » Tuesday 14 August 2018 1:23

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: 565
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN » Tuesday 14 August 2018 9:51

I would be interested on your results... even to compare processing sintax speed
11101101 - www.machinon.com

blauwebuis
Posts: 363
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: Mycroft for PI

Post by blauwebuis » Tuesday 14 August 2018 23:29

Have a look at Snips. It's commands go via MQTT.

User avatar
EdddieN
Posts: 565
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN » Tuesday 28 August 2018 23:10

snips? Did a quick search but only grass cutters came out :D
11101101 - www.machinon.com

User avatar
EdddieN
Posts: 565
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN » Sunday 30 September 2018 21:27

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: 37
Joined: Tuesday 03 January 2017 1:37
Target OS: Linux
Domoticz version:
Contact:

Re: Mycroft for PI

Post by Ittiz » Thursday 18 October 2018 1:20

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: 565
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN » Thursday 18 October 2018 9:34

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: 37
Joined: Tuesday 03 January 2017 1:37
Target OS: Linux
Domoticz version:
Contact:

Re: Mycroft for PI

Post by Ittiz » Thursday 18 October 2018 13:36

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: 565
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN » Thursday 18 October 2018 14:20

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: 37
Joined: Tuesday 03 January 2017 1:37
Target OS: Linux
Domoticz version:
Contact:

Re: Mycroft for PI

Post by Ittiz » Friday 19 October 2018 0:23

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: 565
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN » Friday 19 October 2018 9:42

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: 37
Joined: Tuesday 03 January 2017 1:37
Target OS: Linux
Domoticz version:
Contact:

Re: Mycroft for PI

Post by Ittiz » Friday 26 October 2018 1:08

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: 565
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Mycroft for PI

Post by EdddieN » Friday 26 October 2018 10:27

Very interesting! Really need to find the time to play with it
11101101 - www.machinon.com

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests