Skip to content

Commit 5eb47a0

Browse files
authored
[govee] Fix brightness vs. color synchronization (openhab#17812)
* [govee] Fix synchronization of brightness Signed-off-by: Andrew Fiddian-Green <[email protected]>
1 parent 5c76284 commit 5eb47a0

File tree

14 files changed

+840
-440
lines changed

14 files changed

+840
-440
lines changed

bundles/org.openhab.binding.govee/README.md

+105-38
Original file line numberDiff line numberDiff line change
@@ -20,68 +20,133 @@ While Govee provides probably more than a hundred different lights, only the fol
2020

2121
Here is a list of the supported devices (the ones marked with * have been tested by the author)
2222

23-
- H619Z RGBIC Pro LED Strip Lights
23+
- H6042 Govee TV Light Bar #2
24+
- H6043 Govee TV Light Bars #2
2425
- H6046 RGBIC TV Light Bars
2526
- H6047 RGBIC Gaming Light Bars with Smart Controller
27+
- H6051 Aura - Smart Table Lamp
28+
- H6052 Govee Table Lamp
29+
- H6056 H6056 Flow Plus
30+
- H6059 RGBWW Night Light for Kids
2631
- H6061 Glide Hexa LED Panels (*)
2732
- H6062 Glide Wall Light
33+
- H6063 Gaming Wall Light
2834
- H6065 Glide RGBIC Y Lights
2935
- H6066 Glide Hexa Pro LED Panel
3036
- H6067 Glide Triangle Light Panels (*)
37+
- H606A Glide Hexa Light Panel Ultra
3138
- H6072 RGBICWW Corner Floor Lamp (*)
32-
- H6076 RGBICW Smart Corner Floor Lamp (*)
3339
- H6073 LED Floor Lamp
40+
- H6076 RGBICW Smart Corner Floor Lamp (*)
3441
- H6078 Cylinder Floor Lamp
42+
- H607C Floor Lamp #2
3543
- H6087 RGBIC Smart Wall Sconces
36-
- H6173 RGBIC Outdoor Strip Lights
37-
- H619A RGBIC Strip Lights With Protective Coating 5M
38-
- H619B RGBIC LED Strip Lights With Protective Coating
39-
- H619C LED Strip Lights With Protective Coating
40-
- H619D RGBIC PRO LED Strip Lights
41-
- H619E RGBIC LED Strip Lights With Protective Coating
42-
- H61A0 RGBIC Neon Rope Light 1M
43-
- H61A1 RGBIC Neon Rope Light 2M
44-
- H61A2 RGBIC Neon Rope Light 5M
45-
- H61A3 RGBIC Neon Rope Light
46-
- H61C5 RGBIC LED Neon Rope Lights for Desks (*)
47-
- H61D3 Neon Rope Light 2 3M (*)
48-
- H61D5 Neon Rope Light 2 5M (*)
49-
- H61A5 Neon LED Strip Light 10
50-
- H61A8Neon Neon Rope Light 10
51-
- H618A RGBIC Basic LED Strip Lights 5M
52-
- H618C RGBIC Basic LED Strip Lights 5M
44+
- H6088 RGBIC Cube Wall Sconces
45+
- H608A String Downlights 5M
46+
- H608B String Downlights 3M
47+
- H608C String Downlights 2M
48+
- H608D String Downlights 10M
49+
- H60A0 Ceiling Light
50+
- H60A1 Smart Ceiling Light (*)
51+
- H610A Glide Lively Wall Lights
52+
- H610B Music Wall Lights
53+
- H6110 2x5M Multicolor with Alexa
5354
- H6117 Dream Color LED Strip Light 10M
55+
- H6141 5M Smart Multicolor Strip Light
56+
- H6143 5M Strip Light
57+
- H6144 2x5M Strip Light
5458
- H6159 RGB Light Strip (*)
55-
- H615E LED Strip Lights 30M
59+
- H615A 5M Light Strip with Alexa (*)
60+
- H615B 10M Light Strip with Alexa
61+
- H615C 15M Light Strip with Alexa
62+
- H615D 20M Light Strip with Alexa
63+
- H615E 30M Light Strip with Alexa
5664
- H6163 Dreamcolor LED Strip Light 5M
57-
- H610A Glide Lively Wall Lights
58-
- H610B Music Wall Lights
65+
- H6167 TV Backlight 2.4M
66+
- H6168 TV Backlight 2x0.7M+2x1.2M
67+
- H616C Outdoor Strip 10M
68+
- H616D Outdoor Strip 2x7.5M
69+
- H616E Outdoor Strip 2x10M
5970
- H6172 Outdoor LED Strip 10m
60-
- H61B2 RGBIC Neon TV Backlight
71+
- H6173 RGBIC Outdoor Strip Lights
72+
- H6175 RGBIC Outdoor Strip Lights 10M
73+
- H6176 RGBIC Outdoor Strip Lights 30M
74+
- H6182 WiFi Multicolor TV Strip Light
75+
- H618A RGBIC Basic LED Strip Lights 5M
76+
- H618C RGBIC Basic LED Strip Lights 5M
77+
- H618E LED Strip Lights 22m
78+
- H618F RGBIC LED Strip Lights
79+
- H619A Strip Lights With Protective Coating 5M
80+
- H619B Strip Lights With Protective Coating 7.5M
81+
- H619C Strip Lights With Protective Coating with Alexa 10M
82+
- H619D PRO LED Strip Lights with Alexa 2x7.5M
83+
- H619E Strip Lights With Protective Coating with Alexa 2x10M
84+
- H619Z Pro LED Strip Lights 3M
85+
- H61A0 RGBIC Neon Rope Light 3M
86+
- H61A1 RGBIC Neon Rope Light 2M
87+
- H61A2 RGBIC Neon Rope Light 5M
88+
- H61A3 RGBIC Neon Rope Light 4M
89+
- H61A5 Neon LED Strip Light 10M
90+
- H61A8 Neon Rope Light 10M
91+
- H61A8 Neon Rope Light 20M
92+
- H61B1 Strip Light with Cover 5M
93+
- H61B2 RGBIC Neon TV Backlight 3M
94+
- H61BA LED Strip Light 5M
95+
- H61BC LED Strip Light 10M
96+
- H61BE LED Strip Light 2x10M
97+
- H61C2 Neon LED Strip Light 2M
98+
- H61C2 Neon LED Strip Light 3M
99+
- H61C2 Neon LED Strip Light 5M
100+
- H61D3 Neon Rope Light 2 3m (*)
101+
- H61D5 Neon Rope Light 2 5m (*)
102+
- H61E0 LED Strip Light M1
61103
- H61E1 LED Strip Light M1
62104
- H7012 Warm White Outdoor String Lights
63105
- H7013 Warm White Outdoor String Lights
64106
- H7021 RGBIC Warm White Smart Outdoor String
65107
- H7028 Lynx Dream LED-Bulb String
108+
- H7033 LED-Bulb String Lights
66109
- H7041 LED Outdoor Bulb String Lights
67110
- H7042 LED Outdoor Bulb String Lights
68-
- H705A Permanent Outdoor Lights 30M
69-
- H705B Permanent Outdoor Lights 15M
70111
- H7050 Outdoor Ground Lights 11M
71112
- H7051 Outdoor Ground Lights 15M
113+
- H7052 Outdoor Ground Lights 15M
114+
- H7052 Outdoor Ground Lights 30M
72115
- H7055 Pathway Light
116+
- H705A Permanent Outdoor Lights 30M
117+
- H705B Permanent Outdoor Lights 15M
118+
- H705C Permanent Outdoor Lights 45M
119+
- H705D Permanent Outdoor Lights #2 15M
120+
- H705E Permanent Outdoor Lights #2 30M
121+
- H705F Permanent Outdoor Lights #2 45M
73122
- H7060 LED Flood Lights (2-Pack)
74123
- H7061 LED Flood Lights (4-Pack)
75124
- H7062 LED Flood Lights (6-Pack)
125+
- H7063 Outdoor Flood Lights
76126
- H7065 Outdoor Spot Lights
77-
- H70C1 Govee Christmas String Lights 10m (*)
78-
- H70C2 Govee Christmas String Lights 20m (*)
79-
- H6051 Aura - Smart Table Lamp
80-
- H6056 H6056 Flow Plus
81-
- H6059 RGBWW Night Light for Kids
82-
- H618F RGBIC LED Strip Lights
83-
- H618E LED Strip Lights 22m
84-
- H6168 TV LED Backlight
127+
- H7066 Outdoor Spot Lights
128+
- H706A Permanent Outdoor Lights Pro 30M
129+
- H706B Permanent Outdoor Lights Pro 45M
130+
- H706C Permanent Outdoor Lights Pro 60M
131+
- H7070 Outdoor Projector Light (*)
132+
- H7075 Outdoor Wall Light
133+
- H70B1 520 LED Curtain Lights
134+
- H70BC 400 LED Curtain Lights
135+
- H70C1 RGBIC String Light 10M (*)
136+
- H70C2 RGBIC String Light 20M (*)
137+
- H805A Permanent Outdoor Lights Elite 30M
138+
- H805B Permanent Outdoor Lights Elite 15M
139+
- H805C Permanent Outdoor Lights Elite 45M
140+
141+
## Firewall
142+
143+
Govee devices communicate via multicast and unicast messages over the LAN.
144+
So you must ensure that any firewall on your openHAB server is configured to pass the following traffic:
145+
146+
- Multicast UDP on 239.255.255.250 port 4001
147+
- Incoming unicast UDP on port 4002
148+
- Outgoing unicast UDP on port 4003
149+
85150
## Discovery
86151

87152
Discovery is done by scanning the devices in the Thing section.
@@ -108,11 +173,13 @@ arp -a | grep "MAC_ADDRESS"
108173

109174
### `govee-light` Thing Configuration
110175

111-
| Name | Type | Description | Default | Required | Advanced |
112-
|-----------------|---------|---------------------------------------|---------|----------|----------|
113-
| hostname | text | Hostname or IP address of the device | N/A | yes | no |
114-
| macAddress | text | MAC address of the device | N/A | yes | no |
115-
| refreshInterval | integer | Interval the device is polled in sec. | 5 | no | yes |
176+
| Name | Type | Description | Default | Required | Advanced |
177+
|-----------------|---------|------------------------------------------------------------------|---------|----------|----------|
178+
| hostname | text | Hostname or IP address of the device | N/A | yes | no |
179+
| macAddress | text | MAC address of the device | N/A | yes | no |
180+
| refreshInterval | integer | Interval the device is polled in sec. | 5 | no | yes |
181+
| minKelvin | integer | The minimum color temperature that the light supports in Kelvin. | N/A | no | yes |
182+
| maxKelvin | integer | The maximum color temperature that the light supports in Kelvin. | N/A | no | yes |
116183

117184
## Channels
118185

0 commit comments

Comments
 (0)