Gauge node not working

552 views
Skip to first unread message

Anders Tøgern

unread,
Mar 19, 2016, 5:45:28 PM3/19/16
to Node-RED UI
Hi all,

I have just discovered node-red-contrib-ui and quite amazed by the great look of the interface it provides and found the gauge widget particularly interesting.

Unfortunately I cannot get the gauge to work. I am running Node-Red 13.3 on a Raspberry PI and with the latest -ui release (about 3 months old). There is no info-text for the gauge widget, which of course indicates that it has not been completed in its first release yet, however, what I can deduct from the source code is that it acts simply on the msg.payload value (e.g. msg.payload = 5). That does not work, however, and I have been unable to find any information about it on-line.

So, does anybody know how to get the gauge working?

I would be very grateful for at least some guidance on its current state of development (other than the project seemingly having been taken over by the Node-Red team).

Cheers

- Anders

Julian Knight

unread,
Mar 21, 2016, 8:41:13 PM3/21/16
to Node-RED UI
What have you sent to it? I have several working and they are all fine.

Here is an example - it takes data direct from an MQTT input.

The {{value}} comes direct from the msg.payload in this case. That's to say that the inbound msg.payload = {{value}}

Anders Tøgern

unread,
Mar 23, 2016, 8:05:47 AM3/23/16
to Node-RED UI
Hi Julian,

I thought it could parse a JSON payload!

Anyway, I got it working with MQTT, thanks to your reply.

Thanks!

Cheers
-Anders
Reply all
Reply to author
Forward
0 new messages