When using the "Start Level Change" command to a bulb connected to the diyHue bridge, the bulb immediately reports an off state. I'm trying to figure out if this is being caused by my hub or being caused by diyHue. Here are the logs when I issue the command. The bulb responds correctly but it briefly reports as off and takes a while to respond with the correct level.
192.168.1.12 - - [13/Dec/2018 20:11:31] "GET /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/ HTTP/1.1" 200 -
192.168.1.12 - - [13/Dec/2018 20:11:41] "GET /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/ HTTP/1.1" 200 -
192.168.1.2 - - [13/Dec/2018 20:11:41] "GET /description.xml HTTP/1.1" 200 -
2018-12-13 20:11:42,240 - root - DEBUG - sync with lights
2018-12-13 20:11:42,304 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.44
2018-12-13 20:11:42,346 - requests.packages.urllib3.connectionpool - DEBUG - http://192.168.1.44:80 "GET /get?light=1 HTTP/1.1" 200 93
2018-12-13 20:11:42,414 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.19
2018-12-13 20:11:42,538 - root - DEBUG - Sending M-Search response to 192.168.1.6
2018-12-13 20:11:43,582 - requests.packages.urllib3.connectionpool - DEBUG - http://192.168.1.19:80 "GET /get?light=1 HTTP/1.1" 200 93
2018-12-13 20:11:43,658 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.10
2018-12-13 20:11:43,783 - requests.packages.urllib3.connectionpool - DEBUG - http://192.168.1.10:80 "GET /get?light=1 HTTP/1.1" 200 94
2018-12-13 20:11:43,835 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.20
2018-12-13 20:11:43,871 - requests.packages.urllib3.connectionpool - DEBUG - http://192.168.1.20:80 "GET /get?light=1 HTTP/1.1" 200 95
2018-12-13 20:11:44,443 - root - DEBUG - Sending M-Search response to 192.168.1.2
2018-12-13 20:11:45,849 - root - DEBUG - Sending M-Search response to 192.168.1.2
2018-12-13 20:11:48,877 - root - DEBUG - Sending M-Search response to 192.168.1.2
192.168.1.12 - - [13/Dec/2018 20:11:48] "PUT /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/5/state HTTP/1.1" 200 -
2018-12-13 20:11:48,904 - root - DEBUG - in PUT method
2018-12-13 20:11:48,911 - root - DEBUG - /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/5/state
2018-12-13 20:11:48,916 - root - DEBUG - b'{"bri_inc":254,"transitiontime":30}'
2018-12-13 20:11:48,978 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 127.0.0.1
2018-12-13 20:11:48,998 - root - DEBUG - {"e":"changed","id":"1","r":"lights","state":{"bri":254},"t":"event","uniqueid":"e2:0d:b9:ff:fe:06:79:5c-0a"}
2018-12-13 20:11:49,008 - requests.packages.urllib3.connectionpool - DEBUG - http://127.0.0.1:8080 "PUT /api/283145a4e198cc6535/lights/1/state HTTP/1.1" 200 41
2018-12-13 20:11:49,731 - root - DEBUG - LightRequest: http://127.0.0.1:8080/api/283145a4e198cc6535/lights/1/state
2018-12-13 20:11:49,744 - root - DEBUG - [
{
"success": {
"/lights/5/state/bri_inc": 254
}
},
{
"success": {
"/lights/5/state/transitiontime": 30
}
}
]
192.168.1.12 - - [13/Dec/2018 20:11:51] "GET /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/ HTTP/1.1" 200 -
192.168.1.12 - - [13/Dec/2018 20:11:55] "PUT /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/5/state HTTP/1.1" 200 -
2018-12-13 20:11:55,030 - root - DEBUG - in PUT method
2018-12-13 20:11:55,035 - root - DEBUG - /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/5/state
2018-12-13 20:11:55,038 - root - DEBUG - b'{"bri_inc":-254,"transitiontime":30}'
2018-12-13 20:11:55,081 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 127.0.0.1
2018-12-13 20:11:55,100 - root - DEBUG - {"e":"changed","id":"1","r":"lights","state":{"bri":1},"t":"event","uniqueid":"e2:0d:b9:ff:fe:06:79:5c-0a"}
2018-12-13 20:11:55,113 - requests.packages.urllib3.connectionpool - DEBUG - http://127.0.0.1:8080 "PUT /api/283145a4e198cc6535/lights/1/state HTTP/1.1" 200 39
2018-12-13 20:11:55,831 - root - DEBUG - LightRequest: http://127.0.0.1:8080/api/283145a4e198cc6535/lights/1/state
2018-12-13 20:11:55,841 - root - DEBUG - [
{
"success": {
"/lights/5/state/bri_inc": -254
}
},
{
"success": {
"/lights/5/state/transitiontime": 30
}
}
]
192.168.1.12 - - [13/Dec/2018 20:11:56] "PUT /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/5/state HTTP/1.1" 200 -
2018-12-13 20:11:56,368 - root - DEBUG - in PUT method
2018-12-13 20:11:56,376 - root - DEBUG - /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/5/state
2018-12-13 20:11:56,382 - root - DEBUG - b'{"bri_inc":0,"transitiontime":30}'
2018-12-13 20:11:56,438 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 127.0.0.1
2018-12-13 20:11:56,459 - requests.packages.urllib3.connectionpool - DEBUG - http://127.0.0.1:8080 "PUT /api/283145a4e198cc6535/lights/1/state HTTP/1.1" 200 39
2018-12-13 20:11:57,180 - root - DEBUG - LightRequest: http://127.0.0.1:8080/api/283145a4e198cc6535/lights/1/state
192.168.1.12 - - [13/Dec/2018 20:11:57] "PUT /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/5/state HTTP/1.1" 200 -
2018-12-13 20:11:57,203 - root - DEBUG - [
{
"success": {
"/lights/5/state/bri_inc": 0
}
},
{
"success": {
"/lights/5/state/transitiontime": 30
}
}
]
2018-12-13 20:11:57,220 - root - DEBUG - in PUT method
2018-12-13 20:11:57,230 - root - DEBUG - /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/5/state
2018-12-13 20:11:57,235 - root - DEBUG - b'{"bri_inc":0,"transitiontime":30}'
2018-12-13 20:11:57,275 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 127.0.0.1
2018-12-13 20:11:57,296 - requests.packages.urllib3.connectionpool - DEBUG - http://127.0.0.1:8080 "PUT /api/283145a4e198cc6535/lights/1/state HTTP/1.1" 200 39
2018-12-13 20:11:58,014 - root - DEBUG - LightRequest: http://127.0.0.1:8080/api/283145a4e198cc6535/lights/1/state
2018-12-13 20:11:58,029 - root - DEBUG - [
{
"success": {
"/lights/5/state/bri_inc": 0
}
},
{
"success": {
"/lights/5/state/transitiontime": 30
}
}
]
192.168.1.12 - - [13/Dec/2018 20:12:01] "GET /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/ HTTP/1.1" 200 -
192.168.1.2 - - [13/Dec/2018 20:12:01] "GET /description.xml HTTP/1.1" 200 -
2018-12-13 20:12:01,995 - root - DEBUG - Sending M-Search response to 192.168.1.2
2018-12-13 20:12:02,911 - root - DEBUG - sync with lights
2018-12-13 20:12:02,971 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.44
2018-12-13 20:12:03,011 - requests.packages.urllib3.connectionpool - DEBUG - http://192.168.1.44:80 "GET /get?light=1 HTTP/1.1" 200 93
2018-12-13 20:12:03,067 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.19
2018-12-13 20:12:03,239 - requests.packages.urllib3.connectionpool - DEBUG - http://192.168.1.19:80 "GET /get?light=1 HTTP/1.1" 200 93
2018-12-13 20:12:03,291 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.10
2018-12-13 20:12:03,446 - requests.packages.urllib3.connectionpool - DEBUG - http://192.168.1.10:80 "GET /get?light=1 HTTP/1.1" 200 94
2018-12-13 20:12:03,498 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.20
2018-12-13 20:12:03,532 - requests.packages.urllib3.connectionpool - DEBUG - http://192.168.1.20:80 "GET /get?light=1 HTTP/1.1" 200 95
2018-12-13 20:12:05,362 - root - DEBUG - Sending M-Search response to 192.168.1.2
192.168.1.12 - - [13/Dec/2018 20:12:05] "GET /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/ HTTP/1.1" 200 -
2018-12-13 20:12:08,138 - root - DEBUG - Sending M-Search response to 192.168.1.2
2018-12-13 20:12:09,745 - root - DEBUG - Sending M-Search response to 192.168.1.40
192.168.1.12 - - [13/Dec/2018 20:12:11] "GET /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/ HTTP/1.1" 200 -
192.168.1.12 - - [13/Dec/2018 20:12:11] "GET /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/ HTTP/1.1" 200 -
2018-12-13 20:12:17,289 - root - DEBUG - {"e":"changed","id":"1","r":"lights","state":{"bri":135},"t":"event","uniqueid":"e2:0d:b9:ff:fe:06:79:5c-0a"}
192.168.1.12 - - [13/Dec/2018 20:12:19] "GET /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/ HTTP/1.1" 200 -
192.168.1.12 - - [13/Dec/2018 20:12:19] "GET /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/ HTTP/1.1" 200 -
2018-12-13 20:12:20,569 - root - DEBUG - sync with lights
2018-12-13 20:12:20,629 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.44
2018-12-13 20:12:20,664 - requests.packages.urllib3.connectionpool - DEBUG - http://192.168.1.44:80 "GET /get?light=1 HTTP/1.1" 200 93
2018-12-13 20:12:20,737 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.19
2018-12-13 20:12:20,852 - requests.packages.urllib3.connectionpool - DEBUG - http://192.168.1.19:80 "GET /get?light=1 HTTP/1.1" 200 93
2018-12-13 20:12:20,904 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.10
192.168.1.2 - - [13/Dec/2018 20:12:20] "GET /description.xml HTTP/1.1" 200 -
2018-12-13 20:12:21,083 - requests.packages.urllib3.connectionpool - DEBUG - http://192.168.1.10:80 "GET /get?light=1 HTTP/1.1" 200 94
2018-12-13 20:12:21,135 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.20
192.168.1.12 - - [13/Dec/2018 20:12:21] "GET /api/a7ab75ae5e53dba6eea54b2f74a08bcb/lights/ HTTP/1.1" 200 -
2018-12-13 20:12:21,188 - requests.packages.urllib3.connectionpool - DEBUG - http://192.168.1.20:80 "GET /get?light=1 HTTP/1.1" 200 95
2018-12-13 20:12:21,745 - root - DEBUG - Sending M-Search response to 192.168.1.2
2018-12-13 20:12:24,826 - root - DEBUG - Sending M-Search response to 192.168.1.2
2018-12-13 20:12:27,791 - root - DEBUG - Sending M-Search response to 192.168.1.2
If there is anything else you need, let me know.