I have this code:
test.sitemap
sitemap test label="testje"
{
Frame label="DENON AV Reciever" icon="volume" {
Selection item=SelectActivity label="Activity Selection" mappings=[0=MPD, 1=Zotac]
}
}
test.rules
rule "start activity mpd music"
when
Item SelectActivity changed to 0
then
logInfo("ikke", "hebben we nog muziek?")
end
rule "start activity movie zotac"
when
Item SelectActivity changed to 1
then
logInfo("ikke", "laten we een filmpje kijken?")
end
test.items:
Number SelectActivity "Activity"
running on Windows
[quote]
C:\openhab>java -version
java version “1.8.0_91”
Java™ SE Runtime Environment (build 1.8.0_91-b15)
Java HotSpot™ Client VM (build 25.91-b15, mixed mode, sharing)
[/quote
My “Addons” folder is empty. I have to wait 5 till 20 seconds after a change in the web interface for it to notice the change.
Are this normal response times?
To be sure, i have tested the same in Ubuntu in a VM (on the same laptop) using (https://github.com/openhab/openhab/wiki/Ubuntu-on-x64)
The same results.