update: final update to flow
This commit is contained in:
parent
fd741afc5a
commit
ebdf7876ce
|
@ -1478,7 +1478,7 @@
|
||||||
"timer": "1",
|
"timer": "1",
|
||||||
"oldrc": false,
|
"oldrc": false,
|
||||||
"name": "i2c update",
|
"name": "i2c update",
|
||||||
"x": 520,
|
"x": 530,
|
||||||
"y": 1080,
|
"y": 1080,
|
||||||
"wires": [
|
"wires": [
|
||||||
[],
|
[],
|
||||||
|
@ -3777,16 +3777,15 @@
|
||||||
"command": "bash /home/pi/PlanktonScope/scripts/bash/update.sh",
|
"command": "bash /home/pi/PlanktonScope/scripts/bash/update.sh",
|
||||||
"addpay": false,
|
"addpay": false,
|
||||||
"append": "",
|
"append": "",
|
||||||
"useSpawn": "false",
|
"useSpawn": "true",
|
||||||
"timer": "2",
|
"timer": "",
|
||||||
"oldrc": false,
|
"oldrc": false,
|
||||||
"name": "Update",
|
"name": "Update",
|
||||||
"x": 300,
|
"x": 300,
|
||||||
"y": 520,
|
"y": 520,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"1fa7fddf.18161a",
|
"1fa7fddf.18161a"
|
||||||
"8c3e4a1c.1ebbb"
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"8c3e4a1c.1ebbb"
|
"8c3e4a1c.1ebbb"
|
||||||
|
@ -4036,7 +4035,7 @@
|
||||||
"order": 1,
|
"order": 1,
|
||||||
"width": 0,
|
"width": 0,
|
||||||
"height": 0,
|
"height": 0,
|
||||||
"format": "<div><center>If you want to update to the latest code version of Node-Red and Python, please click here.\nWe are trying to save your changes with git stash and restore them afterwards, but clearly, things may break!</center></div>",
|
"format": "<div><center>If you want to update to the latest code version of Node-Red and Python, please click here.\nWe are trying to save your configuration changes with git stash and restore them afterwards, but clearly, things may break!\nIf you have made changes to the flow, you will lose them. Please commit those changes from Node-Red interface, from the Project History tab.</center></div>",
|
||||||
"storeOutMessages": true,
|
"storeOutMessages": true,
|
||||||
"fwdInMessages": true,
|
"fwdInMessages": true,
|
||||||
"resendOnRefresh": true,
|
"resendOnRefresh": true,
|
||||||
|
@ -4752,8 +4751,7 @@
|
||||||
"y": 700,
|
"y": 700,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"3e64877a.9684b",
|
"3e64877a.9684b"
|
||||||
"1bdd7f07.616f69"
|
|
||||||
],
|
],
|
||||||
[],
|
[],
|
||||||
[]
|
[]
|
||||||
|
@ -4770,7 +4768,7 @@
|
||||||
"initialize": "",
|
"initialize": "",
|
||||||
"finalize": "",
|
"finalize": "",
|
||||||
"x": 790,
|
"x": 790,
|
||||||
"y": 640,
|
"y": 660,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"8343fa69.49339"
|
"8343fa69.49339"
|
||||||
|
@ -4954,7 +4952,7 @@
|
||||||
"format": "{{msg.payload}}",
|
"format": "{{msg.payload}}",
|
||||||
"layout": "row-spread",
|
"layout": "row-spread",
|
||||||
"x": 1040,
|
"x": 1040,
|
||||||
"y": 640,
|
"y": 660,
|
||||||
"wires": []
|
"wires": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -4973,23 +4971,6 @@
|
||||||
"y": 740,
|
"y": 740,
|
||||||
"wires": []
|
"wires": []
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "1bdd7f07.616f69",
|
|
||||||
"type": "debug",
|
|
||||||
"z": "1371dec5.76e671",
|
|
||||||
"name": "",
|
|
||||||
"active": true,
|
|
||||||
"tosidebar": true,
|
|
||||||
"console": false,
|
|
||||||
"tostatus": false,
|
|
||||||
"complete": "payload",
|
|
||||||
"targetType": "msg",
|
|
||||||
"statusVal": "",
|
|
||||||
"statusType": "auto",
|
|
||||||
"x": 790,
|
|
||||||
"y": 680,
|
|
||||||
"wires": []
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "a0e2d78c.a587e",
|
"id": "a0e2d78c.a587e",
|
||||||
"type": "inject",
|
"type": "inject",
|
||||||
|
|
|
@ -4,7 +4,6 @@ log="logger -t update.sh -s "
|
||||||
${log} "Updating the main repository"
|
${log} "Updating the main repository"
|
||||||
cd /home/pi/PlanktonScope
|
cd /home/pi/PlanktonScope
|
||||||
|
|
||||||
echo "Update output:\n"
|
|
||||||
sudo killall -15 raspimjpeg
|
sudo killall -15 raspimjpeg
|
||||||
sudo killall -15 python3
|
sudo killall -15 python3
|
||||||
git stash
|
git stash
|
||||||
|
|
Loading…
Reference in a new issue