Comments (14)
If we added a switch we'd probably end up in switch hell, having to support dozens of strange configurations of the different broker variants and their quirks. I don't think we want to do that, in particular because RabbitMQ is probably the least-used back-end for the OwnTracks apps. (I say "probably" on purpose as we have no metrics obviously.)
from owntracks.
Well, I do understand your point. But maybe it would be very simple if you make it a "compatibility" switch where one can simply select the "type of patch" he needs. So you would end up with only one additional switch for all coming patches of this kind. Really for the users this would be very handy as it can be described very simple in some docs. "Select Compatibiliy: RabbitMQ"
Not?
from owntracks.
What‘s wrong with setting a suitable value for subTopic
?
You can even provide a .otrc file that does that.
from owntracks.
I know this is quite hard for tech people to understand, but most of the mobile users are no techies. If you often talk to people with low tech background you may be able to explain how to setup the standard input of owntracks, but the config editor is definitely a step too far. And as far as I understand the issue there would not even be a drawback using "owntracks/+/#" generally in owntracks as standard setup. I mean it includes the current setting in subscription and does not harm current installations, does it?
I mean "owntracks/#" would work as well, so why not?
from owntracks.
What is quite hard for non-tech people to understand, joe-average-user, is that tech people don't like having to add features, change features, or otherwise be told "why not" without a real incentive to do so, particularly since it's always non-tech people who don't understand that we tech people, in the Open Source world, do this without payment or other benefits.
So why not?
from owntracks.
That said, if you provide a pull-request for our apps (both Android and iOS) we will entertain the idea of applying the patches.
from owntracks.
Well, I understand your point. And in fact I do GPL and open source programming since about 35 years in all kinds of projects. The thing is: not one of them is related to apps on mobiles. I am no Java guy and I guess (without checking) your app has zero to do with C or Assembler ;-)
So I'd probably need days to weeks to do a simple patch like this, for which people with indepth knowledge of the source probably need 10 minutes - which includes a cup of coffee :-)
For sure the .otrc file would need even less time (even for me), but judging the outcome it is not the right solution, it would end up as a solution...
Is there a real technical reason for not using "owntracks/#" in the first place? I mean do you know use cases of deeper topics or plan some? owntracks///XYZ?
If not I just proposed to save 2 bytes of code ;-)
from owntracks.
Ok, I read your booklet and was a bit surprised, about you arguing in this topic. Your own docs state that you need "owntracks/#" as subscription topic if you want to see waypoints. So actually you are preventing your own features by using "owntracks/+/+" as default. Me personally think your point-of-view changed from valid to ... well ... ridiculous? I mean, come on, you tell the users to use it, so in fact not only the rabbitmq server users need it, but simply everybody that wants your full features!
from owntracks.
Apps subscribe to owntracks/+/+/waypoint to receive them. The documentation you refer to just hints that you can subscribe to /# if you want to get them with another client.
We’re internally discussing if things break when we change the default sub topic to /#.
from owntracks.
Please forgive my ignorance, but:
(from the booklet, waypoints)
Subscribers to the broker (our apps and any other program) can avoid getting waypoints by subscribing to, say, owntracks/+/+; also broker ACLs can prohibit access to owntracks/+/+/waypoint for particular users if so desired. Conversely, all messages published by the apps (location and waypoint) are available with a subscription to owntracks/#.
(end)
Clearly the first sentence tells that subscribing to "owntracks/+/+" avoids getting waypoints and states "our apps" explicitely. It may well be that I am getting this wrong not being native english speaking. But to me this reads like "owntracks will not get others waypoints if subscribing with owntracks/+/+", not?
For sure I do have a problem understanding what subscribing to waypoints really means. I tried it by changing subTopic to the said, and I cannot see others waypoints in the apps' list - and others cannot see mine. Nevertheless I get the notifications when others reach their waypoints. What am I expected to see in owntracks regarding waypoints? Should others really show up in the list?
from owntracks.
PS: the german translation for "waypoints" is really bad. "Regionen" really means "regions" which is semantically different. "waypoints" IMHO is better translated as "Orte" or less striking "Wegpunkte", which defines certain places whereas "Regionen" is thought of as something the size of a county or some big area.
from owntracks.
@joe-average-user I think your language is not appropriate.
If you decide to use a broker / usernames combination which are incompatible that is your problem.
We know the documentation is not perfect and the terms waypoint and region are not used consistently. We will review and update this at some point in time.
You are free to go somewhere else.
from owntracks.
Let me tell you this, though you might again find it inappropriate. The owntracks booklet published is really one of the best explanations for free software I read so far. It contains a low percentage tech speech and gives enough information to understand what is going on.
It rather looks like it perfectly covers up things like the discussed two bytes as rough edges in an else nice piece of software. There is few missing in fact from a users point of view, let me enumerate:
- the map is always focused to the same degree. If you zoomed in as app user and the position updates you end up at the old zoom level. I have no idea though if this is at all manageable by the software or a general problem in the used map api.
- the app should allow multiple hosts. if you exchange positions with different people chances are high they use different servers. So either you reconfigure the software frequently or you're busted. Something like host profiles with on/off function (allowing multiple on-hosts) would be very handy.
- track recording with variable record time should be integrated. It's not about full-featured track-management, that should probably be done else. But a mobile-useable have-a-look version would be nice.
Don't get me wrong: this is a real good piece of software. I wish it would take steps to become brillant though, because all the needed pieces (including programmer obviously) are there and only some rough edges are left.
Regarding RabbitMQ: I know possibly most mqtt servers will use mosquitto for its easy-to-use approach. Unfortunately it is useless if you want a clustered environment for a high service availability. There is almost no way around RMQ then. I know RMQ for MQTT has exactly the discussed problem, and that they should probably fix it. But if it does not harm other users (or even does help them for some of owntracks own features), why not help RMQ users with a minimal patch in the meantime (of unknown duration)?
Don't feel blamed by anyone. I felt the issue should be discussed, because it might help others who would not speak up. I think compatibility that comes without a price should be achieved.
from owntracks.
Closing as not necessary in our opinion.
from owntracks.
Related Issues (20)
- openhap not reporting non-location updates when using mqtt protocol HOT 3
- Enhancement Request: WiFi / SSID based region geofences HOT 3
- [Androind app, private mqtt] Question: Connection through Tor HOT 1
- Owntracks and Orbot HOT 1
- Consider a 'checkin' message schema HOT 2
- Last verion (1.1.5) for Android doesn't update location HOT 1
- Long-term tracking HOT 2
- Request location from friends HOT 6
- Very best IoT GPS tracker project TRRAK based on Owntracks, full Tutorials enclosed
- Sending data to TRACCAR HOT 3
- How to remove friends who no longer use the service? HOT 4
- Always the same coordinates... HOT 12
- Request: From scratch tutorial HOT 2
- Consider informing user and/or dropping HTTP POSTs on 4xx errors
- Payload Encryption Question HOT 12
- login credentials hidden by keyboard on iPhone4 HOT 1
- consider encrypting the actual location data? HOT 8
- Language "packs" for OwnTracks (iOS, Android) HOT 5
- openhap not reporting non-location updates when using mqtt protocol HOT 1
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 owntracks.