Automatic update

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!

1 Like

Hi there and welcome to the Community, @Valdimir_Tavora :waving_hand:

Our widget automatically pulls in the weather from this resource.

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/ and I don’t see any discrepancies on my side:

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 :slightly_smiling_face:

1 Like

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.

2 Likes

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):


I hope this explains things.

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

1 Like

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.

1 Like

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 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 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:

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?

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)

1 Like

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 :slightly_smiling_face:

My friend, thank you very much for your help.

1 Like
(attachments)

1 Like

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:

const REPEAT_FREQUENCY = 5; // Minutes

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

Give it a try and let me know if it worked :slightly_smiling_face:

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

);

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)

1 Like

Hi @Valdimir_Tavora :waving_hand:

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:


Please check it out and let me know how it works :slightly_smiling_face:

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.

:clap::clap::clap:

2 Likes

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

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

Thank you very much and all of you

:heart:

2 Likes

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.

1 Like

Hi there, @Valdimir_Tavora :waving_hand:

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 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 :slightly_smiling_face:

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.

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.

1 Like