04-21-2023 08:28 PM
Has anyone been able to install Eclipse Mosquitto (the MQTT broker) on NI Linux RT v23? Nothing MQTT related shows up in the default feeds listed in NI's opkg config. I found an ipk for an older version of mosquitto, x64 architecture, built for openwrt, but install failed immediately due to a generic libc dependency error. I wonder if anyone here has been successful in finding working package or perhaps building it from scratch? I realize there are a couple of open source MQTT broker alternatives written in LabVIEW, but Mosquitto is very actively developed, mature, stable and fully supports all of the current MQTT v5 specs; it's much more ready for production deployment than the LabVIEW versions. If anyone has another recommended brokers that work on newer cRIO's (preferably FOS), I am open to suggestions.
02-18-2024 10:04 PM
Did you find a solution to this?
02-19-2024 05:34 PM
No, I couldn't figure out how to point the cRIO to other public package repositories and I'm not enough of a hardcore linux user to figure out how to build mosquitto from source. I played around with a python broker running on the cRIO for a while, but I really didn't trust it for production so I ended up running mosquitto on a different (windows) PC on the same LAN.
02-20-2024 10:24 AM
I do the same thing. just wondering if someone had a standalone solution without another pc.
12-17-2024 12:39 AM - edited 12-17-2024 12:49 AM
You can install conda to manage packages using this guide, which is also how you install python. https://austinconsultants.com/setting-up-compactrio-for-python-development/
Then run "bin/conda install conda-forge::mosquitto" to install mosquitto.
miniconda installs packages into its /bin and /sbin folder, so you can find them there.
run python from:
~/miniconda3/bin/python
run mosquitto from:
~/miniconda3/sbin/mosquitto
mosquitto's config files are in:
~/miniconda3/etc/mosquitto