# HTTP response autorefresh?

**URL:** <https://discourse.nodered.org/t/http-response-autorefresh/38247>\
**Category:** General\
**Created:** [29 December 2020 23:13 UTC](https://discourse.nodered.org/t/http-response-autorefresh/38247 "2020-12-29T23:13:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)\
**Post date:** [29 December 2020 23:13 UTC](https://discourse.nodered.org/t/http-response-autorefresh/38247/1 "2020-12-29T23:13:33Z")

</div>

Hey guys,

I'm about to create a small webpage for my 3D printer in node-red.  
Right now it is looking like this:

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/2/721a9ae46112e59f4615192a330e7f94648d3d29.jpeg)

It is just a test right now and I'm struggling with the part where the temps/progress would be automatical updated without having to reload the page over and over again. Is that doable inside node-red?

Right now my flow looks like this:

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/0/d0ff619442ba8dc9a790ad2e13765320f14a4a21.png)

I guess that has something to do with html code or?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [29 December 2020 23:41 UTC](https://discourse.nodered.org/t/http-response-autorefresh/38247/2 "2020-12-29T23:41:03Z")

</div>

You could use node-red-dashboard to easily achieve this.

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [30 December 2020 07:23 UTC](https://discourse.nodered.org/t/http-response-autorefresh/38247/3 "2020-12-30T07:23:18Z")

</div>

> [@nicedevil](#):
>
> I guess that has something to do with html code or?

As @Steve-Mcl mentioned, use the node-red-dashboard nodes, you may have to install them, use "Manage palette".

Alternatively, keeping what you already have, you could use websockets. This allows you to update single elements of your webpage without reloading the whole. Is a matter of taste, dashboard makes life simpler, html/javascript coding in the template node is also working fine if you are familiar and feel comfortable with that

---

<div class="post-metadata">

**Author:** ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)\
**Post date:** [30 December 2020 08:47 UTC](https://discourse.nodered.org/t/http-response-autorefresh/38247/4 "2020-12-30T08:47:23Z")

</div>

@Steve-Mcl & @krambriw

Thank you for your response.  
the dashboard isn't an option because it is used for smarthome stuff that I use localy.

I use a reverse proxy to get only access to the homepage that node-red provides via the http nodes.

So I would stay with this solution. @krambriw do you have a simple example on how to achieve this?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [30 December 2020 08:57 UTC](https://discourse.nodered.org/t/http-response-autorefresh/38247/5 "2020-12-30T08:57:53Z")

</div>

Then I would suggest uibuilder - it has huge potential and has 2 way messaging capabilities with pretty much zero effort.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [30 December 2020 09:47 UTC](https://discourse.nodered.org/t/http-response-autorefresh/38247/6 "2020-12-30T09:47:00Z")

</div>

The most basic websocket example - [https://flows.nodered.org/flow/8666510f94ad422e4765](https://flows.nodered.org/flow/8666510f94ad422e4765)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [28 February 2021 09:47 UTC](https://discourse.nodered.org/t/http-response-autorefresh/38247/7 "2021-02-28T09:47:03Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
