hello everyone
i am new to openhab, but i have made a very basic sitemap and item file with a couple of switches and i am now trying to return a value (temperature) to openhab, so i can use it later in my project, however i now have a problem trying to return a value from a script.
the script is a very simple test script (just to see when/if it works) and for now contains only this:
#!/usr/bin/python
print 100
thats it, but it seems that no matter what i do, it will not return anything to openhab or it is not executed at all, but tbh i have no idea what the problem is.
the item entry looks like this:
number Temp01 "Temperature [%.1f °C]" <temperature> (Relays) {exec="<[/usr/bin/python /home/pi/temp.py:10000:REGEX((.*?))]"}
and the sitemap entry looks like this:
Text item=Temp01
the error message (wich might aswell be in greek) looks like this:
11:11:45.796 [ERROR] [o.u.i.items.ItemUIRegistryImpl:438 ] - Cannot retrieve item Temp01 for widget org.openhab.model.sitemap.Text
is there anyone out there that can mabye tell me what i am doing wrong?
(im sure its something simple, maybe something i forgot or missed somewhere?)
thanks in advance
Regards
Halvhjearne