indigodomo / HomeKit-Bridge

Enabled HomeKit integration via Homebridge for Indigo Home Automation
The Unlicense
46 stars 13 forks source link

Proportional/ Dimmer settings not working properly #118

Open dscottbuch opened 6 years ago

dscottbuch commented 6 years ago

Problem: Setting a lamp to X% doesn’t work from a scene or automation if Lamp is off. If the lamp/device is on it is set correctly when the scene or automation is run.

Expected Behavior

When a scene or automation calls for a given lamp to be set to X% is should be set to X% after completion independent of the starting state of the device.

Current Behavior

If the scene or automation calls for a device to be set to X% if the device is off when the process is run the device is set to 100%. If the device is on then it is set properly.

Steps to Reproduce (for bugs)

Versions

Plugin 1.0.2

Result for using Scene which sets 'Media Room' to 35%

Indigo Log

Sent Scene On    Sent INSTEON "Media Room" on to 35    Sent INSTEON "Media Room" on to 100 Sent Scene On Again as Scene was not fulfilled with 'Media Room' at 100%    Sent INSTEON "Media Room" on to 35 Send Scene Off    Sent INSTEON "Media Room" off Sent Scene On    Sent INSTEON "Media Room" on to 35    Sent INSTEON "Media Room" on to 100 Sent Scene On Again as Scene was not fulfilled with 'Media Room' at 100%    Sent INSTEON "Media Room" on to 35 Send Scene Off    Sent INSTEON "Media Room" off Manually turn Media Room On    Sent INSTEON "Media Room" on to 100 Sent Scene On Again as Scene was not fulfilled with 'Media Room' at 100%    Sent INSTEON "Media Room" on to 100    Sent INSTEON "Media Room" on to 35

HomebridgeLog

