indigodomo / HomeKit-Bridge

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

Homekit bridge not always responding #110

Closed Albatros2409 closed 6 years ago

Albatros2409 commented 6 years ago

Expected Behavior

  1. Switching dimable Lightbulb on/off via Home app it should always and instantly work
  2. By switching a device in indigo the status (on/off) of device is reflected in the Home App

Current Behavior

  1. switching device on via Home app works, switching off works but second time switching on via home does the home app shows the light bulb on but fiscally it is not. Switching off via home app shows the bulb in the home app as off. Then switching on via Home app it works. So first time switching on works but second time it does not but Home app shows it as on. Repeating its shows same behaviour.

  2. Switching the bulb on via Indigo status is not reflected in Home app

Steps to Reproduce (for bugs)

Versions

Configuration

Homebridge Log / Command Output

Device Simulation Report

Colorado4Wheeler commented 6 years ago

Without the log, configuration and device simulation report this is no different than the post you put on the forum. The single most important reason I wanted a post here was the simulation report and log.

Albatros2409 commented 6 years ago
              sGasMeterReset : true (bool)
              SupportsOnState : false (bool)
              SupportsSensorValue : false (bool)
              SupportsStatusRequest : true (bool)
              SupportsWaterMeterReset : true (bool)
              address : 8 (integer)
              indigoObjVersion : 6 (integer)
              modelNameAndFirmware : Dimmer Switch (FGD212), firmware 3.02 (string)
              propsPushTickler : 15 (string)
              tempAlwaysFalse : false (bool)
              userConfigVal001 : 5 (integer)
              userConfigVal002 : 45 (integer)
              userConfigVal005 : 1 (integer)
              userConfigVal006 : 1 (integer)
              userConfigVal007 : 1 (integer)
              userConfigVal008 : 5 (integer)
              userConfigVal009 : true (bool)
              userConfigVal020 : 1 (integer)
              userConfigVal023 : true (bool)
              userConfigVal026 : false (bool)
              userConfigVal028 : false (bool)
              userConfigVal050 : 10 (integer)
              userConfigVal052 : 3600 (integer)
              userPollAfterActivity : true (bool)
              userPollInterval : 0 (integer)
              userPollingEnabled : true (bool)
              userWakeInterval : 60 (integer)
              version : 3.02 (string)
              zwAppVersMajor : 3 (integer)
              zwAppVersMinor : 2 (integer)
              zwAssociationsMap : (dict)
                   g1 : (list)
                        Item : 1 (integer)
                   g2 : (list)
                        Item : 1 (integer)
                   g3 : (list)
                   g4 : (list)
                   g5 : (list)
              zwAssociationsMapStr : 1:[1] 2:[1] 3:[] 4:[] 5:[] (string)
              zwClassCmdBase : 38 (integer)
              zwClassCmdMap : (dict)
                   c112 : 1 (integer)
                   c113 : 1 (integer)
                   c114 : 1 (integer)
                   c115 : 1 (integer)
                   c117 : 1 (integer)
                   c122 : 1 (integer)
                   c133 : 1 (integer)
                   c134 : 1 (integer)
                   c142 : 1 (integer)
                   c152 : 1 (integer)
                   c32 : 1 (integer)
                   c34 : 1 (integer)
                   c38 : 3 (integer)
                   c39 : 1 (integer)
                   c49 : 4 (integer)
                   c50 : 3 (integer)
                   c86 : 1 (integer)
                   c89 : 1 (integer)
                   c90 : 1 (integer)
                   c94 : 1 (integer)
                   c96 : 4 (integer)
              zwClassCmdMapStr : 20v1 60v4 22v1 26v3 86v1 27v1 7Av1 72v1 8Ev1 70v1 71v1 32v3 73v1 75v1 56v1 98v1 59v1 31v4 5Av1 5Ev1 85v1 (string)
              zwClassIds : (list)
                   Item : 4 (integer)
                   Item : 17 (integer)
                   Item : 1 (integer)
              zwClassInstanceCountMap : (dict)
              zwClassInstanceCountMapStr : - none - (string)
              zwClassName : Dimmable Power Switch (string)
              zwConfigVals : (dict)
                   p1 : 5 (integer)
                   p2 : 45 (integer)
                   p20 : 1 (integer)
                   p23 : 1 (integer)
                   p26 : 0 (integer)
                   p28 : 0 (integer)
                   p5 : 1 (integer)
                   p50 : 10 (integer)
                   p52 : 3600 (integer)
                   p6 : 1 (integer)
                   p7 : 1 (integer)
                   p8 : 5 (integer)
                   p9 : 1 (integer)
              zwConfigValsStr : 1:5 2:45 5:1 6:1 7:1 8:5 9:1 20:1 23:1 26:0 28:0 50:10 52:3600 (string)
              zwDevEndPoint : 1 (integer)
              zwDevSubIndex : 0 (integer)
              zwEncryptClassCmdMap : (dict)
              zwEncryptClassCmdMapStr : - none - (string)
              zwEncryptionStatusStr : Supported but not Enabled (string)
              zwEndpointClassMap : (dict)
                   e1 : (list)
                        Item : 94 (integer)
                        Item : 32 (integer)
                        Item : 134 (integer)
                        Item : 38 (integer)
                        Item : 133 (integer)
                        Item : 89 (integer)
                        Item : 142 (integer)
                        Item : 50 (integer)
                        Item : 49 (integer)
                        Item : 113 (integer)
                   e2 : (list)
                        Item : 94 (integer)
                        Item : 32 (integer)
                        Item : 134 (integer)
                        Item : 38 (integer)
                        Item : 133 (integer)
                        Item : 89 (integer)
                        Item : 142 (integer)
              zwEndpointClassMapStr : 1:[5E 20 86 26 85 59 8E 32 31 71], 2:[5E 20 86 26 85 59 8E] (string)
              zwEndpointDevTypeMap : (dict)
                   e1 : (list)
                        Item : 17 (integer)
                        Item : 1 (integer)
                   e2 : (list)
                        Item : 17 (integer)
                        Item : 1 (integer)
              zwEndpointDevTypeMapStr : 1:(11 : 01), 2:(11 : 01) (string)
              zwFeatureListStr : routing, beaming, security, energyMeter (string)
              zwLibType : 3 (integer)
              zwManufactureId : 271 (integer)
              zwManufactureName : Fibaro System (string)
              zwMeterSubTypeFlags : 5 (integer)
              zwMeterSupportsReset : true (bool)
              zwMeterType : 1 (integer)
              zwModelDefnVers : 2 (integer)
              zwModelId : 16912384 (integer)
              zwModelName : Dimmer Switch (FGD212) (string)
              zwNodeNeighbors : (list)
                   Item : 2 (integer)
                   Item : 3 (integer)
                   Item : 4 (integer)
                   Item : 5 (integer)
                   Item : 6 (integer)
                   Item : 7 (integer)
                   Item : 9 (integer)
                   Item : 10 (integer)
                   Item : 11 (integer)
                   Item : 13 (integer)
                   Item : 14 (integer)
                   Item : 15 (integer)
                   Item : 16 (integer)
                   Item : 17 (integer)
                   Item : 18 (integer)
                   Item : 19 (integer)
                   Item : 20 (integer)
                   Item : 21 (integer)
                   Item : 22 (integer)
                   Item : 23 (integer)
                   Item : 24 (integer)
                   Item : 25 (integer)
                   Item : 28 (integer)
                   Item : 29 (integer)
                   Item : 30 (integer)
                   Item : 31 (integer)
                   Item : 33 (integer)
                   Item : 34 (integer)
                   Item : 35 (integer)
                   Item : 36 (integer)
                   Item : 38 (integer)
                   Item : 39 (integer)
                   Item : 40 (integer)
                   Item : 41 (integer)
                   Item : 42 (integer)
                   Item : 43 (integer)
                   Item : 44 (integer)
                   Item : 45 (integer)
                   Item : 46 (integer)
                   Item : 47 (integer)
                   Item : 48 (integer)
                   Item : 49 (integer)
                   Item : 51 (integer)
                   Item : 52 (integer)
                   Item : 53 (integer)
                   Item : 55 (integer)
                   Item : 60 (integer)
                   Item : 61 (integer)
              zwNodeNeighborsStr : 2, 3, 4, 5, 6, 7, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 28, 29, 30, 31, 33, 34, 35, 36, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 51, 52, 53, 55, 60, 61 (string)
              zwProtoVersMajor : 4 (integer)
              zwProtoVersMinor : 5 (integer)
              zwShowDumpDevToLog : true (bool)
              zwShowMainUI : true (bool)
              zwShowManualModifyConfigParmUI : false (bool)
              zwShowPollingUI : true (bool)
              zwShowSubmitModelInfoUI : false (bool)
              zwShowWakeIntervalUI : false (bool)
              zwWakeInterval : 0 (integer)
    greenLevel : None
    id : 1605904708
    lastChanged : 2018-06-10 23:49:04
    lastSuccessfulComm : 2018-06-10 23:49:04
    ledStates : []
    model : Dimmer Switch (FGD212)
    name : Lamp - Computer
    onBrightensToDefaultToggle : False
    onBrightensToLast : True
    onState : True
    ownerProps : com.perceptiveautomation.indigoplugin.zwave : (dict)
         SupportsBatteryLevel : false (bool)
         SupportsEnergyMeter : true (bool)
         SupportsEnergyMeterCurPower : true (bool)
         SupportsEnergyMeterReset : true (bool)
         SupportsGasMeterReset : true (bool)
         SupportsOnState : false (bool)
         SupportsSensorValue : false (bool)
         SupportsStatusRequest : true (bool)
         SupportsWaterMeterReset : true (bool)
         address : 8 (integer)
         indigoObjVersion : 6 (integer)
         modelNameAndFirmware : Dimmer Switch (FGD212), firmware 3.02 (string)
         propsPushTickler : 15 (string)
         tempAlwaysFalse : false (bool)
         userConfigVal001 : 5 (integer)
         userConfigVal002 : 45 (integer)
         userConfigVal005 : 1 (integer)
         userConfigVal006 : 1 (integer)
         userConfigVal007 : 1 (integer)
         userConfigVal008 : 5 (integer)
         userConfigVal009 : true (bool)
         userConfigVal020 : 1 (integer)
         userConfigVal023 : true (bool)
         userConfigVal026 : false (bool)
         userConfigVal028 : false (bool)
         userConfigVal050 : 10 (integer)
         userConfigVal052 : 3600 (integer)
         userPollAfterActivity : true (bool)
         userPollInterval : 0 (integer)
         userPollingEnabled : true (bool)
         userWakeInterval : 60 (integer)
         version : 3.02 (string)
         zwAppVersMajor : 3 (integer)
         zwAppVersMinor : 2 (integer)
         zwAssociationsMap : (dict)
              g1 : (list)
                   Item : 1 (integer)
              g2 : (list)
                   Item : 1 (integer)
              g3 : (list)
              g4 : (list)
              g5 : (list)
         zwAssociationsMapStr : 1:[1] 2:[1] 3:[] 4:[] 5:[] (string)
         zwClassCmdBase : 38 (integer)
         zwClassCmdMap : (dict)
              c112 : 1 (integer)
              c113 : 1 (integer)
              c114 : 1 (integer)
              c115 : 1 (integer)
              c117 : 1 (integer)
              c122 : 1 (integer)
              c133 : 1 (integer)
              c134 : 1 (integer)
              c142 : 1 (integer)
              c152 : 1 (integer)
              c32 : 1 (integer)
              c34 : 1 (integer)
              c38 : 3 (integer)
              c39 : 1 (integer)
              c49 : 4 (integer)
              c50 : 3 (integer)
              c86 : 1 (integer)
              c89 : 1 (integer)
              c90 : 1 (integer)
              c94 : 1 (integer)
              c96 : 4 (integer)
         zwClassCmdMapStr : 20v1 60v4 22v1 26v3 86v1 27v1 7Av1 72v1 8Ev1 70v1 71v1 32v3 73v1 75v1 56v1 98v1 59v1 31v4 5Av1 5Ev1 85v1 (string)
         zwClassIds : (list)
              Item : 4 (integer)
              Item : 17 (integer)
              Item : 1 (integer)
         zwClassInstanceCountMap : (dict)
         zwClassInstanceCountMapStr : - none - (string)
         zwClassName : Dimmable Power Switch (string)
         zwConfigVals : (dict)
              p1 : 5 (integer)
              p2 : 45 (integer)
              p20 : 1 (integer)
              p23 : 1 (integer)
              p26 : 0 (integer)
              p28 : 0 (integer)
              p5 : 1 (integer)
              p50 : 10 (integer)
              p52 : 3600 (integer)
              p6 : 1 (integer)
              p7 : 1 (integer)
              p8 : 5 (integer)
              p9 : 1 (integer)
         zwConfigValsStr : 1:5 2:45 5:1 6:1 7:1 8:5 9:1 20:1 23:1 26:0 28:0 50:10 52:3600 (string)
         zwDevEndPoint : 1 (integer)
         zwDevSubIndex : 0 (integer)
         zwEncryptClassCmdMap : (dict)
         zwEncryptClassCmdMapStr : - none - (string)
         zwEncryptionStatusStr : Supported but not Enabled (string)
         zwEndpointClassMap : (dict)
              e1 : (list)
                   Item : 94 (integer)
                   Item : 32 (integer)
                   Item : 134 (integer)
                   Item : 38 (integer)
                   Item : 133 (integer)
                   Item : 89 (integer)
                   Item : 142 (integer)
                   Item : 50 (integer)
                   Item : 49 (integer)
                   Item : 113 (integer)
              e2 : (list)
                   Item : 94 (integer)
                   Item : 32 (integer)
                   Item : 134 (integer)
                   Item : 38 (integer)
                   Item : 133 (integer)
                   Item : 89 (integer)
                   Item : 142 (integer)
         zwEndpointClassMapStr : 1:[5E 20 86 26 85 59 8E 32 31 71], 2:[5E 20 86 26 85 59 8E] (string)
         zwEndpointDevTypeMap : (dict)
              e1 : (list)
                   Item : 17 (integer)
                   Item : 1 (integer)
              e2 : (list)
                   Item : 17 (integer)
                   Item : 1 (integer)
         zwEndpointDevTypeMapStr : 1:(11 : 01), 2:(11 : 01) (string)
         zwFeatureListStr : routing, beaming, security, energyMeter (string)
         zwLibType : 3 (integer)
         zwManufactureId : 271 (integer)
         zwManufactureName : Fibaro System (string)
         zwMeterSubTypeFlags : 5 (integer)
         zwMeterSupportsReset : true (bool)
         zwMeterType : 1 (integer)
         zwModelDefnVers : 2 (integer)
         zwModelId : 16912384 (integer)
         zwModelName : Dimmer Switch (FGD212) (string)
         zwNodeNeighbors : (list)
              Item : 2 (integer)
              Item : 3 (integer)
              Item : 4 (integer)
              Item : 5 (integer)
              Item : 6 (integer)
              Item : 7 (integer)
              Item : 9 (integer)
              Item : 10 (integer)
              Item : 11 (integer)
              Item : 13 (integer)
              Item : 14 (integer)
              Item : 15 (integer)
              Item : 16 (integer)
              Item : 17 (integer)
              Item : 18 (integer)
              Item : 19 (integer)
              Item : 20 (integer)
              Item : 21 (integer)
              Item : 22 (integer)
              Item : 23 (integer)
              Item : 24 (integer)
              Item : 25 (integer)
              Item : 28 (integer)
              Item : 29 (integer)
              Item : 30 (integer)
              Item : 31 (integer)
              Item : 33 (integer)
              Item : 34 (integer)
              Item : 35 (integer)
              Item : 36 (integer)
              Item : 38 (integer)
              Item : 39 (integer)
              Item : 40 (integer)
              Item : 41 (integer)
              Item : 42 (integer)
              Item : 43 (integer)
              Item : 44 (integer)
              Item : 45 (integer)
              Item : 46 (integer)
              Item : 47 (integer)
              Item : 48 (integer)
              Item : 49 (integer)
              Item : 51 (integer)
              Item : 52 (integer)
              Item : 53 (integer)
              Item : 55 (integer)
              Item : 60 (integer)
              Item : 61 (integer)
         zwNodeNeighborsStr : 2, 3, 4, 5, 6, 7, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 28, 29, 30, 31, 33, 34, 35, 36, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 51, 52, 53, 55, 60, 61 (string)
         zwProtoVersMajor : 4 (integer)
         zwProtoVersMinor : 5 (integer)
         zwShowDumpDevToLog : true (bool)
         zwShowMainUI : true (bool)
         zwShowManualModifyConfigParmUI : false (bool)
         zwShowPollingUI : true (bool)
         zwShowSubmitModelInfoUI : false (bool)
         zwShowWakeIntervalUI : false (bool)
         zwWakeInterval : 0 (integer)
    pluginId : com.perceptiveautomation.indigoplugin.zwave
    pluginProps : com.eps.indigoplugin.homekit-bridge : (dict)
    protocol : ZWave
    redLevel : None
    remoteDisplay : True
    states : States : (dict)
         accumEnergyTimeDelta : 0 (integer)
         accumEnergyTimeDelta.ui : 0 seconds (string)
         accumEnergyTotal : 61.89 (real)
         accumEnergyTotal.ui : 61.89 kWh (string)
         brightnessLevel : 100 (integer)
         curEnergyLevel : 10.4 (real)
         curEnergyLevel.ui : 10.4 W (string)
         onOffState : on (on/off bool)
    subModel : Dimmable Load
    supportsAllLightsOnOff : False
    supportsAllOff : False
    supportsColor : False
    supportsRGB : False
    supportsRGBandWhiteSimultaneously : False
    supportsStatusRequest : True
    supportsTwoWhiteLevels : False
    supportsTwoWhiteLevelsSimultaneously : False
    supportsWhite : False
    supportsWhiteTemperature : False
    version : 3.02
    whiteLevel : None
    whiteLevel2 : None
    whiteTemperature : None

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

Service : 
    alias : Lamp - Computer
    model : Dimmable Load
    subModel : 
    indigoType : indigo.DimmerDevice
    pluginType : indigo.DimmerDevice.com.perceptiveautomation.indigoplugin.zwave.zwDimmerType
    type : Lightbulb
    desc : Lightbulb
    objId : 1605904708
    serverId : 291647906
    invertOnState : False
    convertFahrenheit : False
    required : (List)
        On : True
    optional : (List)
        Hue
        Saturation
        ColorTemperature
        Name
        Brightness : 100
    native : True
    requiresPlugin : (List)
    actions : (List)
        Action : (HomeKitAction)
            Characteristic : On
            When : equal
            Value : False (bool)
            Value2 : 0 (bool)
            Command : device.turnOff
            Arguments : [1605904708]
            monitors : {1605904708: 'attr_onState'}
        Action : (HomeKitAction)
            Characteristic : On
            When : equal
            Value : True (bool)
            Value2 : 0 (bool)
            Command : device.turnOn
            Arguments : [1605904708]
            monitors : {1605904708: 'attr_onState'}
        Action : (HomeKitAction)
            Characteristic : Brightness
            When : between
            Value : 0 (int)
            Value2 : 100 (int)
            Command : dimmer.setBrightness
            Arguments : [1605904708, '=value=']
            monitors : {1605904708: 'attr_brightness'}
    loadOptional : False
    characterDict : (Dict)
        On : True
        Brightness : 100
