MQTT integration, loadusr fails

More
28 Feb 2024 16:35 #294700 by comjon
Feeling like a newbie again. Just trying to get something loaded or even an output with some idea why I can't launch

Following the directions here www.linuxcnc.org/docs/devel/html/man/man1/mqtt-publisher.1.html

Mosquitto broker installed on same localhost as LinuxCNC, seems  one of these syntax attempts should work:

loadusr -W mqtt-publisher mqtt-broker=localhost keys=halui.estop.is-activated

loadusr -W mqtt-publisher=linuxcnc mqtt-broker=localhost keys=halui.estop.is-activated

DEBUG output: ./test.hal:110: execv(mqtt-publisher=mqtt): No such file or directory

Have verified that MQTT is indeed running:
Active: active (running) since Wed 2024-02-28 10:25:28 EST; 46min ago

INI file does specify the name of my broker (localhost).

Thanks.



 

Please Log in or Create an account to join the conversation.

More
28 Feb 2024 18:42 #294711 by comjon
Ah just FYI, I have paho-mqtt installed per instructions.

Please Log in or Create an account to join the conversation.

More
29 Feb 2024 09:44 #294754 by rodw
I would study up  on mosqutto. There are a number of security and permissions hoops to get through to get it to work smoothly. I would prove the broker is working from the command line before trying to use it with linuxcnc. I don't know anything about the linuxcnc connection.

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum