MQTT Support
-
Does Mervis contains libraries for MQTT support (Mqtt Client publish/subscribe)?
-
@roberts_lando Not yet, but there were a few discussions about this. Please send us a feedback how would you like to use it to our email - application, will you make your own Mqtt server or Mervis will be the server,...? Anything :)
-
@tomas_hora I just would like to be able to publish/subscribe to topics (Mqtt Client). About MQTT Server I already have mine or I use mosquitto or Mosca as MQTT borker.
-
Hi @roberts_lando,
I do the trick with modbus client on Mervis and libmosquitto in C that give me all the variable I want to export in my web browser in JSON format. -
Do you use libmosquitto as MQTT client than when you need to publish/subscribe you edit a Modbus register/coil?
-
@roberts_lando
For me I have Mervis Modbus client wich write registers in my C program modbus thread.
Then I have an other thread wich take care of changed values and publish on a topic to the mosquitto broker.
I have an other thread wich make some stuff on values, like a subscribed return value wich update modbus register before reply to modbus client.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login