TimCruise 2 Posted December 7, 2021 Dear RAD Studio Experts, Nowadays, monitoring huge among of sensors over internet is very popular. So MQTT was invented for this purpose: https://mqtt.org/ My questions are: Is there MQTT connection feature in RAD Studio v10.4 so that we can create stunning user dash board from within RAD Studio? It is a big advantage over http web browser dash board because we do not need to open MQTT server IP address to whole public. Will there be MQTT connection feature in new version of RAD Studio? Share this post Link to post
TimCruise 2 Posted December 7, 2021 (edited) I've just found this one, and am trying to see how to install it in RAD Studio v10.4: https://github.com/pjde/delphi-mqtt Edited December 7, 2021 by TimCruise Share this post Link to post
mvanrijnen 123 Posted December 7, 2021 28 minutes ago, TimCruise said: I've just found this one, and am trying to see how to install it in RAD Studio v10.4: https://github.com/pjde/delphi-mqtt We use this one (paid but not expensive): TMS MQTT Cross-platform messaging client library implementing the full MQTT specification. (tmssoftware.com) Works very good, we use it for signaling between apps and servicec etc. Share this post Link to post
TimCruise 2 Posted December 7, 2021 It looks good and is not expensive! Let me check! Thank you! And do you feel that your implementation is more secure than http web browser dash board? Share this post Link to post
mvanrijnen 123 Posted December 8, 2021 15 hours ago, TimCruise said: It looks good and is not expensive! Let me check! Thank you! And do you feel that your implementation is more secure than http web browser dash board? We use het purely internally, you simply have to setup an internal MQTT server and point your clients to that, (i even have tooling to use the internal DNS as configuration for this, but we don't use this at this point yet). Share this post Link to post
DPStano 15 Posted December 9, 2021 that one looks good https://github.com/bkeevil/mqtt I was planning to use it but don't know if is actually usable Share this post Link to post
TimCruise 2 Posted December 11, 2021 On 12/9/2021 at 4:15 PM, DPStano said: that one looks good https://github.com/bkeevil/mqtt I was planning to use it but don't know if is actually usable Friend, have you tested it? How would you compile it under Delphi? Share this post Link to post
KenR 29 Posted December 12, 2021 TMS have one see https://www.tmssoftware.com/site/tmsmqtt.asp Share this post Link to post
DPStano 15 Posted December 12, 2021 17 hours ago, TimCruise said: Friend, have you tested it? How would you compile it under Delphi? https://github.com/bkeevil/mqtt/issues/26 Share this post Link to post
Guest Posted December 13, 2021 There's also (the rather costly) /n software. Share this post Link to post
Erwin Mouthaan 7 Posted December 13, 2021 Another option is eSeGeCe. It supports the latest 5.0 protocol. 1 Share this post Link to post
esegece 47 Posted December 13, 2021 Hi, I am Sergio the developer of sgcWebsockets library (esegece.com). The MQTT protocol is supported (3.1.1 and 5.0) on plain TCP and WebSocket connections (secure connections are supported too) and can be compiled on all Delphi personalities (windows, mobile, linux...). You can check the following link, which contains more info about the MQTT client component: https://www.esegece.com/websockets/protocols/mqtt The documentation can be accessed from here: https://www.esegece.com/help/sgcWebSockets/#t=Components%2FProtocols%2FSubprotocols%2FMQTT%2FProtocol_MQTT.htm Kind Regards, Sergio 2 Share this post Link to post
quini 0 Posted May 27, 2023 I used to use TMS MQTT components available at https://www.tmssoftware.com/site/tmsmqtt.asp But recently I founs the MQTT unit, available at https://github.com/jamiei/Delphi-TMQTT2 It is very simple to use and has the advantage that it is free Share this post Link to post
miab 25 Posted May 27, 2023 For some time, there is a client and an example MQTT server in the ICS library. Share this post Link to post