Comments (19)
I confirm that it is not working for me: upon publishing a reportLocation
request
echo '{"_type":"cmd","cmd":"reportLocation"}' | mosquitto_pub --cafile $cafile -h $h -u $u -P $p -s -q 1 -t owntracks/jpm/s8/cmd
I do not see a location response with ”t”: “r”
.
from android.
Smells like a bug.
from android.
Remote commands must be enabled on the device. After that, if you publish an MQTT message with QoS>0 to the topic owntracks/user/device/cmd
with a payload as you rightly showed of {"_type":"cmd","action":"reportLocation"}
, the device should report its current location via a normal _type: location
message.
from android.
Ok, thank you so much ....
from android.
Sorry @jpmens and for HTTP what's the command?
from android.
from android.
Ok, thank you again .....
from android.
Hi,
with difficulty (for my skills of course) I connected OwnTracks with MQTT (HiveMQ cloud) to my node red and works fine, but I can't to send a request to position.
IF when I receive data from mobile I have in node red this report ...
but if I publish an MQTT message with QoS>0 to the topic owntracks/giamma/001/cmd
I have this report ...
Please tell me where is the mistake ..... (remote command are enabled on mobile)
from android.
The message must be published to owntracks/giamma/001/cmd
with the correct payload. Note: /cmd
with "_type": "cmd"
from android.
This is my mqtt node ....
and this is my function node with payload ....
It seem right, but evidently I don't see the mistake ...
from android.
I also tried ...
but without success ....
from android.
from android.
Yes ....
from android.
Well, works but ....
the app must be only in "Significant Changes" and ...
the app must be open .....
I cannot close the app even if se app is always active because at the top of mobile I have the icon's app with the function of Report and changes monitoring mode ....
EDIT: also with the app open the report location works only one time, after stop works ...
from android.
Hi, there are news for the resolution of this bug?
from android.
It is still pending. As soon as it is addressed, the status of this issue will change.
from android.
ok ....
from android.
is this issue back? I'm on iOS, running OT 16.4.1. seems the app has to be in the foreground to execute a cmd sent to it. I opened the app, went to another app and waited for my cmd to be sent. saw it sent from my mqtt stream, but never say a pub come back from app. Placed app in foreground, waited for pub to be sent for cmd. cmd was sent and location was sent back to mqtt feed from OT app.
from android.
@underdog this is a closed Android issue, and you are reporting this for iOS. If you are having trouble please open a new issue on our iOS tracker (github.com/owntracks/ios/issues), but before you do so, iOS behaves differently from Android: make sure you are publishing a QoS>0 payload to /cmd, and if the app is in the background, you'll have to wait until it wakes to process your command.
from android.
Related Issues (20)
- owntracks doesn't have location permission "allow all the time" HOT 3
- location provider ping-pong? HOT 3
- MessageProcessorEndpointHttp: HTTP Delivery failed HOT 5
- Fully reset configuration when changing mode and/or host/port HOT 2
- Couldn't attach file when sharing log via gmail HOT 3
- MQTTv5 support
- Russian translation (2.5.0) HOT 15
- "Tap here to request notification permission" in 2.5.0 not working HOT 4
- Extend metrics with smartphone others sensors HOT 7
- No map visible on new install HOT 3
- [Feature Request] Support multiple groups of friends using one MQTT server HOT 2
- Expanding the extended data field to contain settings that may be non-optimal for operation HOT 23
- Return blank location packet for ping/manual location even though there is no location or accuracy is poor HOT 6
- Connection to HiveMQ dropping with an error HOT 12
- MQTT Exception delivering message (32000) HOT 8
- pubExtendedData / extendedData config setting HOT 2
- Reverse-geo ratelimit pauses location publishes HOT 5
- Add ACCESS_BACKGROUND_LOCATION permission in order to give "Always" location permission
- [Feature Request] HOT 2
- OwnTracks reporting old location to server HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android.