Albatros2409 commented 6 years ago

HomeKit Bridge { "platforms": [ { "protocol": "http", "name": "HomeKit Bridge Server", "listenPort": "8445", "platform": "Indigo2", "host": "127.0.0.1", "debug": false, "serverId": 291647906, "port": "8558" } ], "bridge": { "username": "CC:22:3D:E3:CE:10", "name": "Homekit Bridge", "pin": "031-45-154", "port": "51826" }, "accessories": [], "description": "HomeKit configuration generated by HomeKit Bridge on 2018-06-10 10:39:08.506000 for device Homekit Bridge" }

Colorado4Wheeler commented 6 years ago

Thank you. In order to diagnose the issue what I will need for you to do is to reproduce the issue and post the simulation data and the log (which was not supplied here) after a fresh restart of the plugin.

This will allow me to see the current state (posted above, it appears to be on and at 100% and without the log I cannot confirms that is how it shows in HomeKit but I assume so) and then what exactly is happening when you turn it off and on again (or whatever you do to reproduce the problem).

Colorado4Wheeler commented 6 years ago

By the way, the log I need is NOT the Indigo log, but rather the log from Homebridge (as available in the same place you pulled the config) and I don't need 150,000 lines of log, that's why I want you to restart the plugin first so that everything the log shows is directly related to this issue.

Albatros2409 commented 6 years ago

It isn't true but it is. After stopping the Homekit server, disabeling and reloading the plugin the issue is gone.

Albatros2409 commented 6 years ago

Here some lines from the log when the issue was still the case:


[2018-6-10 10:39:10] Homebridge is running on port 51826.
[2018-6-10 10:39:12] [HomeKit Bridge Server] Lamp - Computer: get(On) => false
[2018-6-10 10:39:12] [HomeKit Bridge Server] Lamp - Computer: get(Brightness) => 0
[2018-6-10 10:39:27] [HomeKit Bridge Server] Lamp - Computer: set(Brightness) 0 -> 100
[2018-6-10 10:39:27] [HomeKit Bridge Server] Lamp - Computer: set(On) false -> true
[2018-6-10 10:39:27] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=1605904708&serverId=291647906&jkey=4e413b05eecd2c0e74c4a444c8dc2853dedfebc52248eb4e74024251e6005f86&cmd=setCharacteristic&Brightness=100
[2018-6-10 10:39:27] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(On): true -> false
[2018-6-10 10:39:27] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(Brightness): 100 -> 0
[2018-6-10 10:39:27] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=1605904708&serverId=291647906&jkey=4e413b05eecd2c0e74c4a444c8dc2853dedfebc52248eb4e74024251e6005f86&cmd=setCharacteristic&On=true
[2018-6-10 10:39:27] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(On): false -> true
[2018-6-10 10:39:27] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(Brightness): 0 -> 100
[2018-6-10 10:39:34] [HomeKit Bridge Server] Lamp - Computer: set(On) true -> false
[2018-6-10 10:39:34] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=1605904708&serverId=291647906&jkey=4e413b05eecd2c0e74c4a444c8dc2853dedfebc52248eb4e74024251e6005f86&cmd=setCharacteristic&On=false
[2018-6-10 10:39:34] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(On): false -> true
[2018-6-10 10:39:34] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(Brightness): 100 -> 61
[2018-6-10 10:39:45] [HomeKit Bridge Server] Lamp - Computer: set(On) true -> false
[2018-6-10 10:39:45] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=1605904708&serverId=291647906&jkey=4e413b05eecd2c0e74c4a444c8dc2853dedfebc52248eb4e74024251e6005f86&cmd=setCharacteristic&On=false
[2018-6-10 10:39:45] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(Brightness): 61 -> 0
[2018-6-10 10:39:47] [HomeKit Bridge Server] Lamp - Computer: set(Brightness) 0 -> 100
[2018-6-10 10:39:47] [HomeKit Bridge Server] Lamp - Computer: set(On) false -> true
[2018-6-10 10:39:47] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=1605904708&serverId=291647906&jkey=4e413b05eecd2c0e74c4a444c8dc2853dedfebc52248eb4e74024251e6005f86&cmd=setCharacteristic&Brightness=100
[2018-6-10 10:39:47] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(On): true -> false
[2018-6-10 10:39:47] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(Brightness): 100 -> 0
[2018-6-10 10:39:47] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=1605904708&serverId=291647906&jkey=4e413b05eecd2c0e74c4a444c8dc2853dedfebc52248eb4e74024251e6005f86&cmd=setCharacteristic&On=true
[2018-6-10 10:39:47] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(On): false -> true
[2018-6-10 10:39:47] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(Brightness): 0 -> 100
[2018-6-10 10:39:49] [HomeKit Bridge Server] Lamp - Computer: set(On) true -> false
[2018-6-10 10:39:49] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=1605904708&serverId=291647906&jkey=4e413b05eecd2c0e74c4a444c8dc2853dedfebc52248eb4e74024251e6005f86&cmd=setCharacteristic&On=false
[2018-6-10 10:39:49] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(On): false -> true
[2018-6-10 10:39:49] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(Brightness): 100 -> 61
[2018-6-10 10:40:01] [HomeKit Bridge Server] Lamp - Computer: set(On) true -> false
[2018-6-10 10:40:01] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=1605904708&serverId=291647906&jkey=4e413b05eecd2c0e74c4a444c8dc2853dedfebc52248eb4e74024251e6005f86&cmd=setCharacteristic&On=false
[2018-6-10 10:40:01] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(Brightness): 61 -> 0
[2018-6-10 10:40:06] [HomeKit Bridge Server] Lamp - Computer: set(Brightness) 0 -> 100
[2018-6-10 10:40:06] [HomeKit Bridge Server] Lamp - Computer: set(On) false -> true
[2018-6-10 10:40:06] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=1605904708&serverId=291647906&jkey=4e413b05eecd2c0e74c4a444c8dc2853dedfebc52248eb4e74024251e6005f86&cmd=setCharacteristic&Brightness=100
[2018-6-10 10:40:06] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(On): true -> false
[2018-6-10 10:40:06] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(Brightness): 100 -> 0
[2018-6-10 10:40:06] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=1605904708&serverId=291647906&jkey=4e413b05eecd2c0e74c4a444c8dc2853dedfebc52248eb4e74024251e6005f86&cmd=setCharacteristic&On=true
[2018-6-10 10:40:06] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(On): false -> true
[2018-6-10 10:40:06] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(Brightness): 0 -> 100
[2018-6-10 10:40:11] [HomeKit Bridge Server] Lamp - Computer: set(On) true -> false
[2018-6-10 10:40:11] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?objId=1605904708&serverId=291647906&jkey=4e413b05eecd2c0e74c4a444c8dc2853dedfebc52248eb4e74024251e6005f86&cmd=setCharacteristic&On=false
[2018-6-10 10:40:11] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(On): false -> true
[2018-6-10 10:40:11] [HomeKit Bridge Server] Lamp - Computer: updateCharacteristicValue(Brightness): 100 -> 61```
Colorado4Wheeler commented 6 years ago

Can you do another test, this time edit your HKB server and under Server Parameters - Advanced select Debug Homebridge-Indigo Script so I can see the return calls? According to the log you posted it looks like your brightness changes are being sent. Also, once you do that and the device is in an incorrect state please do another simulation so I can see what the parameters the plugin sees at the time of the "error".

Colorado4Wheeler commented 6 years ago

Closed due to no response.