# Missing something in how to decode an output SOLVED I hope

**URL:** <https://discourse.nodered.org/t/missing-something-in-how-to-decode-an-output-solved-i-hope/661>\
**Category:** General\
**Created:** [7 June 2018 11:02 UTC](https://discourse.nodered.org/t/missing-something-in-how-to-decode-an-output-solved-i-hope/661 "2018-06-07T11:02:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [7 June 2018 11:02 UTC](https://discourse.nodered.org/t/missing-something-in-how-to-decode-an-output-solved-i-hope/661/1 "2018-06-07T11:02:11Z")

</div>

Sorry folks, but I’m stuck.

Recently installed “hostip” node.

Nice. It seems to do what I need. I think.

But the output:

```auto
msg : Object
object
_msgid: "b7761d7a.5ea9"
topic: ""
payload: array[2]
0: object
address: "192.168.0.86"
family: "IPv4"
1: object

```

So how do I get to “look at” this in a function node?  
the 192.168.0.86…

that will be msg.Object.0?

(Trying myself, but I need to ask.)

Thanks.

Shall post if I resolve it in the mean time.

I was so close.

Seems msg.payload[0] works.

(maybe I need to be shown how to delete a thread if I find the answer too quickly.  
Saves everyone, and me from looking more stupid than I already am.)

Gotta try to save face now and then.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [7 June 2018 11:29 UTC](https://discourse.nodered.org/t/missing-something-in-how-to-decode-an-output-solved-i-hope/661/2 "2018-06-07T11:29:57Z")

</div>

I recommend you have a read of [https://nodered.org/docs/user-guide/messages](https://nodered.org/docs/user-guide/messages) as it explains how to work with messages and use the Debug sidebar to identify how to address message properties.

I also recommend you bookmark that link so you can refer back to it in the future.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [7 June 2018 11:42 UTC](https://discourse.nodered.org/t/missing-something-in-how-to-decode-an-output-solved-i-hope/661/3 "2018-06-07T11:42:56Z")

</div>

Thanks much.

Yes, bookmarked.

Sorry about posting all the dumb questions, but as I think I have explained: sometimes I need to ask before my brain can process it and move on.

Though that link does look handy.
