[SOLVED] Mqttitude failing with "no lat/lon configured for home" (but there is)

I’m getting an unexpected error from the mqttitude binding, saying I haven’t configured “lat/lon” but I have.

I’m running a Mosquitto broker and the Zanzito Android client with “opentracks” compatibility mode.

Here is my item:

Switch Presence_Chip "Chip presence @ home" (gPresence) {mqttitude="local:owntracks/chip/chip"}

Here is my services/mqttitude.cfg file (with numbers changed for privacy):


Here is log with TRACE on org.openhab.binding.mqttitude (again, numbers changed for privacy)

2018-01-05 22:00:59.401 [TRACE] [mqttitude.internal.MqttitudeConsumer] - Message received on topic owntracks/chip/chip:{"_type":"location","tid":"__","lon":-97.9999999,"lat":30.9999999,"alt":0,"acc":21,"tst":1515211259}
2018-01-05 22:00:59.430 [TRACE] [mqttitude.internal.MqttitudeConsumer] - Checking item Presence_Chip...
2018-01-05 22:00:59.432 [ERROR] [mqttitude.internal.MqttitudeConsumer] - Unable to calculate relative location for Presence_Chip as there is no lat/lon configured for 'home'

Any idea what’s going wrong here? Thanks.

Which of these 2 messages are found in your log?

Mqttitude binding configuration updated, no 'home' location specified. All item bindings must be configured with a <region>.


Mqttitude binding configuration updated, 'home' location specified (...) with a geofence of ...m.

Thanks for the response.


[22:53:59] openhabian@openhab:~$ grep --text "Mqttitude binding configuration updated" /var/log/openhab2/openhab.log
[22:54:21] openhabian@openhab:~$

This appears to mean you have no properties defined. You should check the caches to make sure they’re clean.