[2018-9-26 09:56:53] [HomeKit Bridge Server] Media Room: set(Brightness) 0 -> 35
[2018-9-26 09:56:53] [HomeKit Bridge Server] Media Room: set(On) false -> true
[2018-9-26 09:56:53] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=429068053&serverId=523558820&jkey=2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d&cmd=setCharacteristic&Brightness=35
[2018-9-26 09:56:53] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(On): true -> false
[2018-9-26 09:56:53] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 35 -> 0
[2018-9-26 09:56:53] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=429068053&serverId=523558820&jkey=2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d&cmd=setCharacteristic&On=true
[2018-9-26 09:56:54] [HomeKit Bridge Server] POST update request for device ID 2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d
[2018-9-26 09:56:54] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(On): false -> true
[2018-9-26 09:56:54] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 0 -> 35
[2018-9-26 09:56:54] [HomeKit Bridge Server] POST update request for device ID 2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d
[2018-9-26 09:56:54] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 35 -> 100
[2018-9-26 09:57:00] [HomeKit Bridge Server] Media Room: set(Brightness) 100 -> 35
[2018-9-26 09:57:00] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=429068053&serverId=523558820&jkey=2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d&cmd=setCharacteristic&Brightness=35
[2018-9-26 09:57:00] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 35 -> 100
[2018-9-26 09:57:00] [HomeKit Bridge Server] POST update request for device ID 2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d
[2018-9-26 09:57:00] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 100 -> 35
[2018-9-26 09:57:05] [HomeKit Bridge Server] Media Room: set(On) true -> false
[2018-9-26 09:57:05] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=429068053&serverId=523558820&jkey=2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d&cmd=setCharacteristic&On=false
[2018-9-26 09:57:05] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(On): false -> true
[2018-9-26 09:57:05] [HomeKit Bridge Server] POST update request for device ID 2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d
[2018-9-26 09:57:05] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(On): true -> false
[2018-9-26 09:57:05] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 35 -> 0
[2018-9-26 09:57:08] [HomeKit Bridge Server] Media Room: set(Brightness) 0 -> 35
[2018-9-26 09:57:08] [HomeKit Bridge Server] Media Room: set(On) false -> true
[2018-9-26 09:57:08] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=429068053&serverId=523558820&jkey=2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d&cmd=setCharacteristic&Brightness=35
[2018-9-26 09:57:08] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(On): true -> false
[2018-9-26 09:57:08] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 35 -> 0
[2018-9-26 09:57:08] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=429068053&serverId=523558820&jkey=2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d&cmd=setCharacteristic&On=true
[2018-9-26 09:57:08] [HomeKit Bridge Server] POST update request for device ID 2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d
[2018-9-26 09:57:08] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(On): false -> true
[2018-9-26 09:57:08] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 0 -> 35
[2018-9-26 09:57:08] [HomeKit Bridge Server] POST update request for device ID 2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d
[2018-9-26 09:57:08] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 35 -> 100
[2018-9-26 09:57:10] [HomeKit Bridge Server] Media Room: set(Brightness) 100 -> 35
[2018-9-26 09:57:10] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=429068053&serverId=523558820&jkey=2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d&cmd=setCharacteristic&Brightness=35
[2018-9-26 09:57:10] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 35 -> 100
[2018-9-26 09:57:11] [HomeKit Bridge Server] POST update request for device ID 2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d
[2018-9-26 09:57:11] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 100 -> 35
[2018-9-26 09:57:13] [HomeKit Bridge Server] Media Room: set(On) true -> false
[2018-9-26 09:57:13] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=429068053&serverId=523558820&jkey=2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d&cmd=setCharacteristic&On=false
[2018-9-26 09:57:13] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(On): false -> true
[2018-9-26 09:57:13] [HomeKit Bridge Server] POST update request for device ID 2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d
[2018-9-26 09:57:13] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(On): true -> false
[2018-9-26 09:57:13] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 35 -> 0
[2018-9-26 09:57:21] [HomeKit Bridge Server] Media Room: set(Brightness) 0 -> 100
[2018-9-26 09:57:21] [HomeKit Bridge Server] Media Room: set(On) false -> true
[2018-9-26 09:57:21] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=429068053&serverId=523558820&jkey=2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d&cmd=setCharacteristic&Brightness=100
[2018-9-26 09:57:21] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(On): true -> false
[2018-9-26 09:57:21] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 100 -> 0
[2018-9-26 09:57:21] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=429068053&serverId=523558820&jkey=2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d&cmd=setCharacteristic&On=true
[2018-9-26 09:57:21] [HomeKit Bridge Server] POST update request for device ID 2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d
[2018-9-26 09:57:21] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(On): false -> true
[2018-9-26 09:57:21] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 0 -> 100
[2018-9-26 09:57:27] [HomeKit Bridge Server] Media Room: set(Brightness) 100 -> 35
[2018-9-26 09:57:27] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=429068053&serverId=523558820&jkey=2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d&cmd=setCharacteristic&Brightness=35
[2018-9-26 09:57:27] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 35 -> 100
[2018-9-26 09:57:27] [HomeKit Bridge Server] POST update request for device ID 2c157bbcaa7fdaa56d0e56c044f1f3a457cb188573c8950e2d5c50804d70c88d
[2018-9-26 09:57:27] [HomeKit Bridge Server] Media Room: updateCharacteristicValue(Brightness): 100 -> 35
[2018-9-26 10:01:30] [HomeKit Bridge Server] POST update request for device ID c278f6465406bf83106567515b11c5e582aa81510c7366cb45de8b4cf2f9e704
[2018-9-26 10:01:30] [HomeKit Bridge Server] Indoor Weather: updateCharacteristicValue(CurrentTemperature): 21.277777777777775 -> 21.38888888888889
[2018-9-26 10:01:31] [HomeKit Bridge Server] POST update request for device ID cc8a015854c0edb2cf08db462c414cdb538287cd6d19fe3d1b67af056e30f79e
[2018-9-26 10:01:31] [HomeKit Bridge Server] Outdoor Weather: updateCharacteristicValue(CurrentTemperature): 16.72222222222222 -> 17.11111111111111
##### DEVICE DATA DUMP #####

