Skip to content

Commit

Permalink
payload root can be on any config
Browse files Browse the repository at this point in the history
  • Loading branch information
vordimous committed Oct 27, 2023
1 parent a90a020 commit 427c460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ docker run mqtt-simulator -f <path/settings.json>
| `INDEX_END` | number | The index to end publishing from the `VALUES` array | optional, default is `len(values) - 1`. Only valid if `TYPE` is `"raw_value"` |
| `RESTART_ON_END` | bool | When true and the index of the `VALUES` array reaches `INDEX_END` the next value will be the `INDEX_START`. Otherwise the client will `disconnect` when reaching the end | optional, default is false. Only valid if `TYPE` is `"raw_value"` |
| `VALUES` | array\<any> | The values to be published in array order | if `TYPE` is `"raw_value"` |
| `PAYLOAD_ROOT` | object\<any> | The root set of params to include on all messages | if `TYPE` is `"raw_value"` |
| `VALUE_DEFAULT` | object\<any> | The default value params used or overwritten by a `"raw_value" | if `TYPE` is `"raw_value"` |
| `PAYLOAD_ROOT` | object\<any> | The root set of params to include on all messages | no |

> **_NOTE:_** Access [math_expression.md](./math_expression.md) file for more explanations and a example of `TYPE: "math_expression"`.

Expand Down

0 comments on commit 427c460

Please sign in to comment.