j-kaltes / Juggluco

Android app for Freestyle Libre 1,2 and 3 and Chinese Sibionics sensors
GNU General Public License v3.0
210 stars 54 forks source link

FR: Broadcasting to mqtt server #128

Open Stan-Di opened 7 months ago

Stan-Di commented 7 months ago

Hello Jaap Korthals Altes!

I kindly ask you to add the function of sending glucose data to mqtt server. It's very convenient and doesn't require Nightscout. This would be very convenient for Home Assistant, oled DIYdisplays etc...

Thank you for the wonderful program!

j-kaltes commented 7 months ago

Yes, there is the need to communicate between devices connected via mobile internet, without the need to setup a server. But mqtt still requires a server that you have to setup. The only advantage above a mirror connection, is that you don’t need to configure something specific for this application, as when putting Juggluco server on a remote computer (see: https://www.juggluco.nl/Juggluco/cmdline). Because there are probably no mqtt clients, it would be another route for mirror connections. I don’t think that it would be much easier to configure and a lot of work to implement. Can Home Assistant and oled DIYdisplays not make use of a TCP connection?

Stan-Di commented 7 months ago

Thank you so much for your answer! I didn't know about this TCP transfer capability. I will sort this out! After quickly reading the document, I realized that I could also run a script for transfer to MQTT on Termux.

Thanks again for your answer! And thanks for the wonderful application with great functionality!