ayatec logo
Home Store Blog Contact
unispa user guide by ayatec
Home Store Blog Contact

Topics

  1. Getting started
    1. What is unispa
    2. Hardware specification
    3. Connectivity
    4. System controls
    5. Integration options
    6. Network API - HTTP
    7. Network API - MQTT
    8. Network security
    9. Download
  2. Web Interface
    1. Process
      1. Cabin
      2. Pool
      3. Kneipp
    2. Peripheral
      1. Calibration
      2. Mapping (edit)
    3. Device
    4. Network
    5. System

In this article

  • Introduction
advert
unispa > Web interface > Processes > Output > Subtopic

Subtopic

When Use name in the Subtopic is allowed, the topic of the MQTT messages by which the output changes are published will refer to the process by its Name rather than its index number in the form of process_[id]. Learn more in MQTT API.

Use this to increase the user-friendliness of the MQTT messages or to get rid of the dependence on the processes' numbering.

[VALUE] of this variable may assume values 0 or False for disabling and 1 or True for enabling this option.

HTTP

The device will accept HTTP requests at the following URLs:

(POST) http://[IPv4]/var_set?param=outpubnm_[PROCESS ID]&val=[VALUE]
(GET) http://[IPv4]/var_request?param=outpubnm_[PROCESS ID]



POST: http://192.168.1.255/var_set?param=outpubnm_4&val=1

will enable publishing of the Process #4 output via MQTT with the process name as a sub-topic.

Learn more in HTTP API. For obtaining the relevant MQTT telemetry please check MQTT API.

MQTT

This parameter cannot be accessed via MQTT. Learn more in MQTT API. For obtaining the relevant MQTT telemetry please check MQTT API.

Example

If the process #4 with the Name: Ext_humidity publishes its output changes under the original topic:

  • myhouse/livingroom/pub/process_4/output

Then allowing the Use name changes the topic to:

  • myhouse/livingroom/pub/Ext_humidity/output
© 2024 ayatec.eu • Found a mistake?  Let us know!