Please create some dummy data that would go into the function node and paste it to a reply.
Thinking about it, I think this might be what you are looking for, a display like this:
and in this case, the IP address can be clicked and it links to the Node-RED site on that IP address.
This is what the template looks like:
<div id="et_home">
<h2 style="text-align: center;">PyPI Display Home </h2>
<p style="text-align: center;">List of Raspberry Pi's found on your LAN<p>
<p style="text-align: center;">Click on a 'Hostname' will get you details of that device<p>
<p style="text-align: center;">Click on a 'IP' will attempt to open Node-RED on that Pi<p>
<br/>
<table id="table" border="1">
<tr>
<th>Hostname</th>
<th>User</th>
<th>IP</th>
<th>Last Seen</th>
<th>Model</th>
<th>OS</th>
<th>Disk Used</th>
<th>Temperature</th>
</tr>
<tbody style="text-align: center">
<tr ng-repeat="x in msg.payload">
<td ng-if="x.device_status == 'database is empty'" class="warning_red" >DATABASE IS EMPTY</td>
<td ng-if='x.device_status == 1' class="device_online" style="text-align: left">
<md-button ng-click="send({host: x.hostname})">{{x.hostname}}</md-button>
</td>
<td ng-if='x.device_status == 0' class="device_offline" style="text-align: left">
<md-button ng-click="send({host: x.hostname})">{{x.hostname}}</md-button>
</td>
<td ng-if='x.device_status == 1' class="device_online" >{{x.user}} </td>
<td ng-if='x.device_status == 0' class="device_offline" >{{x.user}} </td>
<td ng-if='x.device_status == 1' class="device_online" ><a href="http://{{x.hostname}}.local:1880" target="_blank"> {{x.ip}} </a></td>
<td ng-if='x.device_status == 0' class="device_offline" ><a href="http://{{x.hostname}}.local:1880" target="_blank"> {{x.ip}} </a></td>
<td ng-if='x.device_status == 1' class="device_online" >{{x.last_seen_text}} </td>
<td ng-if='x.device_status == 0' class="device_offline" >{{x.last_seen_text}} </td>
<td ng-if='x.device_status == 1' class="device_online" >{{x.model}} </td>
<td ng-if='x.device_status == 0' class="device_offline" >{{x.model}} </td>
<td ng-if='x.device_status == 1' class="device_online" >{{x.osrelease}} </td>
<td ng-if='x.device_status == 0' class="device_offline" >{{x.osrelease}} </td>
<td ng-if='x.device_status == 1' class="device_online" >{{x.disk_percentused}} </td>
<td ng-if='x.device_status == 0' class="device_offline" >{{x.disk_percentused}} </td>
<td ng-if='x.device_status == 1' class="device_online" >{{x.temperature}} </td>
<td ng-if='x.device_status == 0' class="device_offline" >{{x.temperature}} </td>
</tr>
</tbody>
</table>
</div>
and here is the data being sent to the template node:
[{"disk_percentused":"3%","last_seen":1733507594190,"ip":"192.168.1.3","model":"Pi 4 Model B Rev 1.4","osrelease":"buster","temperature":42.8,"uptime":"up 1 week, 4 days, 7 hours, 10 minutes","user":"pi","hostname":"argonpi","device_status":1,"last_seen_text":"12/6/2024, 12:53:14 PM"},{"disk_percentused":"16%","last_seen":1733507594243,"ip":"192.168.1.173","model":"Pi 3 Model B Plus Rev 1.3","osrelease":"buster","temperature":49.4,"uptime":"up 11 weeks, 2 days, 3 hours, 19 minutes","user":"pi","hostname":"fastpi","device_status":1,"last_seen_text":"12/6/2024, 12:53:14 PM"},{"disk_percentused":"7%","last_seen":1733507595452,"ip":"192.168.1.228","model":"Pi Zero W Rev 1.1","osrelease":"buster","temperature":33.6,"uptime":"up 1 week, 4 days, 6 hours, 35 minutes","user":"pi","hostname":"mqttpizw","device_status":1,"last_seen_text":"12/6/2024, 12:53:15 PM"},{"disk_percentused":"15%","last_seen":1733507594113,"ip":"192.168.1.233","model":"Pi 4 Model B Rev 1.2","osrelease":"bullseye","temperature":49.1,"uptime":"up 2 weeks, 8 hours, 52 minutes","user":"pmw","hostname":"superpi","device_status":1,"last_seen_text":"12/6/2024, 12:53:14 PM"},{"disk_percentused":"48%","last_seen":1732683964253,"ip":"192.168.1.174","model":"Pi 3 Model B Rev 1.2","osrelease":"bullseye","temperature":49.9,"uptime":"up 6 days, 3 hours, 55 minutes","user":"pmw","hostname":"testpi","device_status":0,"last_seen_text":"11/27/2024, 12:06:04 AM"},{"disk_percentused":"19%","last_seen":1728391239124,"ip":"192.168.1.175","model":"Pi 3 Model B Rev 1.2","osrelease":"buster","temperature":49.9,"uptime":"up 2 weeks, 5 days, 22 hours, 7 minutes","user":"pi","hostname":"yellowpi","device_status":0,"last_seen_text":"10/8/2024, 8:40:39 AM"}]
This is from my pypi-info
project GitHub - juggledad/pypi-info: Python program to run cmds sent via MQTT and return results