Well, I think my set-up is fundamentally different than yours…
I use OwnTracks on iPhone, sending the positions to my rPi server running MQTT at home via port forwarding in my Internet router, then storing these positions in OwnTrackRecorder (OT-Recorder).
You seem to have a cloud service provider in between it all; meaning there could be other problems I cannot see / understand in your system.
The way I build my system with OH is: start small… and progress step by step.
E.g. I installed OH, then MQTT. Then OT on the iPhone and the OH OT binding, and made it work on the local network first (meaning, no port forwarding required).
Then I opened the port… after this worked, I installed OTR.
I have since removed mqttitude binding, and work only with MQTT in OH.
I do not believe that I am able to help you further, given our set-ups are different.
OK thanks for replying
May be I’ll backup and follow your route
Firstly, let’s make it talk within local network first.
I installed Owntracks (mqttitude binding) already. I tested 2 command: "mosquitto_sub -t “owntracks/#” on 1 screen and “mosquitto_pub -t “owntracks/ben” -m hello” on another, everything worked fine.
On Owntracks app, I chose private MQTT mode, host: 192.168.137.2 (this is my raspberry pi ip address), port:8080, no websocket. Identification: username:pi, password:(my raspberry login password), Device ID: ben, track id: be
No TLS, No parameters
I have one item which is defined as:
[ERROR] [.script.engine.ScriptExecutionThread] - Rule 'MqttPostionParseCraig': Could not initialize class com.jayway.jsonpath.internal.DefaultsImpl
My mqqt works as I get
[vent.ItemStateChangedEvent] - mqttPositionCraigRaw changed from {"_type":"location","tid":"CL","acc":22,"batt":83,"conn":"w","lat":xx.xxxxx,"lon":-yy.yyyyy,"t":"u","tst":1507125675} to {"_type":"location","tid":"CL","acc":26,"batt":74,"conn":"w","lat":xx.xxxxx,"lon":-yy.yyyyyy,"t":"u","tst":1507127788}
I just can’t parse it with JSON. I do have the transformation installed
Hi, i have this setup and if i connect locally to the sitemap or habpanel its working perfectly, even in the android app.
however remotely, via openhab cloud its not working at all. is this how it suppose to be or am i doing something wrong here?