mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Remove modbus.restart / modbus.stop. (#33609)
This commit is contained in:
parent
50497f03eb
commit
e4dba5f22a
@ -1621,19 +1621,6 @@ Description:
|
||||
| value | (write_register) A single value or an array of 16-bit values. Single value will call modbus function code 0x06. Array will call modbus function code 0x10. Values might need reverse ordering. E.g., to set 0x0004 you might need to set `[4,0]`, this depend on the byte order of your CPU |
|
||||
| state | (write_coil) A single boolean or an array of booleans. Single boolean will call modbus function code 0x05. Array will call modbus function code 0x0F |
|
||||
|
||||
The modbus integration also provides communication stop/restart services. These services will not do any reconfiguring, but simply stop/start the modbus communication layer.
|
||||
|
||||
| Service | Description |
|
||||
| -------------- | --------------------------------------------- |
|
||||
| modbus.stop | Stop communication |
|
||||
| modbus.restart | Restart communication (Stop first if running) |
|
||||
|
||||
Description:
|
||||
|
||||
| Attribute | Description |
|
||||
| --------- | ------------------------------------------------ |
|
||||
| hub | Hub name (defaults to 'modbus_hub' when omitted) |
|
||||
|
||||
## Example: writing a float32 type register
|
||||
|
||||
To write a float32 datatype register use network format like `10.0` == `0x41200000` (network order float hexadecimal).
|
||||
|
Loading…
x
Reference in New Issue
Block a user