[SOLVED] Item not updating on sitemap

Hi I wonder if you can help. I suspect I’m doing something stupid but can’t spot it.

I’m running a piece of python that is updating an item using the REST interface

requests.put('http://localhost:8080/rest/items/NearestInt/state', data=data)

Now this seems to be working fine, when i go into the REST interface the item has updated

{"link":"http://openhabianpi:8080/rest/items/NearestInt","state":"RCH1114","editable":false,"type":"String","name":"NearestInt","label":"Nearest Int","tags":[],"groupNames":[]}

But the sitemap isn’t updating, even with an f5:

my items file has this line

String NearestInt "Nearest Int"

and my sitemap has this

Default item=NearestInt

Any ideas, i’m a little stumped.


Try changing the item like below and see what happens.

String NearestInt "Nearest Int [%s]"

I am an idiot. Thanks

If missing something simple, once in a while, makes you an idiot then I’m a REALLY BIG one.:rofl:

Glad you have it fixed.:+1: