Install MQTT Plugin

Forum Home Forums Communicating with Devices Install MQTT Plugin

Tagged: 

This topic contains 5 replies, has 4 voices, and was last updated by Avatar atomsk 4 months, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5216
    Avatar
    roska
    Participant

    Hello,

    I tried to install the MQTT plugin, but as the instructions are only russian, I don’t know exactly how to do it, and it doesn’t work. I downloaded the zip file and put the dll and config files in the directories, I created a Communication Line, a Device type and Device.
    But in the communicator, If I want to open the device, it says “unknown dll” and under “device libraries” the dll is also missing. How do I get it there?

    #5224
    Mikhail
    Mikhail
    Moderator

    Hello,
    Try unblocking new dlls. Use Google Translate for the instructions. In case of issues please provide screenshots.

    #5386
    Avatar
    bvillalo
    Participant

    Hi dear I have the same problem of “Roska” have but I already unlock the files and create the same elements that “Roska” created so I have the following mensage:

    error comunitating with the device: referencia a objeto no establecida como instancia de un objeto.

    I have modified the device .xml file and setup it in the comunicator without result, would you send me any sugestions?

    Thanks in advance

    #5387
    Mikhail
    Mikhail
    Moderator

    Hi,

    What is you configuration XML file currently?
    Aslo I suggest to ask the autor of the driver on GitHub https://github.com/bersim/OpenKPs/tree/master/KpMQTT

    #5388
    Avatar
    bvillalo
    Participant

    Hi friend thanks for you answer my configuration is :

    <?xml version=”1.0″ encoding=”UTF-8″?>
    -<DevTemplate>
    <MqttParams Password=”” UserName=”” Port=”1883″ ClientID=”KpMQTTrs111″ Hostname=”192.168.1.106″/>
    <RapSrvCnf ServerPwd=”12345″ ServerUser=”ScadaComm” ServerPort=”10000″ ServerHost=”127.0.0.1″/>
    -<MqttSubTopics>
    <Topic NumCnl=”1020″ QosLevel=”0″ TopicName=”ha/_temperature1″/>
    </MqttSubTopics>
    </DevTemplate>

    Any sugestion ?

    #5389
    Avatar
    atomsk
    Participant

    Hi!
    I think attribute TopicName should start with symbol “/”
    For example TopicName=”/temperature1″

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.