address : 44.F3.E6
batteryLevel : None
blueLevel : None
brightness : 0
buttonGroupCount : 1
configured : True
defaultBrightness : 100
description : 
deviceTypeId : 
displayStateId : brightnessLevel
displayStateImageSel : DimmerOff
displayStateValRaw : 0
displayStateValUi : 0
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState : 
folderId : 1792790151
globalProps : MetaProps : (dict)
greenLevel : None
id : 429068053
lastChanged : 2018-10-03 09:11:54
lastSuccessfulComm : 2018-10-03 09:11:54
ledStates : []
model : SwitchLinc Dimmer (dual-band)
name : Media Room
onBrightensToDefaultToggle : True
onBrightensToLast : False
onState : False
ownerProps : emptyDict : (dict)
pluginId : 
pluginProps : com.eps.indigoplugin.homekit-bridge : (dict)
protocol : Insteon
redLevel : None
remoteDisplay : True
states : States : (dict)
     brightnessLevel : 0 (integer)
     onOffState : off (on/off bool)
subModel : 
supportsAllLightsOnOff : True
supportsAllOff : True
supportsColor : False
supportsRGB : False
supportsRGBandWhiteSimultaneously : False
supportsStatusRequest : True
supportsTwoWhiteLevels : False
supportsTwoWhiteLevelsSimultaneously : False
supportsWhite : False
supportsWhiteTemperature : False
version : 69
whiteLevel : None
whiteLevel2 : None
whiteTemperature : None

##### DEVICE SIMULATION DATA #####

Service : 
    alias : Media Room
    model : 
    subModel : 
    indigoType : indigo.DimmerDevice
    pluginType : Built-In
    type : Lightbulb
    desc : Lightbulb
    objId : 429068053
    serverId : 523558820
    invertOnState : False
    convertFahrenheit : False
    required : (List)
        On : False
    optional : (List)
        Hue : 0.0
        Saturation : 0.0
        ColorTemperature : 140
        Name
        Brightness : 0
    native : True
    requiresPlugin : (List)
    actions : (List)
        Action : (HomeKitAction)
            Characteristic : On
            When : equal
            Value : False (bool)
            Value2 : 0 (bool)
            Command : device.turnOff
            Arguments : [429068053]
            monitors : {429068053: 'attr_onState'}
        Action : (HomeKitAction)
            Characteristic : On
            When : equal
            Value : True (bool)
            Value2 : 0 (bool)
            Command : device.turnOn
            Arguments : [429068053]
            monitors : {429068053: 'attr_onState'}
        Action : (HomeKitAction)
            Characteristic : Brightness
            When : between
            Value : 0 (int)
            Value2 : 100 (int)
            Command : dimmer.setBrightness
            Arguments : [429068053, '=value=']
            monitors : {429068053: 'attr_brightness'}
    loadOptional : False
    characterDict : (Dict)
        On : False
        Brightness : 0
Colorado4Wheeler commented 6 years ago

The most important part of this ticket is missing, the simulation. Without that I have to try to parse the log blindly. The simulation lets me know if HKB sees this device properly or not.

dscottbuch commented 6 years ago

What is the Simulation? FYI I was running HomeKit and HomeKit-indigo for over a year without a problem. I just switched to your HomeKit Bridge about 2 weeks ago and this started happening.

I believe the problem is the order of these two statements

[2018-9-26 09:56:53] [HomeKit Bridge Server] Media Room: set(Brightness) 0 -> 35 [2018-9-26 09:56:53] [HomeKit Bridge Server] Media Room: set(On) false -> true

This causes Indigo to set it to 100 % instead of 35%. When running the HomeKit bridge myself I did notice that when automations would send a % command the light would come on full for a fraction of a second and then go to the desired setting.

Also, BTW, the log I included is limited to the command sequence I outlined in the ticket.

Thanks for a very nice encapsulation if the HomeKit bridge and the indigo plugin.

Sent from my iPhone

On Oct 3, 2018, at 6:14 AM, Colorado Four Wheeler notifications@github.com wrote:

The most important part of this ticket is missing, the simulation. Without that I have to try to parse the log blindly. The simulation lets me know if HKB sees this device properly or not.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Colorado4Wheeler commented 6 years ago

The sim instructions are on the ticket when you open it and also on the wiki pages:

Advanced Plugin Actions

https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/Plugin-Menu-Utilities#rebuild-homebridge-folder ….

Show Homebridge Log

This Device Action will output the contents of the Homebridge server log for the server selected in the device combobox.

https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/Plugin-Menu-Utilities#simulate-homekit-for-server-itemSimulate HomeKit For Server Item

This Device Action will report precisely what is being sent to HomeKit if it were sent right now. It differs from the simulator (below) in that the simulator is a "what if" test while this tests the actual configuration of your item on the server it's connected to.

