mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2025-12-10 13:36:56 +03:00
Add ctrl/set_prevalue
This commit is contained in:
@@ -78,7 +78,24 @@ The following parameters have to be defined:
|
|||||||
### Control
|
### Control
|
||||||
|
|
||||||
* #### ctrl/flow_start
|
* #### ctrl/flow_start
|
||||||
Trigger a flow start by publishing to this topic (any character, length > 0)
|
Trigger a flow start by publishing to this topic
|
||||||
|
|
||||||
|
Payload:
|
||||||
|
1. any character, length > 0
|
||||||
|
|
||||||
|
* #### ctrl/set_prevalue
|
||||||
|
Set the last valid value (previous value) to given value or the actual RAW value. Payload needs to be provided in JSON notation.
|
||||||
|
|
||||||
|
Payload:
|
||||||
|
1. Set to given value (value >= 0): `{"numbersname": "main", "value": 12345.67890}`
|
||||||
|
|
||||||
|
1. "numbersname": Provide name of number sequence, e.g. `"main"`
|
||||||
|
2. "value": provide the value to be set
|
||||||
|
|
||||||
|
2. Set to actual RAW value (value < 0, a valid RAW value is mandatory): `{"numbersname": "main", "value": -1}`
|
||||||
|
|
||||||
|
1. "numbersname": Provide name of number sequence, e.g. `"main"`
|
||||||
|
2. "value": Provide any negative number
|
||||||
|
|
||||||
* #### GPIO/GPIO{PinNumber}
|
* #### GPIO/GPIO{PinNumber}
|
||||||
Depending on device configuration (`Settings` --> `Configuration` --> section `GPIO`)
|
Depending on device configuration (`Settings` --> `Configuration` --> section `GPIO`)
|
||||||
|
|||||||
Reference in New Issue
Block a user