# UPS advice and node red

**URL:** https://discourse.nodered.org/t/ups-advice-and-node-red/41836
**Category:** General
**Created:** [1 March 2021 16:44 UTC](https://discourse.nodered.org/t/ups-advice-and-node-red/41836 "2021-03-01T16:44:04Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![877](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/877/32/8207_2.png) [@877](https://discourse.nodered.org/u/877)
#### Post date: [17 March 2021 16:26 UTC](https://discourse.nodered.org/t/ups-advice-and-node-red/41836/7 "2021-03-17T16:26:12Z")

</div>

@TotallyInformation may I ask something further from you please?

I have everything up and running now, I had to use some more steps due to having a Dockerised Node Red install, I even wrote a [guide](https://gist.github.com/877dev/0b0f411aef84408a9b860db2ccdb25ea) to remind myself for future.

From a [previous post](https://discourse.nodered.org/t/influxdb-structure-advice-needed/32753) I believe you use influxDB as well?

Well my issue is that the outputs from your flow are strings,whereas 'real' values are needed to display in Grafana. I'm wondering if you have a way around this?

Example:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/4/b496bdae541279577f8d8f1ea4379cca3e222982.png)

I have this function working for one payload at a time, but handling the whole lot is evading me for now:

```auto
let pay = msg.payload.split(" ");
msg.payload = {[pay[1]] : parseFloat(pay[0])};
return msg;

```

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/c/3c3514a2e94bd0c48491fed4dcc48b22248038e0.png)

---

_[View the full topic](https://discourse.nodered.org/t/ups-advice-and-node-red/41836)._
