Skip to content

modbus light documentation for color temperature and brightness #37973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: next
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions source/_integrations/modbus.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -1239,6 +1239,26 @@ lights:
required: false
default: 0x00
type: integer
brightness_address:
description: "Address to read/write color brightness."
required: false
default: None
type: integer
color_temp_address:
description: "Address to read/write color temperature."
required: false
default: None
type: integer
min_temp:
description: "Minimal level of color temperature in Kelvin."
required: false
default: 2000
type: integer
max_temp:
description: "Maximal level of color temperature in Kelvin."
required: false
default: 7000
type: integer
write_type:
description: "Type of write request."
required: false
Expand Down Expand Up @@ -1313,6 +1333,22 @@ modbus:
slave: 2
address: 14
write_type: coil
brightness_address: 1006
verify:
- name: "light3"
slave: 2
address: 14
write_type: coil
brightness_address: 1006
color_temp_address: 2006
- name: "light4"
slave: 2
address: 14
write_type: coil
brightness_address: 1006
color_temp_address: 2006
min_temp: 2500
max_temp: 5500
verify:
- name: "Register1"
address: 11
Expand Down