question

itsme avatar image
itsme asked

Node-RED: "Custom Control Node" only number format?

Hello,

is it a bug? When I read from a custom Node i receive a string... when i want to write to that custom node, I get an errormessage, that it's not a number...

nodered-customnodes.png

Node-REDbug report
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

3 Answers
Dirk-Jan Faber (Victron Energy) avatar image
Dirk-Jan Faber (Victron Energy) answered ·

You need at least version 1.5.16 of node-red-contrib-victron to get that working. Which means either switching to the beta firmware feed or waiting until 3.40 gets released.

https://github.com/victronenergy/node-red-contrib-victron/releases/tag/v1.5.16

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

itsme avatar image itsme commented ·
THANK YOU!!!

That will solve a lot of my problems!

0 Likes 0 ·
Alexandra avatar image
Alexandra answered ·

@ItsMe

The control for a relay can only be 0 or 1. It is either on or off.

1000045301.jpg


1000045301.jpg (87.5 KiB)
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

itsme avatar image
itsme answered ·

@Alexandra

thank you for your reply.

;-) I know that, but I'm talking about the "CustomName"...

1717002989569.png

The Relay was just an example to demonstrate it. It happens on ALL Custom Control Nodes, even the one I've created by myself.


1717002989569.png (74.1 KiB)
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.