Hacker Newsnew | past | comments | ask | show | jobs | submit | hardillb's commentslogin

The original ("v1") Node-RED Dashboard is now deprecated

https://discourse.nodered.org/t/node-red-dashboard-v1-deprec...


The flows are stored as JSON and there is a setting to save them as prettified to make them more readable (`flowFilePretty: true` in the settings.js which is on by default in recent release).

Also the flow storage is fully plugable (https://nodered.org/docs/api/storage/) so nothing to stop you choosing/implementing a different storage format e.g. YAML https://github.com/natcl/node-red-contrib-yaml-storage


But can you actually hand-write it? When I last looked IDs were UUIDs or similar, so you'd have to create a node in the GUI for a start, and even then the structure of it just clearly wasn't designed for manual editing or diffing. 'Storage' sort of sums it up really, doesn't it?


Given Node-RED is intended as a low-code programming tool, hand-writing the flow JSON has never really been a requirement - certainly not one I can recall being brought up in the community. It's certainly possible to generate flow JSON via other means as the format is not hugely complicated once you know the format.

It's an array of objects, each representing a 'thing' in the flow. Each object has a unqiue id (which can be any randomly generated value), and other meta data that defines what the object is and what its configuration is.

Given most nodes have been implemented with a graphical UI in mind for configuring the nodes, you'd have to refer to individual nodes to understand what node-specific properties they require.


> certainly not one I can recall being brought up in the community

Maybe I'm not/HN isn't 'the community', but when I mentioned it 6 months ago [0] you said it was 'an area [you'd] like to improve'. ;)

The relative popularity of my comment above suggests others would be interested too. I understand it's not the focus/target audience necessarily though, I was clearer about that in [0], just a shame (for me) that the low/no-code isn't built on top of code(ish)-allowed.

It could have been an integral part (and really useful!) of ETL pipelines at work, but not without a git-sane, text-editor-editable file format. (JSON ok - not the best perhaps but ok - I mean more about requirements of IDs and general structure of the document.)

[0] - https://news.ycombinator.com/item?id=27896478


Thank you for creating this tool, I use it on multiple machines and enjoy when i find another new use for it.


Location: UK (Bristol)

Remote: No

Willing to relocate: Would like to move back up to the North of England

Technologies: IoT, Connectivity, Linux, Docker, MQTT, Alexa/Google Assistant Smart Home Skills, NodeJS, Java, Crank Storyboard

Résumé/CV: https://www.hardill.me.uk/wordpress/about/curriculum-vitae/

Email: hardillb@gmail.com

Looking for Lead Dev/Architect for IoT/Connectivity project.


Location: UK (Bristol)

Remote: no

Willing to relocate: Yes

Technologies: Linux, NodeJS, MQTT, IoT, Docker, Node-RED, Crank Storyboard, Echo/Google Assistant Smart Home

Résumé/CV: https://www.hardill.me.uk/wordpress/about/curriculum-vitae/

Email: hardillb@gmail.com

Looking for Lead Dev/Architect for IoT/Connectivity project.


Yep, should work fine with a USB-A to USB-C cable as well


Yep


Say you are a mac user and want a portable Linux environment to play with that has GPIO? (That you can use on a plane)

You want to run a secure off line personal Certificate Authority (a Pi Zero would probably be enough and can work in the same way)

It can also be any other type of USB device, e.g. a HID device (keyboard/mouse/joystick) you can dream up loads of interesting things to do with this


I use a 3A+ for this. Works great, uses a lot less power, and is smaller.


The power draw is better with the new bootloader (lets the whole USB stack drop into low power mode)

Also this is USB-C native for all the mac book folk out there that hate to carry all those adapters


I wonder if they've been holding out on this until after the Google vs Oracle Android/Java API stuff?

My gut feel is this could fall under the same sort of arguments as they are effectively re-documenting other peoples APIs


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: