How do I make a boolean converter send false when I stop dragging the JoyStick?
My flow:
[
{
"id": "11ef2821d88603d2",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "63cfafe0c040a2fc",
"type": "ui_joystick",
"z": "11ef2821d88603d2",
"name": "JoyStick Guindaste",
"group": "e5316a08cde9d3cd",
"order": 2,
"width": "4",
"height": "4",
"trigger": "all",
"timeInterval": "250",
"useThemeColor": true,
"color": "#7b73c9",
"threshold": "0.1",
"directions": "all",
"shape": "circle",
"centerAtRelease": true,
"x": 90,
"y": 440,
"wires": [
[
"a23c6c5d9724fc2d"
]
]
},
{
"id": "a23c6c5d9724fc2d",
"type": "switch",
"z": "11ef2821d88603d2",
"name": "payload.direction.angle",
"property": "payload.direction.angle",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "up",
"vt": "str"
},
{
"t": "eq",
"v": "down",
"vt": "str"
},
{
"t": "eq",
"v": "left",
"vt": "str"
},
{
"t": "eq",
"v": "right",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 4,
"x": 330,
"y": 440,
"wires": [
[
"5d7ff6244b22d18f"
],
[
"799a8c22a9b4ae43"
],
[
"272198d933e1974e"
],
[
"60a61d31a99a5f7f"
]
],
"outputLabels": [
"up",
"down",
"left",
"right"
]
},
{
"id": "60a61d31a99a5f7f",
"type": "change",
"z": "11ef2821d88603d2",
"name": "Right",
"rules": [
{
"t": "set",
"p": "pan_speed",
"pt": "msg",
"to": "0.5",
"tot": "num"
},
{
"t": "set",
"p": "action",
"pt": "msg",
"to": "continuousMove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 550,
"y": 500,
"wires": [
[
"fa66599e5c187151"
]
]
},
{
"id": "272198d933e1974e",
"type": "change",
"z": "11ef2821d88603d2",
"name": "Left",
"rules": [
{
"t": "set",
"p": "pan_speed",
"pt": "msg",
"to": "-0.5",
"tot": "num"
},
{
"t": "set",
"p": "action",
"pt": "msg",
"to": "continuousMove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 550,
"y": 440,
"wires": [
[
"dbd90cde6b66283c"
]
]
},
{
"id": "5d7ff6244b22d18f",
"type": "change",
"z": "11ef2821d88603d2",
"name": "Up",
"rules": [
{
"t": "set",
"p": "tilt_speed",
"pt": "msg",
"to": "0.5",
"tot": "num"
},
{
"t": "set",
"p": "action",
"pt": "msg",
"to": "continuousMove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 550,
"y": 320,
"wires": [
[
"77fddacc6df05fb6"
]
]
},
{
"id": "799a8c22a9b4ae43",
"type": "change",
"z": "11ef2821d88603d2",
"name": "Down",
"rules": [
{
"t": "set",
"p": "tilt_speed",
"pt": "msg",
"to": "-0.5",
"tot": "num"
},
{
"t": "set",
"p": "action",
"pt": "msg",
"to": "continuousMove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 550,
"y": 380,
"wires": [
[
"cd87d231de89c4f5"
]
]
},
{
"id": "77fddacc6df05fb6",
"type": "convert",
"z": "11ef2821d88603d2",
"name": "",
"convertTo": "boolean (0/1)",
"x": 730,
"y": 320,
"wires": [
[
"8efc3bb0bb7930c9"
]
]
},
{
"id": "cd87d231de89c4f5",
"type": "convert",
"z": "11ef2821d88603d2",
"name": "",
"convertTo": "boolean (0/1)",
"x": 730,
"y": 380,
"wires": [
[]
]
},
{
"id": "fa66599e5c187151",
"type": "convert",
"z": "11ef2821d88603d2",
"name": "",
"convertTo": "boolean (0/1)",
"x": 730,
"y": 500,
"wires": [
[]
]
},
{
"id": "dbd90cde6b66283c",
"type": "convert",
"z": "11ef2821d88603d2",
"name": "",
"convertTo": "boolean (0/1)",
"x": 730,
"y": 440,
"wires": [
[]
]
},
{
"id": "8efc3bb0bb7930c9",
"type": "debug",
"z": "11ef2821d88603d2",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1050,
"y": 320,
"wires": []
},
{
"id": "e5316a08cde9d3cd",
"type": "ui_group",
"name": "Defaultwefe",
"tab": "52005453115d197f",
"order": 1,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "52005453115d197f",
"type": "ui_tab",
"name": "Home",
"icon": "dashboard",
"disabled": false,
"hidden": false
}
]