# Raspivid and Node Red

**URL:** <https://discourse.nodered.org/t/raspivid-and-node-red/28585>\
**Category:** Dashboard\
**Created:** [19 June 2020 04:16 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585 "2020-06-19T04:16:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![vlturner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vlturner/32/15211_2.png) [@vlturner](https://discourse.nodered.org/u/vlturner)\
**Post date:** [19 June 2020 04:16 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/1 "2020-06-19T04:16:05Z")

</div>

I'm trying to work with raspistill and raspivid and am getting an odd error I can seem to work around.

raspistill is working but taspivid gets an error on file not found.

I even wrapped it all in a shell script and it works when I call it from the shell as root or pi.

#!/bin/bash  
/usr/bin/raspivid -t 30000 -w 570 -h 570 -fps 25 -b 1200000 -p 0,0,570,570 -o /tmp/video.h264  
/usr/bin/MP4Box -add /tmp/video.h264 /home/pi/Desktop/video.mp4  
rm /tmp/video.h264

What would be great is if we could pull the cmd string into the ui\_media

[flows.json](https://discourse.nodered.org/uploads/short-url/nResshKMq5xiIedNPzvLXSxhZXC.json) (3.6 KB)

Forgot how to get the flow to display correctly, so I uploaded it.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 June 2020 08:36 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/2 "2020-06-19T08:36:08Z")

</div>

> [@vlturner](#):
>
> Forgot how to get the flow to display

Go to a new line, click the `</>` button and paste it where indicated. Please do that with for us so we don't have to download the file, which is a pain. Thanks.

Also please show us the full error message.

---

<div class="post-metadata">

**Author:** ![vlturner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vlturner/32/15211_2.png) [@vlturner](https://discourse.nodered.org/u/vlturner)\
**Post date:** [19 June 2020 15:12 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/3 "2020-06-19T15:12:17Z")

</div>

Here is the error.  
6/19/2020, 8:10:04 AM757eea11.09ccc4  
Camera\_Click : msg : Object  
object  
topic: "Camera\_Click"  
socketid: "RqjHg\_zPbPmjmY-nAAAB"  
\_msgid: "f82efc8f.15138"  
payload: string  
/bin/sh: 1: Video: not found  
rc: object  
code: 127  
message: "Command failed: Video Capture /usr/bin/raspivid -t 30000 -w 570 -h 570 -fps 25 -b 1200000 -p 0,0,570,570 -o /tmp/video.h264↵/bin/sh: 1: Video: not found↵"

```auto
[{"id":"1591fded.581fe2","type":"tab","label":"Video Capture","disabled":false,"info":""},{"id":"6e5e2f42.183ba8","type":"exec","z":"1591fded.581fe2","command":"raspistill","addpay":false,"append":"-vs -ex night -w 570 -h 570 -o -","useSpawn":"false","timer":"","oldrc":false,"name":"","x":660,"y":120,"wires":[["4f40679e.837c9"],[],[]]},{"id":"4f40679e.837c9","type":"base64","z":"1591fded.581fe2","name":"","action":"str","property":"payload","x":900,"y":240,"wires":[["c1afb31b.7911"]]},{"id":"c1afb31b.7911","type":"template","z":"1591fded.581fe2","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<img width=\"570px\" height=\"570px\" src=\"data:image/jpg;base64,{{{payload}}}\">","output":"str","x":1040,"y":240,"wires":[["a49e548c.732ac"]]},{"id":"a49e548c.732ac","type":"ui_template","z":"1591fded.581fe2","group":"6080d6c0.890608","name":"","order":4,"width":"17","height":"25","format":"<div ng-bind-html=\"msg.payload\"></div>","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":1180,"y":240,"wires":[[]]},{"id":"ecb7836.0f9c7","type":"ui_switch","z":"1591fded.581fe2","name":"Camera_Click","label":"","tooltip":"","group":"6080d6c0.890608","order":2,"width":3,"height":"3","passthru":true,"decouple":"false","topic":"Camera_Click","style":"","onvalue":"true","onvalueType":"bool","onicon":"fa-pulse fa-3x fa-camera","oncolor":"green","offvalue":"false","offvalueType":"bool","officon":"fa-photo fa-3x","offcolor":"blue","x":135,"y":240,"wires":[["d21306bb.9751c"]],"l":false},{"id":"40adfa7.cfc1f84","type":"trigger","z":"1591fded.581fe2","op1":"","op2":"false","op1type":"pay","op2type":"bool","duration":"8","extend":false,"units":"s","reset":"","bytopic":"all","name":"igniter","x":390,"y":240,"wires":[["ecb7836.0f9c7","994ab145.0b08d"]]},{"id":"d21306bb.9751c","type":"switch","z":"1591fded.581fe2","name":"Camera","property":"payload","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":240,"y":240,"wires":[["40adfa7.cfc1f84"],[]]},{"id":"994ab145.0b08d","type":"switch","z":"1591fded.581fe2","name":"Click","property":"payload","propertyType":"msg","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":530,"y":240,"wires":[["6e5e2f42.183ba8","ac7596c1.99aee"]]},{"id":"a7a4a4ec.caa168","type":"ui_media","z":"1591fded.581fe2","group":"2db625cf.759fb2","name":"","width":0,"height":0,"order":2,"category":"Desktop","file":"video.mp4","layout":"center","showcontrols":true,"loop":false,"onstart":false,"scope":"local","tooltip":"","x":670,"y":300,"wires":[[]]},{"id":"ac7596c1.99aee","type":"exec","z":"1591fded.581fe2","command":"Video Capture","addpay":false,"append":"/usr/bin/raspivid -t 30000 -w 570 -h 570 -fps 25 -b 1200000 -p 0,0,570,570 -o /tmp/video.h264","useSpawn":"false","timer":"90","oldrc":false,"name":"","x":700,"y":240,"wires":[["ee9b8c23.f45c4"],["ee9b8c23.f45c4"],["ee9b8c23.f45c4"]]},{"id":"ee9b8c23.f45c4","type":"debug","z":"1591fded.581fe2","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":880,"y":180,"wires":[]},{"id":"6080d6c0.890608","type":"ui_group","z":"","name":"Camera","tab":"91b245b1.b4ed7","order":9,"disp":true,"width":"17","collapse":false},{"id":"2db625cf.759fb2","type":"ui_group","z":"","name":"CPU Temperature","tab":"4802b223.98b354","order":1,"disp":true,"width":30,"collapse":false},{"id":"91b245b1.b4ed7","type":"ui_tab","z":"","name":"Pump Control Dashboard","icon":"dashboard","order":3,"disabled":false,"hidden":false},{"id":"4802b223.98b354","type":"ui_tab","z":"","name":"Proelian Server","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

```

Its as if node-red doesn't have permission to access the camera. I checked and it should.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 June 2020 15:40 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/4 "2020-06-19T15:40:06Z")

</div>

Can you open a terminal and stop and restart node-red and post the startup messages please. You should be able to do that by running  
`node-red-stop`  
`node-red-start`  
Is that you you normally run node-red?

---

<div class="post-metadata">

**Author:** ![vlturner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vlturner/32/15211_2.png) [@vlturner](https://discourse.nodered.org/u/vlturner)\
**Post date:** [19 June 2020 15:46 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/5 "2020-06-19T15:46:30Z")

</div>

1447 sudo systemctl stop nodered.service  
1448 sudo systemctl start nodered.service  
1449 sudo systemctl status nodered.service  
1450 history  
pi@proelian:~/.node-red $ !1449  
sudo systemctl status nodered.service  
● nodered.service - Node-RED graphical event wiring tool  
Loaded: loaded (/lib/systemd/system/nodered.service; enabled; vendor preset: enabled)  
Active: active (running) since Fri 2020-06-19 08:43:39 PDT; 2min 3s ago  
Docs: [http://nodered.org/docs/hardware/raspberrypi.html](http://nodered.org/docs/hardware/raspberrypi.html)  
Main PID: 23615 (node)  
Tasks: 14 (limit: 4915)  
Memory: 87.6M  
CGroup: /system.slice/nodered.service  
├─23615 node-red  
├─23650 python -u /home/pi/.node-red/node\_modules/pi-plates/plate\_io.py  
├─23658 python -uc import os import json import sys if sys.version\_info[0]\<3: channel = os.fdopen(3, "r+") else: channel = os.  
└─23662 python -uc import os import json import sys if sys.version\_info[0]\<3: channel = os.fdopen(3, "r+") else: channel = os.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 June 2020 16:21 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/6 "2020-06-19T16:21:56Z")

</div>

I want to see the node red startup log please. `node-red-start` should do that assuming you installed using the [recommended technique](https://nodered.org/docs/getting-started/raspberrypi).

---

<div class="post-metadata">

**Author:** ![vlturner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vlturner/32/15211_2.png) [@vlturner](https://discourse.nodered.org/u/vlturner)\
**Post date:** [19 June 2020 18:23 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/7 "2020-06-19T18:23:01Z")

</div>

Node Red is run as a service on a Raspberry Pi 4 running "LATEST" code Buster/Debian

Jun 19 11:17:00 proelian systemd[1]: nodered.service: Succeeded.  
Jun 19 11:17:00 proelian systemd[1]: Stopped Node-RED graphical event wiring tool.  
Jun 19 11:17:27 proelian systemd[1]: Started Node-RED graphical event wiring tool.  
Jun 19 11:17:28 proelian Node-RED[31461]: 19 Jun 11:17:28 - [info]  
Jun 19 11:17:28 proelian Node-RED[31461]: Welcome to Node-RED  
Jun 19 11:17:28 proelian Node-RED[31461]: ===================  
Jun 19 11:17:28 proelian Node-RED[31461]: 19 Jun 11:17:28 - [info] Node-RED version: v1.0.6  
Jun 19 11:17:28 proelian Node-RED[31461]: 19 Jun 11:17:28 - [info] Node.js version: v12.18.0  
Jun 19 11:17:28 proelian Node-RED[31461]: 19 Jun 11:17:28 - [info] Linux 4.19.118-v7l+ arm LE  
Jun 19 11:17:28 proelian Node-RED[31461]: 19 Jun 11:17:28 - [info] Loading palette nodes  
Jun 19 11:17:31 proelian Node-RED[31461]: 19 Jun 11:17:31 - [info] Dashboard up and running  
Jun 19 11:17:32 proelian Node-RED[31461]: 19 Jun 11:17:32 - [info] +-----------------------------------------------------  
Jun 19 11:17:32 proelian Node-RED[31461]: 19 Jun 11:17:32 - [info] | uibuilder initialised:  
Jun 19 11:17:32 proelian Node-RED[31461]: 19 Jun 11:17:32 - [info] | root folder: /home/pi/.node-red/uibuilder  
Jun 19 11:17:32 proelian Node-RED[31461]: 19 Jun 11:17:32 - [info] | version . .: 2.0.8  
Jun 19 11:17:32 proelian Node-RED[31461]: 19 Jun 11:17:32 - [info] | packages . : vue,bootstrap,bootstrap-vue,[socket.io](http://socket.io),jquery  
Jun 19 11:17:32 proelian Node-RED[31461]: 19 Jun 11:17:32 - [info] +-----------------------------------------------------  
Jun 19 11:17:32 proelian Node-RED[31461]: 19 Jun 11:17:32 - [info] Dashboard version 2.22.1 started at /ui  
Jun 19 11:17:33 proelian Node-RED[31461]: 19 Jun 11:17:33 - [info] Settings file : /home/pi/.node-red/settings.js  
Jun 19 11:17:33 proelian Node-RED[31461]: 19 Jun 11:17:33 - [info] Context store : 'default' [module=memory]  
Jun 19 11:17:33 proelian Node-RED[31461]: 19 Jun 11:17:33 - [info] User directory : /home/pi/.node-red  
Jun 19 11:17:33 proelian Node-RED[31461]: 19 Jun 11:17:33 - [warn] No active project : using default flows file  
Jun 19 11:17:33 proelian Node-RED[31461]: 19 Jun 11:17:33 - [info] Flows file : /home/pi/.node-red/flows\_proelian.json  
Jun 19 11:17:33 proelian Node-RED[31461]: 19 Jun 11:17:33 - [info] Server now running at [http://localhost:1880/](http://localhost:1880/)  
Jun 19 11:17:33 proelian Node-RED[31461]: 19 Jun 11:17:33 - [warn]  
Jun 19 11:17:33 proelian Node-RED[31461]: ---------------------------------------------------------------------  
Jun 19 11:17:33 proelian Node-RED[31461]: Your flow credentials file is encrypted using a system-generated key.  
Jun 19 11:17:33 proelian Node-RED[31461]: If the system-generated key is lost for any reason, your credentials  
Jun 19 11:17:33 proelian Node-RED[31461]: file will not be recoverable, you will have to delete it and re-enter  
Jun 19 11:17:33 proelian Node-RED[31461]: your credentials.  
Jun 19 11:17:33 proelian Node-RED[31461]: You should set your own key using the 'credentialSecret' option in  
Jun 19 11:17:33 proelian Node-RED[31461]: your settings file. Node-RED will then re-encrypt your credentials  
Jun 19 11:17:33 proelian Node-RED[31461]: file using your chosen key the next time you deploy a change.  
Jun 19 11:17:33 proelian Node-RED[31461]: ---------------------------------------------------------------------  
Jun 19 11:17:33 proelian Node-RED[31461]: 19 Jun 11:17:33 - [info] Starting flows  
Jun 19 11:17:33 proelian Node-RED[31461]: 19 Jun 11:17:33 - [info] [python-function:MCP9808 I2C Inquiry] Python function 'MCP9808 I2C Inquiry' running on PID 31503  
Jun 19 11:17:34 proelian Node-RED[31461]: 19 Jun 11:17:34 - [info] [python-function:MCP3428-1] Python function 'MCP3428-1' running on PID 31507  
Jun 19 11:17:34 proelian Node-RED[31461]: 19 Jun 11:17:34 - [info] Started flows  
Jun 19 11:17:34 proelian Node-RED[31461]: 19 Jun 11:17:34 - [info] serial port /dev/ttyUSB1 opened at 115200 baud 8N1  
Jun 19 11:17:34 proelian Node-RED[31461]: 19 Jun 11:17:34 - [info] serial port /dev/ttyUSB0 opened at 115200 baud 8N1  
Jun 19 11:17:34 proelian Node-RED[31461]: 19 Jun 11:17:34 - [info] [mqtt-broker:PI] Connected to broker: mqtt://127.0.0.1:1883

I think there is a startup option to bump up the logging.

---

<div class="post-metadata">

**Author:** ![vlturner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vlturner/32/15211_2.png) [@vlturner](https://discourse.nodered.org/u/vlturner)\
**Post date:** [19 June 2020 18:39 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/8 "2020-06-19T18:39:30Z")

</div>

I turned up debug, stopped, started, and ran command to trigger error.

```auto
Jun 19 11:33:57 proelian Node-RED[32133]: 19 Jun 11:33:57 - [info] Stopped flows
Jun 19 11:33:57 proelian systemd[1]: nodered.service: Succeeded.
Jun 19 11:33:57 proelian systemd[1]: Stopped Node-RED graphical event wiring tool.
Jun 19 11:34:02 proelian systemd[1]: Started Node-RED graphical event wiring tool.
Jun 19 11:34:04 proelian Node-RED[32387]: 19 Jun 11:34:04 - [info]
Jun 19 11:34:04 proelian Node-RED[32387]: Welcome to Node-RED
Jun 19 11:34:04 proelian Node-RED[32387]: ===================
Jun 19 11:34:04 proelian Node-RED[32387]: 19 Jun 11:34:04 - [info] Node-RED version: v1.0.6
Jun 19 11:34:04 proelian Node-RED[32387]: 19 Jun 11:34:04 - [info] Node.js version: v12.18.0
Jun 19 11:34:04 proelian Node-RED[32387]: 19 Jun 11:34:04 - [info] Linux 4.19.118-v7l+ arm LE
Jun 19 11:34:04 proelian Node-RED[32387]: 19 Jun 11:34:04 - [info] Loading palette nodes
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-ads1115 1.2.7
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-ads1115
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-ads7828 1.1.5
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-ads7828
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-ams5812 1.0.2
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-ams5812
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-ams5915 1.0.2
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-ams5915
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-comm 1.6.10
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-comm
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-current 1.0.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-current
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-humichip 1.0.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-humichip
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-industrial 1.3.2
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-industrial
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-mcp23008 1.5.5
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-mcp23008
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-mcp23017 0.1.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-mcp23017
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-mcp3425 1.0.4
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-mcp3425
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-mcp3428 0.1.0
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-mcp3428
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-mcp4725 1.0.4
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-mcp4725
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-mcp4728 1.1.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-mcp4728
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-mlp115a2 1.0.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-mlp115a2
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-pca9536 1.1.0
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-pca9536
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: ncd-red-wireless 1.5.18
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/ncd-red-wireless
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-actionflows 2.0.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-actionflows
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-binary 0.1.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-binary
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-buffer-array 1.1.0
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-buffer-array
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-calc 1.0.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-calc
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-calculate 0.1.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-calculate
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-chromecast-session 1.0.4
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-chromecast-session
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-counter 0.1.5
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-counter
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-cpu 0.0.4
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-cpu
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-dashboard-average-bars 0.0.6
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-dashboard-average-bars
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-float 1.0.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-float
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-flow-statistics 0.1.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-flow-statistics
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-graphs 0.3.5
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-graphs
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-gzip 0.0.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-gzip
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-html-to-text 0.0.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-html-to-text
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-i2c 0.6.2
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-i2c
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-image-output 0.6.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-image-output
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-image-tools 1.3.2
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-image-tools
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-java-function 0.1.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-java-function
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-modbus 5.13.2
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-modbus
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-moment2 1.0.5
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-moment2
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-nbrowser 1.1.4
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-nbrowser
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-npm 1.0.2
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-npm
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-pi-plates 0.0.9
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-pi-plates
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-play-audio 2.5.0
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-play-audio
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-python-function 0.0.5
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-python-function
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-say 0.1.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-say
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-sun-position 1.1.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-sun-position
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-suncron 1.4.2
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-suncron
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-totaliser 0.0.11
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-totaliser
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-ui-actions 0.1.8
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-ui-actions
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-ui-artless-gauge 0.1.45
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-ui-artless-gauge
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-ui-heatmap 2.1.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-ui-heatmap
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-ui-level 0.1.33
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-ui-level
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-ui-media 1.2.0
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-ui-media
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-ui-state-trail 0.3.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-ui-state-trail
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-ui-statechart 0.1.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-ui-statechart
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-ui-value-trail 0.2.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-ui-value-trail
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-uibuilder 2.0.8
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-uibuilder
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-unit-converter 0.0.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-unit-converter
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-vcgencmd 1.0.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-vcgencmd
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-zabbix-sender 1.0.0
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-contrib-zabbix-sender
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-dashboard 2.22.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-dashboard
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-base64 0.2.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-base64
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-email 1.7.8
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-email
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-mysql 0.1.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-mysql
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-openweathermap 0.2.2
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-openweathermap
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-pi-gpio 1.1.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-pi-gpio
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-ping 0.2.0
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-ping
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-random 0.1.4
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-random
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-rbe 0.2.9
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-rbe
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-serialport 0.10.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-serialport
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-smooth 0.1.2
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-smooth
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-snmp 0.0.24
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-snmp
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-sqlite 0.4.3
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-sqlite
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-tail 0.1.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-tail
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-twitter 1.1.6
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-twitter
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-ui-lineargauge 0.3.6
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-ui-lineargauge
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-ui-list 0.2.5
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-ui-list
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-ui-table 0.3.1
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /home/pi/.node-red/node_modules/node-red-node-ui-table
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-rbe 0.2.8 *ignored due to local copy*
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /usr/lib/node_modules/node-red/node_modules/node-red-node-rbe
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-node-tail 0.1.1 *ignored due to local copy*
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /usr/lib/node_modules/node-red/node_modules/node-red-node-tail
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] Module: node-red-contrib-python-function 0.0.4 *ignored due to local copy*
Jun 19 11:34:05 proelian Node-RED[32387]: 19 Jun 11:34:05 - [debug] /usr/lib/node_modules/node-red-contrib-python-function
Jun 19 11:34:07 proelian Node-RED[32387]: 19 Jun 11:34:07 - [info] Dashboard up and running
Jun 19 11:34:08 proelian Node-RED[32387]: 19 Jun 11:34:08 - [info] +-----------------------------------------------------
Jun 19 11:34:08 proelian Node-RED[32387]: 19 Jun 11:34:08 - [info] | uibuilder initialised:
Jun 19 11:34:08 proelian Node-RED[32387]: 19 Jun 11:34:08 - [info] | root folder: /home/pi/.node-red/uibuilder
Jun 19 11:34:08 proelian Node-RED[32387]: 19 Jun 11:34:08 - [info] | version . .: 2.0.8
Jun 19 11:34:08 proelian Node-RED[32387]: 19 Jun 11:34:08 - [info] | packages . : vue,bootstrap,bootstrap-vue,socket.io,jquery
Jun 19 11:34:08 proelian Node-RED[32387]: 19 Jun 11:34:08 - [info] +-----------------------------------------------------
Jun 19 11:34:08 proelian Node-RED[32387]: 19 Jun 11:34:08 - [info] Dashboard version 2.22.1 started at /ui
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [info] Settings file : /home/pi/.node-red/settings.js
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [info] Context store : 'default' [module=memory]
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [info] User directory : /home/pi/.node-red
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [warn] No active project : using default flows file
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [info] Flows file : /home/pi/.node-red/flows_proelian.json
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [info] Server now running at http://localhost:1880/
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [debug] loaded flow revision: 878806e6d05c0279648efe6513bf123f
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [debug] red/runtime/nodes/credentials.load : no user key present
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [debug] red/runtime/nodes/credentials.load : using default key
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [debug] red/runtime/nodes/credentials.load : keyType=system
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [warn]
Jun 19 11:34:09 proelian Node-RED[32387]: ---------------------------------------------------------------------
Jun 19 11:34:09 proelian Node-RED[32387]: Your flow credentials file is encrypted using a system-generated key.
Jun 19 11:34:09 proelian Node-RED[32387]: If the system-generated key is lost for any reason, your credentials
Jun 19 11:34:09 proelian Node-RED[32387]: file will not be recoverable, you will have to delete it and re-enter
Jun 19 11:34:09 proelian Node-RED[32387]: your credentials.
Jun 19 11:34:09 proelian Node-RED[32387]: You should set your own key using the 'credentialSecret' option in
Jun 19 11:34:09 proelian Node-RED[32387]: your settings file. Node-RED will then re-encrypt your credentials
Jun 19 11:34:09 proelian Node-RED[32387]: file using your chosen key the next time you deploy a change.
Jun 19 11:34:09 proelian Node-RED[32387]: ---------------------------------------------------------------------
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [info] Starting flows
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [debug] red/nodes/flows.start : starting flow : global
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [debug] red/nodes/flows.start : starting flow : 6acc9db.7a04264
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [debug] red/nodes/flows.start : starting flow : c3b24910.186f48
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [debug] red/nodes/flows.start : starting flow : ff00b690.4e7c68
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [debug] red/nodes/flows.start : starting flow : 59cf5e6e.f0303
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [debug] [position-config:San Andreas CA] initialize latitude=38.1960298 longitude=-120.6804872 tzOffset=null tzDST=0
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [debug] [position-config:San Andreas CA] initialize latitude=38.1960298 longitude=-120.6804872 tzOffset=null tzDST=0
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [info] [python-function:MCP9808 I2C Inquiry] Python function 'MCP9808 I2C Inquiry' running on PID 32426
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [info] [python-function:MCP3428-1] Python function 'MCP3428-1' running on PID 32430
Jun 19 11:34:09 proelian Node-RED[32387]: 19 Jun 11:34:09 - [info] Started flows
Jun 19 11:34:10 proelian Node-RED[32387]: 19 Jun 11:34:10 - [info] serial port /dev/ttyUSB1 opened at 115200 baud 8N1
Jun 19 11:34:10 proelian Node-RED[32387]: 19 Jun 11:34:10 - [info] serial port /dev/ttyUSB0 opened at 115200 baud 8N1
Jun 19 11:34:10 proelian Node-RED[32387]: 19 Jun 11:34:10 - [info] [mqtt-broker:PI] Connected to broker: mqtt://127.0.0.1:1883

```

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 June 2020 19:26 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/9 "2020-06-19T19:26:18Z")

</div>

I can't see anything there that might be a problem. As you said earlier it is as if you can't connect to the camera. You haven't got something else connected to it already have you? Perhaps try a reboot and try it before doing anything else.  
Other than that I don't know. Maybe ask on a pi forum what might cause that error with raspivid.

---

<div class="post-metadata">

**Author:** ![vlturner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vlturner/32/15211_2.png) [@vlturner](https://discourse.nodered.org/u/vlturner)\
**Post date:** [19 June 2020 19:37 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/10 "2020-06-19T19:37:24Z")

</div>

No we can run the command as pi and it works. But node-red cant seem to run the command in an exec node. Makes no sense.

And node-red is run as pi user

Remember, I never have an easy problem....

I'm hoping @dceejay sees this and chimes up. 🙂

Maybe I can set logging to see the error. Error code 127 seems ode to me though.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 June 2020 19:50 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/11 "2020-06-19T19:50:02Z")

</div>

When you run it in a terminal is the display connected to the pi? I wonder if it doesn't work if it is not running in a session with a display. Can you connect to the pi via ssh and run the command like that?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 June 2020 19:54 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/12 "2020-06-19T19:54:31Z")

</div>

Try adding `DISPLAY=:0 `to the front of the command, but that is just a wild guess and anyone who knows what they are talking about will probably laugh at the suggestion.

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [19 June 2020 20:03 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/13 "2020-06-19T20:03:19Z")

</div>

Error code 127 returned, when using the bash shell which is the default on raspberry pi, usually means `command not found`. Can you use an exec node and see what happens if you give the command `ls -ahl /usr/bin/raspivid` and what it returns in permissions and all there? A different option is that there's part of the command it can't fully understand or that a file referenced in it can't be found, or a script/library underneath it. With the idea that it works from a script, those sound unlikely as reason.  
Oh, and take a look at `/tmp/` and see if there's already a video.h264 there, and if so which user owns it, and if the pi user has permission to that file.

---

<div class="post-metadata">

**Author:** ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)\
**Post date:** [19 June 2020 20:13 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/14 "2020-06-19T20:13:32Z")

</div>

> [@vlturner](#):
>
> Command failed: Video Capture /usr/bin/raspivid -t 30000 -w 570 -h 570 -fps 25 -b 1200000 -p 0,0,570,570 -o /tmp/video.h264

Why is **Video Capture** at the start of the command the exec node is trying to execute?  
In this case dash is trying to execute a program/script called **Video** in your path which it cant find. Shouldn’t your command start with **/usr/bin/raspivid** or even just **raspivid**? Am i misunderstanding something here?

---

<div class="post-metadata">

**Author:** ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)\
**Post date:** [19 June 2020 20:25 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/15 "2020-06-19T20:25:22Z")

</div>

nodered actually calls exec scripts with dash not bash right now on raspberry pis as this is what raspberry pi os symlinks from /bin/sh/ and this in turn is what node.js uses.  
There is actually a pull request merged already which should change this for the exec node soon and make use of bash if its there as there were a few problems with how node.js child process and dash interacted.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 June 2020 20:36 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/16 "2020-06-19T20:36:20Z")

</div>

> [@JGKK](#):
>
> Why is **Video Capture** at the start of the command

That is the name of the exec node I believe. However, the error `Video: not found` might indicate that it is trying to run a command called Video for some reason.

@vlturner can you post exactly the flow that generates that error please? Using the `</>` button.

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [19 June 2020 20:37 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/17 "2020-06-19T20:37:52Z")

</div>

I thought `Video capture` was part of the error message, but that explains the exact thing... And the whole `Video not found` would explain the error 127 because Video is not a known command. Spot on!

Found it:

```auto
{
    "id": "ac7596c1.99aee",
    "type": "exec",
    "z": "1591fded.581fe2",
    "command": "Video Capture",
    "addpay": false,
    "append": "/usr/bin/raspivid -t 30000 -w 570 -h 570 -fps 25 -b 1200000 -p 0,0,570,570 -o /tmp/video.h264",
    "useSpawn": "false",
    "timer": "90",
    "oldrc": false,
    "name": "",
    "x": 700,
    "y": 240,
    "wires": [
        ["ee9b8c23.f45c4"],
        ["ee9b8c23.f45c4"],
        ["ee9b8c23.f45c4"]
    ]
}

```

The command in the exec node is `Video capture`, so it is configured wrong. The parameters/actual command are appended.

For comparison, here's the raspistill command from the same flow:

```auto
{
    "id": "6e5e2f42.183ba8",
    "type": "exec",
    "z": "1591fded.581fe2",
    "command": "raspistill",
    "addpay": false,
    "append": "-vs -ex night -w 570 -h 570 -o -",
    "useSpawn": "false",
    "timer": "",
    "oldrc": false,
    "name": "",
    "x": 660,
    "y": 120,
    "wires": [
        ["4f40679e.837c9"],
        [],
        []
    ]
}

```

which is set up correctly, and does work okay.

---

<div class="post-metadata">

**Author:** ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)\
**Post date:** [19 June 2020 20:40 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/18 "2020-06-19T20:40:56Z")

</div>

No i just tested with an invalid command and it is how i think it was the exec node with this output was actually trying to run the literal command:

```auto
Video Capture /usr/bin/raspivid -t 30000 -w 570 -h 570 -fps 25 -b 1200000 -p 0,0,570,570 -o /tmp/video.h264

```

Edit as @afelix just also pointed out in the json of the exported flow

---

<div class="post-metadata">

**Author:** ![vlturner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vlturner/32/15211_2.png) [@vlturner](https://discourse.nodered.org/u/vlturner)\
**Post date:** [19 June 2020 20:41 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/19 "2020-06-19T20:41:03Z")

</div>

Thank you all kind sirs....I think this will be useful for those trying to pull in videos. We do need to write a node to do all this mp4 wrapper stuff and camera options...

Hint...Hint...@dceejay....😉

I'm just up to my ears in patent and grant paperwork...

Will know in 8 days as to my chance at $50K

> **[Water Resource Recovery Prize | HeroX](https://www.herox.com/WaterResourceRecovery/timeline)**
>
> Address the global need for safe, secure, and affordable water through cutting-edge water resource recovery.

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [19 June 2020 20:42 UTC](https://discourse.nodered.org/t/raspivid-and-node-red/28585/20 "2020-06-19T20:42:13Z")

</div>

_still not a sir_  
Regardless, to fix it try setting the properties of your raspivid node to match those of your raspistill node. Set the values for `command` and `append` correctly and retry, see if it changes.

[Next page](https://discourse.nodered.org/t/raspivid-and-node-red/28585.md?page=2)
