-
-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[enhancement proposal]: Implementation of an MQTT-Client #2435
Comments
I like the idea, very nice. |
Glad you like it :-)
I think for use cases restricted to local usage (all run on localhost) anonymus access without credentials would be possible. |
@m-kuhn @nirvn if we are talking about upstream implementation in qgis qgis/QGIS-Enhancement-Proposals#257 might be interesting? |
@soester , out of curiosity, have you made some tests using the TCP/UDP/serial port sensor support added a while back? |
@nirvn yes we are using UDP sensor support in production. Our old system (via termux float widget) was no longer reliable on newer Android versions. Since then we have been using a combination of yoctopuce (serial connector), node-red and udp sensor interface in Qfield. |
Introduction
It would be great if QField would have some sort of interface to receive data from outside your tablet. This could be external sensors or any kind of data available through a network connection. Also to publish data to send commands would in some cases be usefull
A versatile and universally applicable solution to this problem would be the implementation of an MQTT client.
MQTT
Proposed implementation
Qfield
Enable Qfield to subscribe and publish to mqtt topics. There are different (opensource libraries available, eg. in java:
MQTT-Broker
To publish and subscribe to MQTT access to a mqtt-broker must be available. This can be achieved over network. There are different payed, some free services available. Or you can host your own service. An other option ist to run it locally on your tablet (eg. as an app or via termux + node-red). The choice is dependent on the use case.
Use cases
I think there is an endless number of use cases for this. Some examples:
Use cases subscription:
Use cases publication:
We would be glad to fund some parts of required development. Is there anyone else interested in this?
Whats your opinion @m-kuhn?
The text was updated successfully, but these errors were encountered: