sepia-framework / sepia-wakeword-tools Goto Github PK
View Code? Open in Web Editor NEWWake-word tools and implementations for S.E.P.I.A.
Wake-word tools and implementations for S.E.P.I.A.
Hi,
I've set up a raspberry with openhab so my next step will be setting up a second raspberry with Respeaker and Sepia for voice interacting with my smart home. So I set up Sepia and the API to OpenHab with chat commands works fine. I also set up the Respeaker and I'm able recording something (arecord).
So the next step will be that I can talk to my Respeaker and Sepia receives the spoken message.
First, I installed the sepia-client on the same Raspberry on which the sepia-server and respeaker are installed. Fortunately you also have a wakeword-tool but unfortunately the python script doesn't work on my rasp :-(
Here are my commands:
mkdir sepia-wakeword
cd sepia-wakeword
wget https://github.com/SEPIA-Framework/sepia-wakeword-tools/archive/0.8.0.zip
unzip 0.8.0.zip
cd sepia-wakeword-tools-0.8.0/Porcupine
python -m sepia.account --id=uid1007 --host=192.168.0.109:20726/sepia
After typing in the password I receive the following error message:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/pi/sepia-wakeword/sepia-wakeword-tools-0.8.0/Porcupine/sepia/account.py", line 142, in
account.authenticate(p)
File "/home/pi/sepia-wakeword/sepia-wakeword-tools-0.8.0/Porcupine/sepia/account.py", line 60, in authenticate
response = requests.request("POST", url, json=payload, headers=headers)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='192.168.0.109', port=20726): Max retries exceeded with url: /sepia/assist/authentication (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7610c610>: Failed to establish a new connection: [Errno 111] Connection refused',))
Do you have any idea, in which previous step I did a mistake or what I should check?
Best regards
Björn
Hello,
is there a step by step instruction manual for beginners?
I setted up Sepia Server on Raspberry Pi 3 b+ and using the android app together with openhab.
Everything works really well, but I want to use the PI as well receiving voice( via HAT respeaker 2.0) commands.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.