Xiaomi : Invalid Things File

My log file is telling me that my things file has invalid entries but I can’t tell what is wrong… It’s pretty much copied from the examples in the binding documentation…

Anyone able to lend me a hand and spot the issue?

2018-10-20 07:44:02.766 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model ‘xiaomi.things’, using it anyway:
Provide a thing type ID and a thing ID in this format:

Provide a thing type ID and a thing ID in this format:

This is an excerpt of the things file…

Bridge mihome:bridge:781543b8e567 "Xiaomi Gateway" [ serialNumber="7811dcb8eb67", ipAddress="192.168.x.x", port=9898, key="xxxxxxxxx", pollingInterval=6000 ] {
    Thing mihome:gateway:7811dcb8eb67 "Xiaomi Mi Smart Home Gateway" [itemId="7811dcb8eb67"]
	Thing mihome:sensor_weather_v1:158d0002437fd6 "Xiaomi Temperature Sensor" [itemId="158d0002437fd6"]
}

Same Here, but it works nevertheless

Mine looks like this:

Bridge mihome:bridge:286c0789171f "Xiaomi Gateway" @ "Sensors" [ serialNumber="xxxx", ipAddress="192.168.1.123", port=9898, key="xxxx", pollingInterval=6000 ] {
    Things:
        gateway          286c0789171f "Xiaomi Mi Smart Home Gateway" @ "Sensors" [itemId="286c0789171f"]
        sensor_ht        158d0001563335 "AV Temperature Sensor" @ "Sensors" [itemId="158d0001563335"]
        sensor_motion    158d0001563c4e "Living Motion Sensor" @ "Sensors" [itemId="158d0001563c4e"]
        sensor_magnet    158d00015494d2 "Bath Window Sensor" @ "Sensors" [itemId="158d00015494d2 "]
        sensor_switch    158d00010b1b6e "Wireless Switch" @ "Sensors" [itemId="158d00010b1b6e"]
}

It doesn’t generate any errors.

1 Like