# Automatic update

**URL:** <https://community.elfsight.com/t/automatic-update/140027>\
**Category:** General Questions\
**Tags:** weather\
**Created:** [September 25, 2025, 5:16pm UTC](https://community.elfsight.com/t/automatic-update/140027 "2025-09-25T17:16:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valdimir\_Tavora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/valdimir_tavora/32/49650_2.png) [@Valdimir\_Tavora](https://community.elfsight.com/u/Valdimir_Tavora)\
**Post date:** [September 25, 2025, 5:16pm UTC](https://community.elfsight.com/t/automatic-update/140027/1 "2025-09-25T17:16:14Z")

</div>

Good afternoon, I’d like the widget’s temperature gauge to update automatically. I’ve used another widget that worked this way. And it also displays the decimals. Thank you very much!

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 25, 2025, 5:46pm UTC](https://community.elfsight.com/t/automatic-update/140027/2 "2025-09-25T17:46:44Z")

</div>

Hi there and welcome to the Community, @Valdimir_Tavora 👋

Our widget automatically pulls in the weather from this [resource](https://openweathermap.org/).

Different weather resources might display slightly different data, so if you compare the weather displayed in your widget to the results in Google, for instance, you might see a difference, but this is only because we don’t get the data from Google.

Also, I have checked your widget and your city’s forecast on [https://openweathermap.org/](https://openweathermap.org/) and I don’t see any discrepancies on my side:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/f/4/f44d63824bb1b1e06d30fb9e69c9f4d6f230c6c7.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/c/7/c70a722fcab0d94848d693c98677d603571f6446.png)

Thus, the automatic weather update is already implemented in the widget. Please let me know if this explains things or if you have any questions left 🙂

---

<div class="post-metadata">

**Author:** ![Valdimir\_Tavora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/valdimir_tavora/32/49650_2.png) [@Valdimir\_Tavora](https://community.elfsight.com/u/Valdimir_Tavora)\
**Post date:** [September 25, 2025, 7:01pm UTC](https://community.elfsight.com/t/automatic-update/140027/3 "2025-09-25T19:01:38Z")

</div>

I’m not referring to whether it’s displaying correctly or not.  
What I’d like is for the temperature to update automatically while it’s being displayed.  
As it stands now, I have to do this manually several times a day.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 25, 2025, 7:07pm UTC](https://community.elfsight.com/t/automatic-update/140027/4 "2025-09-25T19:07:53Z")

</div>

Yep, I got it!

Since the weather is dynamically pulled to the widget, the info about the weather is updated every minute. To make sure it works fine, I’ve double-checked your widget and see that the temperature has been updated (compare with the screenshot from the previous message):

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/8/3/836579d53ffbcd99bd42acba698b801491d1fa22.png)

  

I hope this explains things.

If you have any questions left, I’ll be happy to help 🙂

---

<div class="post-metadata">

**Author:** ![Valdimir\_Tavora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/valdimir_tavora/32/49650_2.png) [@Valdimir\_Tavora](https://community.elfsight.com/u/Valdimir_Tavora)\
**Post date:** [September 26, 2025, 4:44am UTC](https://community.elfsight.com/t/automatic-update/140027/5 "2025-09-26T04:44:44Z")

</div>

Yes, I use this widget on a YouTube streaming channel, through OBS. If you want to see it: @belemaovivo  
It doesn’t update automatically at all. Unlike a previous one of yours that I used.  
Besides being inconvenient to constantly update, there are times when it’s not possible and the live stream becomes out of date.  
I count on your help, and I greatly appreciate your support.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 26, 2025, 11:40am UTC](https://community.elfsight.com/t/automatic-update/140027/6 "2025-09-26T11:40:56Z")

</div>

I just wanted to confirm that we’re talking about the same thing.

You’ve said that you’re using the widget on YouTube streams, but [our widgets](https://elfsight.com/widgets/) are typically installed on websites.

You also mentioned that you have to constantly update the temperature manually, but our widget updates automatically, so there’s no manual update option available.

Additionally, the last edit of your [Elfsight Weather widget](https://dash.elfsight.com/apps/weather) was in June 2025, which confirms you haven’t made any changes there since that period.

I’ve checked your Elfsight Weather widget several times in the configurator, and it’s working fine. For reference, here’s how it looks:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/6/8/682cdb2c9013c2e5d7329aaf35ae8d2fea49f373.png)

Could you please confirm if you’re referring to your Elfsight Weather widget? If so, could you provide more details about how you’re using it on YouTube streams and, if possible, share a video or screencast of the issue?

---

<div class="post-metadata">

**Author:** ![Valdimir\_Tavora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/valdimir_tavora/32/49650_2.png) [@Valdimir\_Tavora](https://community.elfsight.com/u/Valdimir_Tavora)\
**Post date:** [September 26, 2025, 1:20pm UTC](https://community.elfsight.com/t/automatic-update/140027/7 "2025-09-26T13:20:14Z")

</div>

Good morning,  
Yes, I use a widget when live streaming on YouTube. The widget model you used before updated automatically. This one doesn’t.

Updates are done directly in OBS, where there’s an “update” option, as shown in the attached screenshot.

Thank you for your help.

> **(attachments)**
>
> ![tela OBS.HEIC.jpg](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/c/7/c70d07bb67c02086ed888144e9585e1eb0b66e31.jpeg)

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 26, 2025, 1:29pm UTC](https://community.elfsight.com/t/automatic-update/140027/8 "2025-09-26T13:29:45Z")

</div>

Got it, thank you so much for clarification!

I’ve passed this info to the devs and will update you once I have their response 🙂

---

<div class="post-metadata">

**Author:** ![Valdimir\_Tavora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/valdimir_tavora/32/49650_2.png) [@Valdimir\_Tavora](https://community.elfsight.com/u/Valdimir_Tavora)\
**Post date:** [September 26, 2025, 1:37pm UTC](https://community.elfsight.com/t/automatic-update/140027/9 "2025-09-26T13:37:32Z")

</div>

My friend, thank you very much for your help.

---

<div class="post-metadata">

**Author:** ![Valdimir\_Tavora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/valdimir_tavora/32/49650_2.png) [@Valdimir\_Tavora](https://community.elfsight.com/u/Valdimir_Tavora)\
**Post date:** [September 26, 2025, 1:42pm UTC](https://community.elfsight.com/t/automatic-update/140027/10 "2025-09-26T13:42:28Z")

</div>

> **(attachments)**
>
> ![tela do YouTube Studio.jpg](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/9/6/969f12b2cf4ec8f24feb13178f416b07dbf83a11.jpeg)

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 26, 2025, 2:06pm UTC](https://community.elfsight.com/t/automatic-update/140027/11 "2025-09-26T14:06:34Z")

</div>

We’ve reviewed this case and the thing is that cache is updated every minute, but the updated info is being pulled only after the page reload.

To make the widget automatically update in the OBS, please add this script to the Custom JS field on the Style tab:

```auto
const REPEAT_FREQUENCY = 5; // Minutes

setTimeout(
	() => {
		location.reload();
	},
	REPEAT_FREQUENCY * 1000 * 60
);

```

  

Give it a try and let me know if it worked 🙂

---

<div class="post-metadata">

**Author:** ![Valdimir\_Tavora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/valdimir_tavora/32/49650_2.png) [@Valdimir\_Tavora](https://community.elfsight.com/u/Valdimir_Tavora)\
**Post date:** [September 26, 2025, 6:01pm UTC](https://community.elfsight.com/t/automatic-update/140027/12 "2025-09-26T18:01:01Z")

</div>

```auto
Okay. I copied the commands. I'll wait to see if it changes automatically.

Let me know if it worked.

The URL looks like this:

```

_const REPEAT\_FREQUENCY = 5; // Minutes_

_setTimeout(_

_() =\> {_

_location.reload();_

_},_

_REPEAT\_FREQUENCY \* 1000 \* 60_

_);_

---

<div class="post-metadata">

**Author:** ![Valdimir\_Tavora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/valdimir_tavora/32/49650_2.png) [@Valdimir\_Tavora](https://community.elfsight.com/u/Valdimir_Tavora)\
**Post date:** [September 28, 2025, 2:45am UTC](https://community.elfsight.com/t/automatic-update/140027/13 "2025-09-28T02:45:20Z")

</div>

```auto
Good morning,
I entered the commands you sent, but they didn't work. 
Please check if it's entered correctly in the attachment...

Thank you very much.
Have a good week.

```

> **(attachments)**
>
> ![IMG_7594.HEIC.jpg](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/b/c/bc8191bc9477b51329db648a58bf9b702d4562d7.jpeg)

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 29, 2025, 10:30am UTC](https://community.elfsight.com/t/automatic-update/140027/14 "2025-09-29T10:30:14Z")

</div>

Hi @Valdimir_Tavora 👋

This code should be added to the **Custom JS** field on the **Style** tab of your widget’s settings. I’ve saved this code in your widget:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/8/8/886c4fc9bd8b5f61d78c3933d4b8411969d22139.png) ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/6/6/66637743a415ba6bcce7b2d6f481d3085f39474a.png)

  

Please check it out and let me know how it works 🙂

---

<div class="post-metadata">

**Author:** ![Valdimir\_Tavora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/valdimir_tavora/32/49650_2.png) [@Valdimir\_Tavora](https://community.elfsight.com/u/Valdimir_Tavora)\
**Post date:** [September 29, 2025, 1:41pm UTC](https://community.elfsight.com/t/automatic-update/140027/15 "2025-09-29T13:41:48Z")

</div>

Good morning,  
Sorry, I didn’t understand where I should include those lines of code you sent.

Now it works. You can’t imagine how happy I am about it. I like to do my tasks well, and having the widget out of date sometimes bothered me a lot.

I never imagined I would have someone like you so efficient in helping me resolve this for me.

Congratulations to you and the entire Elf Sight team. I’m amazed by the service and attention, which encourages me to continue using your products.

Have a great week, and may God bless you.

👏👏👏

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 29, 2025, 1:46pm UTC](https://community.elfsight.com/t/automatic-update/140027/16 "2025-09-29T13:46:47Z")

</div>

Wow, your feedback totally made our day! A huge thank you for your kind words ❤

If any questions arise in the future, feel free to contact us here again. We’ll be more than happy to help 😉

---

<div class="post-metadata">

**Author:** ![Valdimir\_Tavora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/valdimir_tavora/32/49650_2.png) [@Valdimir\_Tavora](https://community.elfsight.com/u/Valdimir_Tavora)\
**Post date:** [September 29, 2025, 5:54pm UTC](https://community.elfsight.com/t/automatic-update/140027/17 "2025-09-29T17:54:17Z")

</div>

Thank you very much and all of you

❤

---

<div class="post-metadata">

**Author:** ![Valdimir\_Tavora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/valdimir_tavora/32/49650_2.png) [@Valdimir\_Tavora](https://community.elfsight.com/u/Valdimir_Tavora)\
**Post date:** [October 10, 2025, 4:13am UTC](https://community.elfsight.com/t/automatic-update/140027/18 "2025-10-10T04:13:44Z")

</div>

Good morning,

I received an email saying my views are almost at their limit.

I’d like to know if reducing the update time you kindly included from every five minutes to every thirty minutes will also reduce the view count.

I would appreciate your response.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [October 10, 2025, 11:53am UTC](https://community.elfsight.com/t/automatic-update/140027/19 "2025-10-10T11:53:52Z")

</div>

Hi there, @Valdimir_Tavora 👋

As far as I understand, you’re the only person who loads and sees the widget right in the OBS. Other viewers can see it only during streams. Is that correct?

If it’s the case, you can keep your own views from being counted. To do that, you need to make sure you’re logged in to your Elfsight account on the same device and browser that you use to work with your website.

Once you’re logged in, you’ll the [info panel](https://help.elfsight.com/article/740-why-do-see-a-panel-above-my-wigdet) above in the OBS and your views shouldn’t be counted.

Please let me know if this explains things or if you have any questions left 🙂

---

<div class="post-metadata">

**Author:** ![Valdimir\_Tavora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/valdimir_tavora/32/49650_2.png) [@Valdimir\_Tavora](https://community.elfsight.com/u/Valdimir_Tavora)\
**Post date:** [October 10, 2025, 12:19pm UTC](https://community.elfsight.com/t/automatic-update/140027/20 "2025-10-10T12:19:44Z")

</div>

Good morning, Max  
Nice to talk to you again.

You’re right, live viewers see the widget when they load the YouTube channel. I rarely log in to [elfsight.com](http://elfsight.com).

I did what you said, leaving it logged in on the same machine as OBS, without making any changes to the widget settings. Previously, the page wouldn’t load there.

If I get another warning that views need to be refreshed, I’ll let you know.

Thank you very much, Max.

[Next page](https://community.elfsight.com/t/automatic-update/140027.md?page=2)
