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):
home.lat=30.999999
home.lon=-97.999999
geofence=100
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.