mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add more documentation to modbus services (#7505)
* Add more documentation to modbus services
Useful for people not so familiar with modbus terminology. I had to use Wikipedia to understand the paramters, this should clarify things.
* Update modbus.markdown
* ✏️ Tweaks
This commit is contained in:
parent
99c0b30427
commit
aa3aba59be
@ -112,6 +112,13 @@ timeout:
|
|||||||
| ------- | ----------- |
|
| ------- | ----------- |
|
||||||
| write_register | Write register. Requires `unit`, `address` and `value` fields. `value` can be either single value or an array |
|
| write_register | Write register. Requires `unit`, `address` and `value` fields. `value` can be either single value or an array |
|
||||||
|
|
||||||
|
#### {% linkable_title Service Data Attributes %}
|
||||||
|
|
||||||
|
| Attribute | Description |
|
||||||
|
| --------- | ----------- |
|
||||||
|
| unit | Slave address (set to 255 you talk to Modbus via TCP) |
|
||||||
|
| address | Address of the Register (e.g., 138) |
|
||||||
|
| value | An array of 16-bit values. Might need reverse ordering. E.g., to set 0x0004 you might need to set `[4,0]` |
|
||||||
|
|
||||||
## {% linkable_title Building on top of Modbus %}
|
## {% linkable_title Building on top of Modbus %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user