[SOLVED] Refresh image in Main UI

Hi there! I created a script to update a image every second in the /html folder. When I put the URL (http://X.X.X.X:8080/static/camara.jpeg) in Basic UI with refresh=1000, it’s work fine. But when I made an image card o webframe card on Main UI, I can’t get the update to work and the image is frozen.

Any idea? Thanks!

Solved! I used HTTP Binding to create a “Things” with the base URL : http://x.x.x.x:8080/static/camara.jpeg, I configured the refresh time and the corresponding item, which I placed in the webframe card . And it works :grinning:

Hi, can you post an example of Thing and Item definition
Thanks
Lorenzo

Yes, sure!

Things:

Thing http:url:test "HTTP" [ 
	baseURL="http://X.X.X.X:8080/static/camara.jpeg", 
	refresh=2,
    timeout=3000]{
		Channels:
			Type image : test2 "CAM"
}

Item:

Image  camara_test2 {channel="http:url:test:test2"}