Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Door sensor failing to show proper state #122

Open
jjschwarz opened this issue Oct 28, 2018 · 1 comment
Open

Door sensor failing to show proper state #122

jjschwarz opened this issue Oct 28, 2018 · 1 comment

Comments

@jjschwarz
Copy link

jjschwarz commented Oct 28, 2018

I just upgraded from the old HomeBridge command line kit to the new integrated plugin. Prior to the upgrade I had doors working just fine, but I had to add the following to my config:
"treatAsDoorIds": [ "242319157" , "1528402951", "408575628", "1459042103","1296285109" ],

Under the new config I simply selected each sensor was a door, but I am not seeing the door status update. They are all stuck on "closed" in homekit.

Expected Behavior

Insteon open/close sensor state should be mapped to HomeKit

Current Behavior

No changes in state are being reflected

Steps to Reproduce (for bugs)

Open door, state updates in Insteon v7.2, but not in HomeKit

Versions

  • Plugin: v1.0.2

Configuration

    "platforms": [
            {
                    "protocol": "http", 
                    "name": "HomeKit Bridge Server", 
                    "listenPort": "8445", 
                    "platform": "Indigo2", 
                    "host": "127.0.0.1", 
                    "debug": false, 
                    "serverId": REMOVED, 
                    "port": "8558"
            }
    ], 
    "bridge": {
            "username": "REMOVED", 
            "name": "HomeBridge", 
            "pin": "XXX-YY-ZZZ", 
            "port": "51826"
    }, 
    "accessories": [], 
    "description": "HomeKit configuration generated by HomeKit Bridge on 2018-10-28 13:21:08.655000 for device HomeBridge"

}

Homebridge Log / Command Output

Log shows no events for Storage Room Door, but does show initialization:

[2018-10-28 13:21:09] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
[2018-10-28 13:21:09] ---
[2018-10-28 13:21:09] Loaded plugin: homebridge-indigo2
[2018-10-28 13:21:09] Registering platform 'homebridge-indigo2.Indigo2'
[2018-10-28 13:21:09] ---
[2018-10-28 13:21:09] Loaded config.json with 0 accessories and 1 platforms.
[2018-10-28 13:21:09] ---
[2018-10-28 13:21:09] Loading 1 platforms...
[2018-10-28 13:21:09] [HomeKit Bridge Server] Initializing Indigo2 platform...
[2018-10-28 13:21:09] [HomeKit Bridge Server] HomeKit Bridge base URL is http://127.0.0.1:8558
[2018-10-28 13:21:09] [HomeKit Bridge Server] HomeKit Bridge serverId is REMOVED
[2018-10-28 13:21:09] Loading 0 accessories...
Load homebridge-camera-ffmpeg.Camera-ffmpeg
[2018-10-28 13:21:09] [HomeKit Bridge Server] Listening on port 8445
[2018-10-28 13:21:09] [HomeKit Bridge Server] HomeKit Bridge request: http://127.0.0.1:8558/HomeKit?cmd=deviceList&serverId=REMOVED
[2018-10-28 13:21:09] [HomeKit Bridge Server] Discovered Device Door (ID 921b42a5d1546fc4958caca77a073c894aded70726d7073052b70eab9bb1a05d): Storage Room Door
[2018-10-28 13:21:09] [HomeKit Bridge Server] Initializing platform accessory 'Storage Room Door'...

Device Simulation Report

[code]
##### DEVICE DATA DUMP #####

address : 14.8E.9A
allowOnStateChange : True
allowSensorValueChange : False
batteryLevel : None
buttonGroupCount : 2
configured : True
description : Entry door to storage room

deviceTypeId : 
displayStateId : onOffState
displayStateImageSel : SensorOn
displayStateValRaw : True
displayStateValUi : on
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState : 
folderId : 1608491438
globalProps : MetaProps : (dict)
id : 242319157
lastChanged : 2018-10-28 13:03:05
lastSuccessfulComm : 2018-10-28 13:03:05
model : Open/Close Sensor
name : Storage Room Door
onState : True
ownerProps : emptyDict : (dict)
pluginId : 
pluginProps : com.eps.indigoplugin.homekit-bridge : (dict)
protocol : Insteon
remoteDisplay : True
sensorValue : None
states : States : (dict)
     onOffState : on (on/off bool)
subModel : 
supportsAllLightsOnOff : False
supportsAllOff : False
supportsOnState : True
supportsSensorValue : False
supportsStatusRequest : False
version : 52

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

Service : 
	alias : Storage Room Door
	model : 
	subModel : 
	indigoType : indigo.SensorDevice
	pluginType : Built-In
	type : Door
	desc : Door
	objId : 242319157
	serverId : 35246918
	invertOnState : False
	convertFahrenheit : False
	required : (List)
		CurrentPosition : 0
		TargetPosition : 0
		PositionState : 2
	optional : (List)
		HoldPosition
		ObstructionDetected
		Name
	native : True
	requiresPlugin : (List)
	actions : (List)
	loadOptional : False
	characterDict : (Dict)
		PositionState : 2


[/code]
@jjschwarz
Copy link
Author

I believe this may be related to my other ticket regarding the garage door as well. I thought at first it was just the garage door, but while troubleshooting found all doors seem affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant