reha

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: How to use a c# script to process input XML/MQTT message #13360
    reha
    Participant

    Now, I will try to receive more complicated MQTT message in XML format and extract these value , then pass each value as single/simple value to channel.. many thanks for the guidance and helps.

    in reply to: How to use a c# script to process input XML/MQTT message #13359
    reha
    Participant

    Hi Michael
    thank you so much for the detailed explain. As now, my app working properly via MQTT, when MQTT message contains only 1 data value (nothing else) . Now it is the phase to include complex MQTT messages as you mentioned above. To respond your request, current config

    here is my working application: http://78.189.224.253:10008/ (default credentials)

    comm line definitions
    line definitions
    device settings
    mQTT topic (just single, simple value as now)

    in reply to: How to use a c# script to process input XML/MQTT message #13348
    reha
    Participant

    Hi Michael,
    thank you so much for the guidance.. The thing that I wish to achieve..
    Environment: I use MQTT to collect the sensor data. currently 2 sensors.. Temp & Hum
    Issue: the received MQTT message is in JSON formatted and contains 2 values (temperature & humidity)
    Target: process the MQTT message to extract values and assign to sensors

    I thought, I can use scripts to process that MQTT message and pass to individual sensors.. But I really dont know “where & how to” start..

    by the way, is there any documentation that I can have a look to understand scripts and the way it works. many thanks in advance, reha

    in reply to: How to setup MQTT in V6 #13150
    reha
    Participant

    Hi Mikhail,
    thank you so much again, because your question (How do you enter a subscription name?) remind me to revisit the definition file and it worked. So, answer to my questions (may help to somebody like me)
    1) when definitions are finished and uploaded and connection to MQTT server successful, Device status is still UNKNOWN. It doesnt mean something wrong. It only means that “no data received till that moment”. When 1st data received, Device status shown as NORMAL.
    2) name of the issue with “Unnamed subscription”.. When subscription defined, following parameters may help..
    — Display Name: is the field to update for subscription name
    — TAG Code is the connection with data element
    — TOPIC is the name of the topic to fetch the data
    3) for testing, if you have mosquitto already installed, following command sends the test data:
    mosquitto_pub -t ‘SCADA’ -m ’33’

    regards, reha

    in reply to: How to setup MQTT in V6 #13133
    reha
    Participant

    Hi again
    now I realised, how to modify the name.. But still I need help for the rest of the fields.. So that I can adjust the other end (i.e. MQTT data).. thanks, reha

    in reply to: How to setup MQTT in V6 #13132
    reha
    Participant

    Hi Michael,
    thank you so much for your help..
    1) I see, I may be able to contribute for this “when suceeded”
    2) a) just clicked to “+” sign at top left,
    b) it created new entry under the Subcsriptions category
    c) new entry shown as “unnamed subscirption” and I could not find way to change the name
    d) at right part of the panel, there are entries like “advanced parameters, Main Parameters, Protocol” .. and I have no idea what to enter for these parameters

    So, in short, I could not find way to modify subscription name 🙁

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