-
I tested Raspberry pi pico W with pico display 2.0. I tried Node-RED Dashboard on it, but it doesn't work and stopped working after turned it on soon. [command] [flows.json] [
{
"id": "70caf9a6d711f6a7",
"type": "tab",
"label": "フロー 1",
"disabled": false,
"info": "",
"env": [],
"_mcu": {
"mcu": true
}
},
{
"id": "de0fcfd6a81e1634",
"type": "ui_tab",
"name": "home",
"icon": "dashboard",
"disabled": false,
"hidden": false,
"_mcu": {
"mcu": false
}
},
{
"id": "21ef63c93608c616",
"type": "ui_base",
"theme": {
"name": "theme-light",
"lightTheme": {
"default": "#0094CE",
"baseColor": "#0094CE",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif",
"edited": true,
"reset": false
},
"darkTheme": {
"default": "#097479",
"baseColor": "#097479",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif",
"edited": false
},
"customTheme": {
"name": "Untitled Theme 1",
"default": "#4B7930",
"baseColor": "#4B7930",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"
},
"themeState": {
"base-color": {
"default": "#0094CE",
"value": "#0094CE",
"edited": false
},
"page-titlebar-backgroundColor": {
"value": "#0094CE",
"edited": false
},
"page-backgroundColor": {
"value": "#fafafa",
"edited": false
},
"page-sidebar-backgroundColor": {
"value": "#ffffff",
"edited": false
},
"group-textColor": {
"value": "#1bbfff",
"edited": false
},
"group-borderColor": {
"value": "#ffffff",
"edited": false
},
"group-backgroundColor": {
"value": "#ffffff",
"edited": false
},
"widget-textColor": {
"value": "#111111",
"edited": false
},
"widget-backgroundColor": {
"value": "#0094ce",
"edited": false
},
"widget-borderColor": {
"value": "#ffffff",
"edited": false
},
"base-font": {
"value": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"
}
},
"angularTheme": {
"primary": "indigo",
"accents": "blue",
"warn": "red",
"background": "grey",
"palette": "light"
}
},
"site": {
"name": "Node-RED ダッシュボード",
"hideToolbar": "false",
"allowSwipe": "false",
"lockMenu": "false",
"allowTempTheme": "true",
"dateFormat": "YYYY/MM/DD",
"sizes": {
"sx": 48,
"sy": 48,
"gx": 6,
"gy": 6,
"cx": 6,
"cy": 6,
"px": 0,
"py": 0
}
}
},
{
"id": "28c093aa4ff3c8bb",
"type": "ui_group",
"name": "default",
"tab": "de0fcfd6a81e1634",
"order": 1,
"disp": true,
"width": "6",
"collapse": false,
"className": "",
"_mcu": {
"mcu": false
}
},
{
"id": "dae37bbf6c9c4907",
"type": "ui_text",
"z": "70caf9a6d711f6a7",
"group": "28c093aa4ff3c8bb",
"order": 2,
"width": 0,
"height": 0,
"name": "",
"label": "text",
"format": "{{msg.payload}}",
"layout": "row-spread",
"className": "",
"style": false,
"font": "",
"fontSize": 16,
"color": "#000000",
"_mcu": {
"mcu": true
},
"x": 330,
"y": 160,
"wires": []
},
{
"id": "7c52637745382047",
"type": "inject",
"z": "70caf9a6d711f6a7",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "1",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"_mcu": {
"mcu": true
},
"x": 150,
"y": 100,
"wires": [
[
"95e009c874f15a3f",
"dae37bbf6c9c4907"
]
]
},
{
"id": "95e009c874f15a3f",
"type": "debug",
"z": "70caf9a6d711f6a7",
"name": "debug 2",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"_mcu": {
"mcu": true
},
"x": 340,
"y": 100,
"wires": []
}
] |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
@kitazaki – it is great that you are trying this. Thank you. One question for you: did you try the same flow on an ESP32 with a display? That would be helpful to know, since it would confirm the flow works correctly with the MCU Edition runtime. If you don't have an ESP32 with a display, you could also try the simulator. As you can understand, the Node-RED dashboard requires more memory. It was a bit of a challenge to make it work on ESP32, which has more RAM than Pico. So, we probably have some work to do here to get it working. Please have some patience as we try. I will take a look in the next day or two and share some suggestions and/or results. |
Beta Was this translation helpful? Give feedback.
-
This flow works fine on M5Stack(esp32) and simulator(macOS). |
Beta Was this translation helpful? Give feedback.
-
I only change the Creation Params. [Creation Params] "pico": {
"creation": {
"static": 65536,
"chunk": {
"initial": 1024,
"incremental": 1024
},
"heap": {
"initial": 64,
"incremental": 64
},
"keys": {
"available": 8
}
}
} It's same Configuration as ESP32 |
Beta Was this translation helpful? Give feedback.
This works great! Thanks!
I only change the Creation Params.
[Creation Params]
It's same Configuration as ESP32
[Configuration]