I deleted my original post because I suddenly got it working and thought it was a PEBKAC problem, but then I tested further and discovered more.
So here it goes, again:
When I drag a new ui_switch node onto my flow canvas and change the On/Off payload values from boolean true/false to number with On payload value 1 and Off value 0, these are not accepted when clicking Done.
Re-opening the node shows the values again as true and false, which is not accepted as a numerical input.
Any other value in either field works but initially I didn’t test with other values.
After using an arbitrary numerical value, clicking Done and re-opening the node, the 1 and 0 values are allowed as On and Off payloads
Since @guystewart bumped this (old) post to the correct context (thanks for that) I’ll add the disclaimer that my reported issue is very likely not related to anything Victron has any control over.
The ‘issue’ is probably present in Node Red in general and if I find out how I’ll report it there as well.
Please consider my original post as a “Heads up / Warning / FYI” message and not a Victron bug.
Fine print and all
1 Like
guystewart
(Guy Stewart (Victron Community Manager))
3
The context to the adjustment I made was moving all the node red posts to their own category, as node red has now matured beyond just the small scale modifications community and into a real world production tool that we are increasingly seeing deployed at larger scale.