Comments (14)
dependencies.sh
means that is a bash file, not python
so, EDIT the dependencies file and change python to python3
the run the bash file per the instructions
from hello-lucy.
problem solved you need to enter to the installers file in the hello lucy module file and use python3 instead of python
from hello-lucy.
how
because not working
from hello-lucy.
enter to the installers file in the hello lucy module file and use python3 instead of python
from hello-lucy.
enter to the installers file in the hello lucy module file and use python3 instead of python
I'm really grateful that someone came to my rescue.
I tried in the code line--all on the installers folder:
- python3-pip
-python-dev
-python3-is-python
always use autoremove and reboot
now... i wrote exactly this "python3 instead of python" but nothing.
In the command line. what exactly should I write in the installers folder?
THANK YOU SO MUCH LORD
from hello-lucy.
folder installers: python3 bash dependencies.sh
python3: can't open file '/home/pi/MagicMirror/modules/Hello-Lucy/installers/bash': [Errno 2] No such file or directory
from hello-lucy.
MagicMirror/modules/Hello-Lucy/installers $ python3 dependencies.sh
File "/home/pi/MagicMirror/modules/Hello-Lucy/installers/dependencies.sh", line 12
echo -e "\e[0m"
^
SyntaxError: invalid syntax
from hello-lucy.
i understand now.. and is working. AMAZING. IM VERY HAPPY my sir. now i see
0 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
bcm2835 Headphones
1 [vc4hdmi0 ]: vc4-hdmi - vc4-hdmi-0
vc4-hdmi-0
2 [vc4hdmi1 ]: vc4-hdmi - vc4-hdmi-1
vc4-hdmi-1
3 [Microphone ]: USB-Audio - USB Microphone
MUSIC-BOOST USB Microphone at usb-0000:01:00.0-1.1, full speed
for my config is "3.0" right
from hello-lucy.
{ disabled: false, module: "Hello-Lucy", position: "top_center", config: { keyword: 'HELLO LUCY', // keyword to activate listening for a command/sentence timeout: 15, // timeout listening for a command/sentence standByMethod: 'DPMS', // 'DPMS' = anything else than RPi or 'PI' microphone: "3,0", // run "arecord -l" card # and device # mine is "0,0" sounds: ["1.mp3", "11.mp3"], // welcome sound at startup. Add several for a random greetings confirmationSound: "ding.mp3", // name and extension of sound file startHideAll: true, // All modules start as hidden EXCEPT PAGE ONE // *** Page One is your default startup page *** This overrides startHideAll: true, pageOneModules: ["Hello-Lucy","MMM-EasyPix"], // default modules to show on page one/startup pageTwoModules: ["Hello-Lucy", "MMM-BMW-DS", "MMM-EventHorizon"], // modules to show on page two pageThreeModules: ["Hello-Lucy", "MMM-Lunartic"], // modules to show on page three pageFourModules: ["Hello-Lucy", "MMM-PC-Stats"], // modules to show on page four pageFiveModules: ["Hello-Lucy", "MMM-Searchlight"], // modules to show on page five pageSixModules: ["Hello-Lucy", "MMM-NOAA3"], // modules to show on page six pageSevenModules: ["Hello-Lucy", "MMM-Recipe"], // modules to show on page seven pageEightModules: ["Hello-Lucy", "MMM-rfacts"], // modules to show on page eight pageNineModules: ["Hello-Lucy", "MMM-History"], // modules to show on page nine pageTenModules: ["Hello-Lucy", "MMM-HardwareMonitor"] // modules to show on page ten } },
from hello-lucy.
but when start i see error in microphone..
from hello-lucy.
arecord somefile.wav
speak any words
crtl-c to stop recording
aplay somefile.wav
do you hear what you said
from hello-lucy.
when recording.. Unsigned 8 bit, Rate 8000 Hz, Mono
but i hear my voice clear
for test i use config basic of magic mirror only basic
from hello-lucy.
file index.js
PocketSphinxContinuous.prototype.start = function() {
if (!this.isListening()) {
let mic=this.microphone;
// if name starts with number
if (this.microphone.match(/^\d/))
mic = 'plughw:'+this.microphone;
this._psc = spawn('pocketsphinx_continuous', [
'-adcdev',
mic,
'-inmic',
'yes',
'-lm',
modules/${this.setId}/${this.setId}.lm
,
'-dict',
modules/${this.setId}/${this.setId}.dic
]);
from hello-lucy.
hi. anyway it's not the module is the problem but my configuration.. then if there is a module that uses voice and makes hide and show modules and change page like this module does.. and it's updated I'll install it right away but unfortunately I haven't seen it. @sdetweil
from hello-lucy.
Related Issues (20)
- Integration into MK2 HOT 1
- Request to Add New Modules HOT 1
- New Modules HOT 1
- USB Mic Wont Work PI4 HOT 26
- (NOT AN ERROR) HOT 2
- Adding Modules: HOT 1
- Speaker Issue HOT 1
- Error when Using USB Audio Device Pi4 HOT 1
- previouslyHidden Array ? HOT 1
- Good work with this HOT 1
- Installation Errors Resolving Depencencys -- Error ERESOLVE unable to resolve dependency tree
- HELLO LUCY DISPLAYS UNEXPECTED MODULES HOT 3
- sentences.json not loaded HOT 1
- Hello Lucy not detecting HOT 25
- display error
- Installation issues HOT 3
- ADD PAGES AND MODULE HOT 1
- HELP ME I DON KNOW HOT 1
- Executing the dependencies.sh fails on step 3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hello-lucy.