Getting started with Hue Binding - problem with motion sensor

I just starting with the Hue Binding and I cannot get my Hue.sitemap working.
So my bridge is online and all my Hue devices are in the inbox in PaperUI. I added my Motion Sensors as things. Since my Openhab is configured for SimpleMode item linking, items should be created automatically right?

So I just created a sitemap file:

sitemap Hue label="Philips Hue"
	Frame label="Bewegungsmelder"
		Number:Temperature Temperatur "Temperatur %.1f %unit%" <temperature> (gSensoren, gTest) { channel="hue:0302:001788636e1a:56:temperature" } 

But the log shows an error:

2019-09-13 18:53:05.638 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'Hue.sitemap' has errors, therefore ignoring it: [5,3]: required (...)+ loop did not match anything at input 'Number'

[7,2]: missing EOF at '}'

What am I missing? Any help appreciated.


You tried to define an Item inside your Sitemap file. Items are defined in .items files.


Damn, you’re right! :smiley: Thanks!