I have been searching the www for some time now and unable to find a good explanation how to configure/use the OwnTracks binding.
I’m new to openhab and am testing the possibilities, to see if it can replace my current home automation solution.
Currently I try to get owntracks working.
I have installed the binding ans using cloudmqtt as my broker.
Therefore added the following connection data in the mqttitude.cfg file: mosquitto.url=ssl://mycloudmqttbroker.com:1234 mosquitto.user=myusername mosquitto.pwd=mypassword
Now I would expect that I have to add a thing into the PaperUI, but can’t find how to do this.
I only read about adding a item in the items file.
So I have done this, but the item state doesn’t show in the logging.
I have the following item in the items file: Switch Presence_mymobile “Phone@Home” { mqttitude=“mosquitto:owntracks/trackmobile/mymobile/event:home” }
With the Transition item you should get the last event like entering or leaving a geofence and Location gives the last location and BatteryLevel is selfexplanatory.
The owntrack app is connecting to a remote mqtt, cloudmqtt.
I also added the connection info in the owncloud binding config file.
I only have no idea how to find out if its connecting, but my current system (Home Assistant) works fine.
You wrote not to use the owncloud binding, but shouldn’t this binding retrieve the data from de broker and create the item?
Otherwise what is the use for this binding?
In Home Assistant it works more or less the same I think, there you activate and connect with the cloudmqtt.
It’s retrieving the data and creating the devices.
I expected the same with the owntracks binding.
I guess I could use the local mqtt broker to connect to the cloudmqtt.
I will install this one an see If I can set this up.