VL.Mqtt

here is a very basic setup to get started with developing an mqtt lib for vl. it is referencing the M2MqttDotnetCore nuget.

instructions:

  • extract into a directory like “c:\vl-libs”
  • run vvvv.exe with a commandline argument: /package-repositories “C:\vl-libs”
  • open vvvv\girlpower\demo and see the red node
  • rightclick it to open the vl editor, then follow the red entry in the menu and rightclick the missing dependency to install it

now available as git repo: https://github.com/vvvv/VL.IO.M2MQTT
and prerelease nuget: https://www.nuget.org/packages/VL.IO.M2MQTT/

1 Like

VL.IO.M2MQTT is nice and handy also works immediately BUT
here it disconnects after a while - wouldn’t be a big thing BUT
can only reconnect when I do F8 and F5 - nothing else is working and the node also “blink pink” error when I try port change - enable change … and also cannot find inside the node where the problem is

greets

an issue for the underlying library sounds similar: https://github.com/eclipse/paho.mqtt.m2mqtt/issues/97
do you have periods of inactivity like explained there? can you try if it makes a difference if you have a periodic dummy-request just to keep the connection?