I am using the old Dashboard Pallet on my Mac, running Node-Rec v3.10
I built a flow using the EXEC node to open a file on my Mac. For example:
"open /Users/alanblind/Documents/AudioHijack/Goyo_On.ahcommand"
When I use any dashboard widget, to trigger the EXEC node, it takes two clicks on the widget to get a msg.payload output and trigger the EXEC node. I have tried several dashboard widgets with the same result.
If I remove the wire to the EXEC node, so it does not trigger the EXEC node, on every click, the dashboard widget works just fine.
There appears to be an "invisible" interaction between the EXEC command to open a file, and the Dashboard Widget??
Below is a test flow, using a button and EXEC node, to demonstrate. Change the filepath to open for your testing.
Any ideas how to correct this behavior?
Alan
[
{
"id": "76f77705e7a22a6e",
"type": "exec",
"z": "736a5b30bbc4c6f5",
"command": "open /Users/alanblind/Documents/AudioHijack/Goyo_On.ahcommand",
"addpay": "",
"append": "",
"useSpawn": "false",
"timer": "",
"winHide": false,
"oldrc": false,
"name": "On",
"x": 1250,
"y": 200,
"wires": [
[
"c32244664fd60b0d"
],
[],
[]
]
},
{
"id": "ef82d023d91a4469",
"type": "exec",
"z": "736a5b30bbc4c6f5",
"command": "open /Users/alanblind/Documents/AudioHijack/Goyo_Off.ahcommand",
"addpay": "",
"append": "",
"useSpawn": "false",
"timer": "",
"winHide": false,
"oldrc": false,
"name": "Off",
"x": 1250,
"y": 300,
"wires": [
[
"522bb171ce63d177"
],
[],
[]
]
},
{
"id": "3c289c37ba2fc16d",
"type": "ui_button",
"z": "736a5b30bbc4c6f5",
"name": "On",
"group": "eabc5ef371203f41",
"order": 1,
"width": "3",
"height": "1",
"passthru": false,
"label": "On",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"payload": "trigger",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 910,
"y": 200,
"wires": [
[
"76f77705e7a22a6e",
"afa73ad4a91301e6"
]
]
},
{
"id": "676e2fdac8d986ab",
"type": "inject",
"z": "736a5b30bbc4c6f5",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 1080,
"y": 60,
"wires": [
[
"76f77705e7a22a6e"
]
]
},
{
"id": "1accbcc89e3358ab",
"type": "ui_button",
"z": "736a5b30bbc4c6f5",
"name": "Of",
"group": "eabc5ef371203f41",
"order": 1,
"width": "3",
"height": "1",
"passthru": false,
"label": "Of",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"payload": "trigger",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 910,
"y": 300,
"wires": [
[
"ef82d023d91a4469",
"c475a3ae8e43eb74"
]
]
},
{
"id": "167ccf4c7b526f1e",
"type": "inject",
"z": "736a5b30bbc4c6f5",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 1080,
"y": 480,
"wires": [
[
"ef82d023d91a4469"
]
]
},
{
"id": "c32244664fd60b0d",
"type": "debug",
"z": "736a5b30bbc4c6f5",
"name": "debug 1",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 1470,
"y": 180,
"wires": []
},
{
"id": "522bb171ce63d177",
"type": "debug",
"z": "736a5b30bbc4c6f5",
"name": "debug 2",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 1460,
"y": 280,
"wires": []
},
{
"id": "afa73ad4a91301e6",
"type": "debug",
"z": "736a5b30bbc4c6f5",
"name": "debug 3",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1060,
"y": 160,
"wires": []
},
{
"id": "c475a3ae8e43eb74",
"type": "debug",
"z": "736a5b30bbc4c6f5",
"name": "debug 4",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1040,
"y": 360,
"wires": []
},
{
"id": "eabc5ef371203f41",
"type": "ui_group",
"name": "Audio HiJack",
"tab": "3ed6823a2db5f54a",
"order": 1,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "3ed6823a2db5f54a",
"type": "ui_tab",
"name": "Tab 1",
"icon": "dashboard",
"order": 1
}
]