Things definition via file @location (tado, sonos etc the same)

As described here:
I can write

Thing tado:thermostat:kitchen "Name" 	@ "Kitchen" [ email="test@******.de", password="******", homeId=******, zoneId=1, useCelsius=true ]

but my console brings

[WARN ] [del.core.internal.ModelRepositoryImpl] - Configuration model ‘tado.things’ is either empty or cannot be parsed correctly!

Eclipse Smart Home Designer says

missing EOF at @

When I delete the

@ “Kitchen”

all is fine but no room will be added.
In PaperUI, the location “Kitchen” will be added as separate room to “Control” but without the thing. Either the room or the thing…
Do you have the same when you add the “@ location”?

openHAB 2.2.0 Build #1099 for Synology

I’m pretty sure you can ignore this “error”.

Please take a look at VSCode, especially in combination with OH2.2 > #1088 really nice…

VSCode is VisualStudioCode, but has nothing to do with Visual Studio, it’s a Code Editor :slight_smile:

Like VSCode. Really good solution!

But it doesn’t solve this issue. Still:

[WARN ] [del.core.internal.ModelRepositoryImpl] - Configuration model ‘*****.things’ is either empty or cannot be parsed correctly!

Argh… sorry, should have read better…

As I now read also, I think, maybe the location is not supported (or at least not correctly supported) by this addon.


@Udo_Hartmann @PeterP

I have to edit my answer. Setting the Location has nothing to do with bindings, as far as I can see. This is a feature from ESH, for all openhab Things. See Location for Things for more information.

I just tested it myself and using @ “Location” works as aspected!

Thing tado:thermostat:schlafzimmer "Tado Heizung Schlafzimmer" @ "Schlafzimmer" [ email="xxx", password="xxx", homeId=xxx, zoneId=xx, useCelsius=true, refreshInterval=125 ]


PS: As Udo already mentioned, the Warning “Configuration model ‘*****.things’ is either empty or cannot be parsed correctly!” is a bug. You can ignore it as long as it is followed by the log message “Loading model ‘xxx.things’”. At least that is my experience.

1 Like

You are right, it is working in Paper UI + Warning. Just wondered if it can have side effects.
Because I don’t like warnings, I deleted the @ + location :wink:
Will try it again after some updates.

Thank you for your answers!