dscottbuch commented 6 years ago

Editing this to say the issue is still there. Will add the simulation to the original post.

//Thanks but “never mind”. I was chasing another problem as well with my Insteon for which the solution was resyncing the links. That solved this problem as well.

Sorry for the false alarm.

Sent from my iPhone

On Oct 3, 2018, at 8:23 AM, Colorado Four Wheeler notifications@github.com wrote:

The sim instructions are on the ticket when you open it and also on the wiki pages:

Advanced Plugin Actions

https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/Plugin-Menu-Utilities#rebuild-homebridge-folder ….

Show Homebridge Log

This Device Action will output the contents of the Homebridge server log for the server selected in the device combobox.

https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/Plugin-Menu-Utilities#simulate-homekit-for-server-itemSimulate HomeKit For Server Item

This Device Action will report precisely what is being sent to HomeKit if it were sent right now. It differs from the simulator (below) in that the simulator is a "what if" test while this tests the actual configuration of your item on the server it's connected to.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dscottbuch commented 6 years ago

The original problem still exists despite what I said below. I have added the simulator output to the original post.

[moderator note: removed your full name and complete street address from this for privacy reasons]

Colorado4Wheeler commented 6 years ago

Is the scene you are referring to a HomeKit automation or something in Indigo?

dscottbuch commented 6 years ago

There is a HomeKit automation and a HomeKit Scene that behave the same. Looking at the Events log in Indigo, if the device is OFF, you always see

Sent INSTEON "Media Room" on to 33 Sent INSTEON "Media Room" on to 100

If the device is ON you only see

Sent INSTEON "Media Room" on to 33

I believe when I was running HomeKit bridge myself the first two commands were reversed. While I didn’t like going to 100 then the target it ended up correct.

[moderator note AGAIN: removed your full name and complete street address from this for privacy reasons]

Colorado4Wheeler commented 6 years ago

Can you tell me what your scene looks like (or you can also screenshot it and post it here)? I want to see if I can replicate what you are doing and if I get the same results or if my results are different.

Also, please audit your replies to this thread, you are posting your full name and full street address each time you reply. I've been editing them out but it would be easier if you did that yourself :).

dscottbuch commented 6 years ago

Oops. I forgot that email’s get posted. Been a while since I used github.

Here’s the screen shot of a scene doing this.

Scott

On Oct 3, 2018, at 10:14 AM, Colorado Four Wheeler notifications@github.com wrote:

Can you tell me what your scene looks like (or you can also screenshot it and post it here)? I want to see if I can replicate what you are doing and if I get the same results or if my results are different.

Also, please audit your replies to this thread, you are posting your full name and full street address each time you reply. I've been editing them out but it would be easier if you did that yourself :).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/118#issuecomment-426720320, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8oscRxemmidgo6fXsB3LPi4-y8xWimks5uhPBmgaJpZM4W54SZ.

Colorado4Wheeler commented 6 years ago

