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 > High/Low output

High/Low output

The Low output and High output parameters define the output range of the Analog link. These parameters are only displayed if an Analog link is selected for the On event and a PWM capable peripheral (D0 - D8) is selected as an Output. Any [VALUE] between 0 and 100 can be assigned to these variables.

Values provided are representing a PWM duty cycle on a scale from 0% to 100%.

HTTP

The device will accept HTTP requests at the following URLs related to:

  • Low output:

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

  • High output:

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

A combination of:

POST: http://192.168.1.255/var_set?param=outval1_6&val=15
POST: http://192.168.1.255/var_set?param=outval2_6&val=85

will set the output range of the Analog link on Process #6 to 15% - 85%.

Learn more in HTTP API.

Variable outval1 is shared with Mem value, Folder and RGB speed.
Variable outval2 is shared with Duty cycle, Track and RGB brightness.

MQTT

This parameter can also be accessed via MQTT using [PARAMETER] = outval1 and outval2. Learn more in MQTT API.

Following two messages:

Topic: johndoe5896/home/garagedoor/sub/process_6/outval1
Payload: 15

Topic: johndoe5896/home/garagedoor/sub/process_6/outval2
Payload: 85

will set the output range of the Analog link on Process #6 to 15% - 85%.
© 2024 ayatec.eu • Found a mistake?  Let us know!