Comments (14)
Dots in the terminal means you are running the app. The dots represent the light. Are you not seeing the LEDS change?
START_APP=clock node index.js should start the clock
from matrix-os.
Really want to say yes but no LEDs light up
from matrix-os.
Are you running malos in another terminal?
from matrix-os.
Absolutly:
pi@raspberrypi:~ $ malos
**************
MALOS starting
**************
You can query specific driver info using port 20012.
Registered driver IMU with port 20013.
Registered driver Humidity with port 20017.
Registered driver Everloop with port 20021.
Registered driver Pressure with port 20025.
Registered driver UV with port 20029.
from matrix-os.
Plus, when I enter this line : START_APP=monitor node index.js
in ~/matrix-os
folder I get this error:
Local Apps: [ 'clock.matrix' ]
Local / Installed Δ 1
MXSS Connected: http://rc-mxss.admobilize.com
=<[^\/^]>= [my-device-id] ready
_ _ ____ ___ ____ _ _ _
|\/| |__| | |__/ | \/ [o__o]
| | | | | | \ | _/\_ v0.5.0
Error: No user installed firebase application: monitor
at /home/pi/matrix-os/node_modules/matrix-firebase/lib/app.js:189:19
at /home/pi/matrix-os/node_modules/matrix-firebase/node_modules/firebase/database-node.js:144:614
at Qb (/home/pi/matrix-os/node_modules/matrix-firebase/node_modules/firebase/database-node.js:43:165)
at nc (/home/pi/matrix-os/node_modules/matrix-firebase/node_modules/firebase/database-node.js:31:216)
at mc (/home/pi/matrix-os/node_modules/matrix-firebase/node_modules/firebase/database-node.js:30:641)
at zg (/home/pi/matrix-os/node_modules/matrix-firebase/node_modules/firebase/database-node.js:216:427)
at X.h.ec (/home/pi/matrix-os/node_modules/matrix-firebase/node_modules/firebase/database-node.js:151:140)
at Object.getIDForName (/home/pi/matrix-os/node_modules/matrix-firebase/lib/app.js:186:6)
at init (/home/pi/matrix-os/lib/service/application.js:158:12)
at new Application (/home/pi/matrix-os/lib/service/application.js:214:3)
Is it coming from me ? Did I forgot a step somewhere ?
from matrix-os.
Hey @nebiljabari I think you're good, we have to remove START_APP=monitor
from docs. We will do this. Remove it in the meantime and tell me if this works for you.
NODE_ENV=rc node index.js
from matrix-os.
Ok @brianofrokk3r here is where Iam
- in
~/matrix-os
if I do :NODE_ENV=rc node index.js
The LED light spin then stop. In the console some output no error - in
~/matrix-os
if I do :NODE_ENV=dev node index.js
The LED light spin endlessly. In the console bunch of output + each second :sdk <3-> +1s {}
when I kill some minor error about child process - in
~/matrix-os/apps
if I do :NODE_ENV=rc node index.js
(same result for =dev)
No LED light. In the console :
Matrix OS Application Library Loading...
..
..
..
C : .. .. ..
- in
~/matrix-os/apps/clock.matrix
if I do :NODE_ENV=rc node index.js
(same result for =dev)
Matrix OS Application Library Loading...
clock.matrix is not the same as config name: monitor
..
..
..
C : .. .. ..
from matrix-os.
LED spin means stack initialization, so that's good. Stay on rc
. In your app, view the config.yaml
and make sure the folder name matches the name
property. Currently adding a ticket to make sure this field is updated automagically when an application is created.
If you see:
_ _ ____ ___ ____ _ _ _
|\/| |__| | |__/ | \/ [o__o]
| | | | | | \ | _/\_ v0.5.0
You've instantiated.
from matrix-os.
@eighteyes just saw your comment update
START_APP=clock node index.js should start the clock
- in
~/matrix-os
it make the light spin then stop same asnode index.js
+ the error wrote previously except instead :monitor
it's logically wroteclock
- in
~/matrix-os/apps
or~/matrix-os/apps/clock
same as upper "dots and dots"
from matrix-os.
Yes @brianofrokk3r I have this output
Installed Apps:
Local Apps: [ 'clock.matrix' ]
Local / Installed Δ 1
MXSS Connected: http://rc-mxss.admobilize.com
=<[^\/^]>= [my-device-id] ready
_ _ ____ ___ ____ _ _ _
|\/| |__| | |__/ | \/ [o__o]
| | | | | | \ | _/\_ v0.5.0
Then I kill the process because I can't enter any command (bad mouv ?). I even tried to let it run and in another terminal window launching the clock. Same dots result
from matrix-os.
No, all good! You have to run applications from the CLI interface now. You can run the system as a background process like so if you want:
nohup node index.js > mos.out 2>&1 &
From there you can tail the response:
tail -F mos.out
We'll be putting this as a service in the next few days so you won't have to do that soon.
from matrix-os.
You have to run applications from the CLI interface now
I don't clearly understand. Do you mean that : sudo matrix start <app-name>
?
Here is my full "unworking" procedure :
- 1 -
sudo matrix set env rc
// when my rPi boot (just to be sure)
Logged Out Successfully
Env: rc
- 2 -
sudo matrix login
Login -- username <my-mail>
Login -- password
Login Successful : <my-mail>
- 3 -
sudo matrix use <my-device-id>
Now using device id: <my-device-id>
- 4 -
source .envrc
- 5 -
malos
// in another terminal window
**************
MALOS starting
**************
You can query specific driver info using port 20012.
Registered driver IMU with port 20013.
Registered driver Humidity with port 20017.
Registered driver Everloop with port 20021.
Registered driver Pressure with port 20025.
Registered driver UV with port 20029.
- 6 -
cd matrix-os
- 7 -
nohup node index.js > mos.out 2>&1 &
// The lights spin 3 times
[1] 1306
- 8 - in folder
matrix-os
ormatrix-os/apps
ormatrix-os/apps/clock.matrix
(same result)
sudo matrix start clock.matrix
Starting: clock.matrix <my-device-id>
Started: clock.matrix
pi@raspberrypi:~/matrix-os $ // Nothing happened
ps: if I tail -F mos.out
: Error lines from my 4th comment
Error: No user installed firebase application: clock.matrix
etc...
+
Cannot start another instance of : clock.matrix
ps2:
In your app, view the config.yaml
We have : name: clock
but even if I put : name: clock.matrix
same thing
Ok @brianofrokk3r & @eighteyes I will stop here and wait your coming improvements. Good Luck
from matrix-os.
Ok @eighteyes maybe a good clue I think you've set the default branch on dev and not master
when I git clone https://github.com/matrix-io/matrix-os.git
I have to specified -b master
otherwise I get the dev branch
Same thing if I go to your repo from the web : https://github.com/matrix-io/matrix-os
Branch: dev (by default)
from matrix-os.
solved here : issue #11 Thanks to @eighteyes for his work and patience
from matrix-os.
Related Issues (20)
- Error with faceTest and emotionTest HOT 7
- duplicates events on recognition service HOT 1
- Starting matrix-os Illegal instruction
- Computer Vision does not currently work
- GPIO does not currently work
- zigbee does not currently work
- Trying to run google assistant with raspberry pi and matrix creator HOT 2
- Update dependency to zeromq.js HOT 2
- IFTTT does not currently work
- LEDs need to be updated for MATRIX Voice
- action regenerating make file
- How to use javascript to get direction of arrival
- Error occurring with recogTest HOT 2
- Error with recogTest HOT 1
- Error when attempting to stop apps. HOT 3
- face detection app generate error on OS when use "matrix start" from CLI HOT 7
- update of issue#85: sevice undefined when start face detection app from matrix OS HOT 5
- Everloop LED's not working properly HOT 2
- Can't Find Open Source Software Licenses HOT 1
- Problem after upgrade v0.15.0 HOT 4
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 matrix-os.