Hi everyone,
I was trying to adapt my existing setup to HABot by adding all relevant tags to the existing groups, but for some reason HABot is unable to find any Locations that I pass. Given the Example below, I get a positive response for entering e.g. “Temperatur” with a card containing all the temperature relevant items, but a negative one for “Wohnzimmer” (Living Room) complaining that no Tag related to wohnzimmer was found. Trying combinations of both tag types, such as “What is the Temperature in the Living Room” (and its german counterpart), are also unsuccessful.
// Location Groups
Group gAll "All"
Group gIndoor "Indoor" (gAll) ["Indoor"] {synonyms="Im Haus"}
Group gEG "Erdgeschoss" <groundfloor> (gIndoor) ["GroundFloor"] {synonyms="Erdgeschoss"}
Group gLivingRoom "Wohnzimmer" <sofa> (gEG) ["LivingRoom"] {synonyms="Wohnzimmer"}
// Device Groups
Group gActor "Aktoren" (gAll)
Group gSensor "Sensoren" (gAll)
Group gTemperature "Temperatur" <temperature> ["RadiatorControl", "Temperature"]
Group gTempSensor "Temperaturmessung" (gTemperature, gSensor) ["Measurement"]
Group gTempSetpoint "Temperatureinstellung" (gTemperature, gActor) ["Setpoint"]
// Devices
Number LivingRoomWTHIsTemperature "Temperatur (ist) [%.1f °C]" (gLivingRoom, gTempSensor) {channel="homematic:...#ACTUAL_TEMPERATURE"}
Number LivingRoomWTHSetTemperature "Temperatur (soll) [%.1f °C]" (gLivingRoom, gTempSetpoint) {channel="homematic:...#SET_POINT_TEMPERATURE"}
Any idea what I am missing here? I was wondering if locaton tags are inherited at all from any parent groups (and if so, if the tags are fetched recursively, i.e. is “Wohnzimmer” only location-tagged as [“LivingRoom”}, or [“Indoor”, “GroundFloor”, “LivingRoom”]).
I’ve already tried to investigate the issue by myself and activated logging for HABot by setting the log level for org.openhab.ui.habot to ALL, but this resulted in yet another strange behavior:
- Whenever a text input leads to a positive response (e.g. “Temperatur”), there is no log entry at all.
- However, for each negative one (e.g. “Wohnzimmer”), I only get the following entries:
03-Aug-2020 20:50:54.655 [DEBUG] [org.openhab.ui.habot.nlp.internal.IntentTrainer ] - get-status[0.0897] activate-object[0.0983] create-rule[0.0535] deactivate-object[0.1720] get-history-daily[0.0535] get-history-hourly[0.0535] get-history-last-changes[0.0782] get-history-monthly[0.2584] get-history-weekly[0.0557] set-value[0.0873]
03-Aug-2020 20:50:54.655 [DEBUG] [org.openhab.ui.habot.nlp.internal.IntentTrainer ] - Intent [name=get-history-monthly, entities={location=wohnzimmer}]
Are there further plugins in which verbose logging would help me to pinpoint the issue?
I appreciate any help you can provide!
Thanks
Lukas