No screen shot attached :(

dscottbuch commented 6 years ago

I believe github scrubs attachments, based on my github project. Here’s a like to it.

https://www.dropbox.com/s/xzz1aol2f5ctnst/HomeKitScene.jpeg?dl=0 https://www.dropbox.com/s/xzz1aol2f5ctnst/HomeKitScene.jpeg?dl=0

Scott

On Oct 3, 2018, at 10:42 AM, Colorado Four Wheeler notifications@github.com wrote:

No screen shot attached :(

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/118#issuecomment-426730166, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8osZkyK_9JOthVYqXVJXOEFT_brpLyks5uhPcjgaJpZM4W54SZ.

Colorado4Wheeler commented 6 years ago

It shouldn't scrub them but you can also click the link on the emails that say "view it on GitHub" and just attach it directly too. I've attached here to keep things together on the ticket. I'll see what I can do to replicate the issue on my end.

dr_usbrg

Colorado4Wheeler commented 6 years ago

So your screenshot shows that you just set the light to 35% and that works, correct? When and how is it going from 35->100 where it then fails?

dscottbuch commented 6 years ago

Not quite. If the light is OFF then executing this scene sets it to 100% and the Events window in Indigo shows.

Sent INSTEON "Media Room" on to 35 Sent INSTEON "Media Room" on to 100

If the light is ON then executing this scene sets it to 35% and the Events window in Indigo shows.

Sent INSTEON "Media Room" on to 35

Scott

On Oct 3, 2018, at 10:48 AM, Colorado Four Wheeler notifications@github.com wrote:

So your screenshot shows that you just set the light to 35% and that works, correct? When and how is it going from 35->100 where it then fails?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/118#issuecomment-426731972, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8osfBlif2GUPs0KCXIDWoJJUEyMYVZks5uhPhpgaJpZM4W54SZ.

Colorado4Wheeler commented 6 years ago

Ahh, that makes more sense than what I was reading in the initial description! So, the core issue here is that you never want it to be 100%, it just always needs to be 35%. I do know why this is likely happening, because the way HomeKit works it often sends the brightness first and then on/off next and when you on/off in sets it to 100%. I should be able to fix that. Let me know if I’m understanding this incorrectly.

dscottbuch commented 6 years ago

No, that’s it. As I said previously the version of Homebridge and homebridge-indigo currently released on github end up at the correct point but I do see a 100% state on the lights, for a moment, before it gets to the 35%. I didn’t looks that the Event’s output on Indigo but It may be that homebridge-indigo sends the 35% again?

Scott

On Oct 3, 2018, at 10:54 AM, Colorado Four Wheeler notifications@github.com wrote:

Ahh, that makes more sense than what I was reading in the initial description! So, the core issue here is that you never want it to be 100%, it just always needs to be 35%. I do know why this is likely happening, because the way HomeKit works it often sends the brightness first and then on/off next and when you on/off in sets it to 100%. I should be able to fix that. Let me know if I’m understanding this incorrectly. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/118#issuecomment-426733986, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8osbMtrXQgYFLWc278cMQ4kDepCD-Tks5uhPnZgaJpZM4W54SZ.

dscottbuch commented 6 years ago

Sorry, the ‘No’ in my last email was not clear. Your last interpretation was correct. Scott Buchanan

30475 SW Buckhaven Rd. Hillsboro, OR 97123

On Oct 3, 2018, at 10:48 AM, Colorado Four Wheeler notifications@github.com wrote:

So your screenshot shows that you just set the light to 35% and that works, correct? When and how is it going from 35->100 where it then fails?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/118#issuecomment-426731972, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8osfBlif2GUPs0KCXIDWoJJUEyMYVZks5uhPhpgaJpZM4W54SZ.

GadgetComa commented 5 years ago

I'm having the same problem, but in my case, I am not using HomeKit automation. I am just trying to use a SwitchLinc dimmer and set the brightness directly with the Home app. The same behavior occurs on iOS and the Mac versions of the Home app. Here is my simulation info. (Let me know if you want other logs too).

DEVICE DATA DUMP
address : 23.C2.33
batteryLevel : None
blueLevel : None
brightness : 0
buttonGroupCount : 1
configured : True
defaultBrightness : 0
description : Master Bedroom Switch by Bed
deviceTypeId : 
displayStateId : brightnessLevel
displayStateImageSel : DimmerOff
displayStateValRaw : 0
displayStateValUi : 0
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState : 
folderId : 131492365
globalProps : MetaProps : (dict)
greenLevel : None
id : 734709987
lastChanged : 2019-04-12 07:54:19
lastSuccessfulComm : 2019-04-12 07:54:19
ledStates : []
model : SwitchLinc Dimmer (dual-band)
name : Bedroom 2
onBrightensToDefaultToggle : True
onBrightensToLast : False
onState : False
ownerProps : emptyDict : (dict)
pluginId : 
pluginProps : com.eps.indigoplugin.homekit-bridge : (dict)
protocol : Insteon
redLevel : None
remoteDisplay : True
states : States : (dict)
     brightnessLevel : 0 (integer)
     onOffState : off (on/off bool)
subModel : 
supportsAllLightsOnOff : True
supportsAllOff : True
supportsColor : False
supportsRGB : False
supportsRGBandWhiteSimultaneously : False
supportsStatusRequest : True
supportsTwoWhiteLevels : False
supportsTwoWhiteLevelsSimultaneously : False
supportsWhite : False
supportsWhiteTemperature : False
version : 65
whiteLevel : None
whiteLevel2 : None
whiteTemperature : None

##### DEVICE SIMULATION DATA #####

Service : 
    alias : Bedroom 2
    model : 
    subModel : 
    indigoType : indigo.DimmerDevice
    pluginType : Built-In
    type : Lightbulb
    desc : Lightbulb
    objId : 734709987
    serverId : 1740798192
    invertOnState : False
    convertFahrenheit : False
    required : (List)
        On : False
    optional : (List)
        Hue : 0.0
        Saturation : 0.0
        ColorTemperature : 140
        Name
        Brightness : 0
    native : True
    requiresPlugin : (List)
    actions : (List)
        Action : (HomeKitAction)
            Characteristic : On
            When : equal
            Value : False (bool)
            Value2 : 0 (bool)
            Command : device.turnOff
            Arguments : [734709987]
            monitors : {734709987: 'attr_onState'}
        Action : (HomeKitAction)
            Characteristic : On
            When : equal
            Value : True (bool)
            Value2 : 0 (bool)
            Command : device.turnOn
            Arguments : [734709987]
            monitors : {734709987: 'attr_onState'}
        Action : (HomeKitAction)
            Characteristic : Brightness
            When : between
            Value : 0 (int)
            Value2 : 100 (int)
            Command : dimmer.setBrightness
            Arguments : [734709987, '=value=']
            monitors : {734709987: 'attr_brightness'}
    loadOptional : False
    characterDict : (Dict)
        On : False
        Brightness : 0
Colorado4Wheeler commented 5 years ago

I would need to see the logs from Homebridge to diagnose that. I have at least 20 dimmer’s in my house and not a single one does this.

GadgetComa commented 5 years ago

Thanks for the quick response. I realize there a many, many variables you have to deal with when helping diagnose issues. I truly appreciate what you've built and the support you provide. I hope I come up the learning curve fast enough to not take too much of your time. Anyhow, here's the home bridge log. Please let me know what else you need. Thanks!

Apr 12, 2019 at 9:15:48 AM HomeKit Bridge [2019-4-12 08:01:12] Loaded plugin: homebridge-camera-ffmpeg [2019-4-12 08:01:12] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg' [2019-4-12 08:01:12] --- [2019-4-12 08:01:13] Loaded plugin: homebridge-indigo2 [2019-4-12 08:01:13] Registering platform 'homebridge-indigo2.Indigo2' [2019-4-12 08:01:13] --- [2019-4-12 08:01:13] Loaded config.json with 0 accessories and 1 platforms. [2019-4-12 08:01:13] --- [2019-4-12 08:01:13] Loading 1 platforms... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing Indigo2 platform... [2019-4-12 08:01:13] [HomeKit Bridge Server] HomeKit Bridge base URL is http://127.0.0.1:8558 [2019-4-12 08:01:13] [HomeKit Bridge Server] HomeKit Bridge serverId is 1740798192 [2019-4-12 08:01:13] Loading 0 accessories... Load homebridge-camera-ffmpeg.Camera-ffmpeg [2019-4-12 08:01:13] [HomeKit Bridge Server] Listening on port 8445 [2019-4-12 08:01:13] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?cmd=deviceList&serverId=1740798192 [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Device Switch (ID 6b51b09fa53a6f5d4965711f7ce15e7d2d28cb5bcac27202148102b9009d4dad): Backyard Landscape Lights [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Device Lightbulb (ID 1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e): Bedroom Lights [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Device Lightbulb (ID 55876e156f7065ec2222dcc6996500d866b5e0d1324196954bbd6a23ef93581d): Debug [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Device Switch (ID 36d1f5213d46a393139e63b491269af576994ae9337b3b43331222346d2934cf): Denon [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Device Lightbulb (ID 87f3fc33b5dbe9aebab61e03bc2139e6e91d45f012b004ebbe99b9c9a8aba9dd): Flood Lights [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Device Switch (ID f0634edb292bd2437d78856fe8bfde62ea320d70182a74f4aa67cdecde4f31ab): Front Landscape Lights [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Device Switch (ID cb2444b2802ba1369d2dee93d1fdbf5bd38d2b01c713e5c9414d6f203dc2c384): House Music [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Device Outlet (ID 883131493a89ea9ef38c668789f326a74886615f2263d4e0a483310113ff16a4): MBR Outlet [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Device Switch (ID 981e422641dbe2b2d371d17166b40aa8a83cd5bb60c656f3350ea835f67c6c13): MR Center [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Device Lightbulb (ID f5cfe586bd4f08122c4a48e1befade0df5b9ea8c8c58f09aa91e566680e2f3fc): Spot Lights [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Action Switch (ID 666e2f7bc1964501ac7c186d995eaa4aea2395d449e7775785fbe400afc004c6): After Dinner Music [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Action Switch (ID 0570cea2ffb711201d0f8ce0e855845640407a37b1b067dcd11c23dcfe0373c1): Bedtime Music [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Action Switch (ID d771116b414eacf1f43caebc299590446eb003a533119135b422ca79cb5154c8): Christmas Music [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Action Switch (ID afe05bee8e6159229dc9cc8f87270ae4f861f76c9152aa2a79e13ef85d86116c): Cocktail Music [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Action Switch (ID 8255e899627d62af7347eb8c3fd214d441257d0959a1bc10d4b2c1bd4275f1f0): Dinner Music [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Action Switch (ID 8a3e1793e95e5c65c18b4201f5f7c8c8f20b9869af2f08916a5ac81a15783e8b): Jazz [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Action Switch (ID a2dcb08bed0da52291fafb58afbdbbf1df100b8b1a670f0a6edec12ddbc7e3eb): New Age [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Action Switch (ID 5446e39f315d930f167ed66eb77eab274513d423ce32b82d2505120c813bbcd1): Pop [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Action Switch (ID 841633ddf9ef968375bb83e58d3011d61e60c504b3cabfc25bf8fca5bd08821e): Singer Songwriter [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Action Switch (ID a832a0bfd1dc33d1087700f80fb26547a98852d8f507346ca6a89570a682e5d6): Smooth Jazz [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Action Switch (ID 45be411974658bafc59f442536bd31bb194f90c3610df1275ced4fb9dd4e1c65): Upbeat Music [2019-4-12 08:01:13] [HomeKit Bridge Server] Discovered Action Switch (ID 84d25a3ca1a1f6c670f24addd925e50cd0c6e1fce98a408ab7514af8969233b1): Weekend Music [2019-4-12 08:01:13] [HomeKit Bridge Server] Created 22 accessories [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'After Dinner Music'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Backyard Landscape Lights'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Bedroom Lights'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Bedtime Music'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Christmas Music'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Cocktail Music'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Debug'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Denon'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Dinner Music'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Flood Lights'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Front Landscape Lights'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'House Music'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Jazz'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'MBR Outlet'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'MR Center'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'New Age'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Pop'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Singer Songwriter'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Smooth Jazz'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Spot Lights'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Upbeat Music'... [2019-4-12 08:01:13] [HomeKit Bridge Server] Initializing platform accessory 'Weekend Music'... Setup Payload: X-HM://0023ISYWY8CIL Scan this code with your HomeKit app on your iOS device to pair with Homebridge: [47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m [47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m [47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m [47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m [47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m [47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m [47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m [47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m [47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m [47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m [47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m [47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m [47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m [47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m [47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m [47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m [47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m [47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m [47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m [47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m [47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m [47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m [47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m [47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m [47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m [47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m [47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 031-45-154 │     
└────────────┘     

[2019-4-12 08:01:13] Homebridge is running on port 51826. [2019-4-12 08:01:24] [HomeKit Bridge Server] POST update request for device ID 55876e156f7065ec2222dcc6996500d866b5e0d1324196954bbd6a23ef93581d [2019-4-12 08:01:24] [HomeKit Bridge Server] Debug: updateCharacteristicValue(On): true -> false [2019-4-12 08:01:24] [HomeKit Bridge Server] Debug: updateCharacteristicValue(Brightness): 100 -> 0 [2019-4-12 08:18:34] [HomeKit Bridge Server] Debug: get(On) => false [2019-4-12 08:18:34] [HomeKit Bridge Server] Debug: get(Brightness) => 0 [2019-4-12 08:18:34] [HomeKit Bridge Server] MR Center: get(On) => false [2019-4-12 09:15:23] [HomeKit Bridge Server] Debug: get(On) => false [2019-4-12 09:15:23] [HomeKit Bridge Server] Debug: get(Brightness) => 0 [2019-4-12 09:15:23] [HomeKit Bridge Server] MR Center: get(On) => false [2019-4-12 09:15:23] [HomeKit Bridge Server] Bedroom Lights: get(Brightness) => 0 [2019-4-12 09:15:23] [HomeKit Bridge Server] Bedroom Lights: get(On) => false [2019-4-12 09:15:23] [HomeKit Bridge Server] MBR Outlet: get(On) => false [2019-4-12 09:15:28] [HomeKit Bridge Server] Bedroom Lights: set(Brightness) 0 -> 21 [2019-4-12 09:15:28] [HomeKit Bridge Server] Bedroom Lights: set(On) false -> true [2019-4-12 09:15:28] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=734709987&serverId=1740798192&jkey=1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e&cmd=setCharacteristic&Brightness=21 [2019-4-12 09:15:28] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(On): true -> false [2019-4-12 09:15:28] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(Brightness): 21 -> 0 [2019-4-12 09:15:28] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=734709987&serverId=1740798192&jkey=1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e&cmd=setCharacteristic&On=true [2019-4-12 09:15:28] [HomeKit Bridge Server] Bedroom Lights: set(Brightness) 0 -> 38 [2019-4-12 09:15:28] [HomeKit Bridge Server] Bedroom Lights: set(On) false -> true [2019-4-12 09:15:28] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=734709987&serverId=1740798192&jkey=1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e&cmd=setCharacteristic&Brightness=38 [2019-4-12 09:15:28] [HomeKit Bridge Server] POST update request for device ID 1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e [2019-4-12 09:15:28] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(Brightness): 38 -> 21 [2019-4-12 09:15:28] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=734709987&serverId=1740798192&jkey=1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e&cmd=setCharacteristic&On=true [2019-4-12 09:15:28] [HomeKit Bridge Server] POST update request for device ID 1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e [2019-4-12 09:15:28] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(On): true -> false [2019-4-12 09:15:28] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(Brightness): 21 -> 0 [2019-4-12 09:15:29] [HomeKit Bridge Server] Bedroom Lights: set(Brightness) 0 -> 49 [2019-4-12 09:15:29] [HomeKit Bridge Server] Bedroom Lights: set(On) false -> true [2019-4-12 09:15:29] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=734709987&serverId=1740798192&jkey=1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e&cmd=setCharacteristic&Brightness=49 [2019-4-12 09:15:29] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(Brightness): 49 -> 38 [2019-4-12 09:15:29] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=734709987&serverId=1740798192&jkey=1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e&cmd=setCharacteristic&On=true [2019-4-12 09:15:29] [HomeKit Bridge Server] POST update request for device ID 1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e [2019-4-12 09:15:29] [HomeKit Bridge Server] POST update request for device ID 1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e [2019-4-12 09:15:29] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(On): true -> false [2019-4-12 09:15:29] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(Brightness): 38 -> 0 [2019-4-12 09:15:29] [HomeKit Bridge Server] POST update request for device ID 1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e [2019-4-12 09:15:29] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(On): false -> true [2019-4-12 09:15:29] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(Brightness): 0 -> 49 [2019-4-12 09:15:29] [HomeKit Bridge Server] Bedroom Lights: set(Brightness) 49 -> 0 [2019-4-12 09:15:29] [HomeKit Bridge Server] Bedroom Lights: set(On) true -> false [2019-4-12 09:15:29] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=734709987&serverId=1740798192&jkey=1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e&cmd=setCharacteristic&Brightness=0 [2019-4-12 09:15:29] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(On): false -> true [2019-4-12 09:15:29] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(Brightness): 0 -> 49 [2019-4-12 09:15:29] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=734709987&serverId=1740798192&jkey=1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e&cmd=setCharacteristic&On=false [2019-4-12 09:15:30] [HomeKit Bridge Server] POST update request for device ID 1b257702f0a5065f7fd25f8b0b2e85b925e77e51ee890d16c134a0ded996747e [2019-4-12 09:15:30] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(On): true -> false [2019-4-12 09:15:30] [HomeKit Bridge Server] Bedroom Lights: updateCharacteristicValue(Brightness): 49 -> 0