Announcement

Collapse
No announcement yet.

Passing a device string to a message

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Passing a device string to a message

    Hi,

    I'm trying to pass the string value of a device to a MQTT topic, doesn't seem to be working, any ideas?

    mcsMQTT/HSVoiceMsg='Welcome home $$DVR:160: '

    Thanks

  • #2
    $$DVR is one of the HS substitution variables that are used as part of event actions as described in Section 5.3 of the manual. Table 1 contains the mcsMQTT substitution variables that are used in Topics and Payloads. Assuming you are doing an Event Action and want the string for device reference then the syntax is
    $$DTRreference): so in your case mcsMQTT/HSVoiceMsg='Welcome home $$DTR160): ' and you may or may not want the apostrophe.

    Comment


    • #3
      Thanks, it's working now and replacing the value

      Cheers

      Comment

      Working...
      X