Im trying to get my neopixel to work but I keep getting the error: node-red:rpi-gpio.status.not-available.
I'm using a raspberry pi 4 with a fresh install of the default os.
[
{
"id": "475b960ba1324373",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "68f9499a0c156161",
"type": "rpi-neopixels",
"z": "475b960ba1324373",
"name": "",
"gpio": "12",
"pixels": "24",
"bgnd": "",
"fgnd": "",
"wipe": "40",
"mode": "pcent",
"rgb": "rgb",
"brightness": "100",
"gamma": true,
"x": 790,
"y": 140,
"wires": []
},
{
"id": "1d3327fdda6512cb",
"type": "inject",
"z": "475b960ba1324373",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 400,
"y": 140,
"wires": [
[
"1085fb7bb4a5ab9e"
]
]
},
{
"id": "1085fb7bb4a5ab9e",
"type": "function",
"z": "475b960ba1324373",
"name": "function 1",
"func": "msg.payload = 'Orange';\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 580,
"y": 140,
"wires": [
[
"68f9499a0c156161",
"9355e0ea1681d292"
]
]
},
{
"id": "9355e0ea1681d292",
"type": "debug",
"z": "475b960ba1324373",
"name": "debug 1",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 780,
"y": 100,
"wires": []
}
]
Does anyone know how I can fix this or what could be the cause?