Does Mervis contains libraries for MQTT support (Mqtt Client publish/subscribe)?
tomas_hora administrators last edited by
@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.
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?
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.