Posted this over in the Universal Devices (ISY) Forum, but thought maybe someone over here might have some expertise.
I brought ISY994i online this weekend using the 2.3 binding linked on the UDI forums (and mentioned above). I have (almost) everything working wonderfully, so kudos and thank you to the authors of the binding.
The only item which is challenging me is a Dual Outlet Linc. The device is discovered and I see this through the RESTapi
{
“statusInfo”: {
“status”: “OFFLINE”,
“statusDetail”: “COMMUNICATION_ERROR”
},
“editable”: true,
“label”: “Outfront Top”,
“bridgeUID”: “isy:isyBridge:isy994”,
“configuration”: {
“name”: “Outfront Top”,
“deviceid”: “02.39”,
“address”: “3D BC 2D”
},
“properties”: {},
“UID”: “isy:dualoutletlinc:isy994:3D_BC_2D”,
“thingTypeUID”: “isy:dualoutletlinc”,
“channels”: [
{
“linkedItems”: [],
“uid”: “isy:dualoutletlinc:isy994:3D_BC_2D:loadlevel1”,
“id”: “loadlevel1”,
“channelTypeUID”: “isy:loadLevel”,
“itemType”: “Dimmer”,
“kind”: “STATE”,
“label”: “Load Level”,
“description”: “Increase/decrease the load level”,
“defaultTags”: [],
“properties”: {},
“configuration”: {}
},
{
“linkedItems”: [],
“uid”: “isy:dualoutletlinc:isy994:3D_BC_2D:loadlevel2”,
“id”: “loadlevel2”,
“channelTypeUID”: “isy:loadLevel”,
“itemType”: “Dimmer”,
“kind”: “STATE”,
“label”: “Load Level”,
“description”: “Increase/decrease the load level”,
“defaultTags”: [],
“properties”: {},
“configuration”: {}
}
]
}
Once linked to an item, I never get past this error
2018-09-07 12:10:46.323 [DEBUG] [binding.isy.handler.IsyDeviceHandler] - handle command, channel: isy:dualoutletlinc:isy994:3D_BC_2D:loadlevel1, command: ON
2018-09-07 12:10:46.324 [DEBUG] [binding.isy.handler.IsyDeviceHandler] - SceneHandler handleCommand caught exception: Could not find device id for channel: {}‘loadlevel1’
I was confused why it was added as a dimmer rather than a switch, sine the code seems to show it adds two switches? I edited the JSON file to switches, but still same errors. I then edited down the JSON to a single switch and then things work as shown: No clue how I would add the second outlet to the JSON file…
{
“statusInfo”: {
“status”: “UNINITIALIZED”,
“statusDetail”: “BRIDGE_UNINITIALIZED”
},
“editable”: true,
“label”: “Outfront Top”,
“bridgeUID”: “isy:isyBridge:isy994”,
“configuration”: {
“name”: “Outfront Top”,
“deviceid”: “02.39”,
“address”: “3D BC 2D”
},
“properties”: {},
“UID”: “isy:dualoutletlinc:isy994:3D_BC_2D”,
“thingTypeUID”: “isy:dualoutletlinc”,
“channels”: [
{
“linkedItems”: [],
“uid”: “isy:dualoutletlinc:isy994:3D_BC_2D:state”,
“id”: “state”,
“channelTypeUID”: “isy:switchState”,
“itemType”: “Switch”,
“kind”: “STATE”,
“label”: “Load Level”,
“description”: “Increase/decrease the load level”,
“defaultTags”: [],
“properties”: {},
“configuration”: {}
}
]
},
2018-09-07 12:34:07.259 [DEBUG] [binding.isy.handler.IsyDeviceHandler] - handle command, channel: isy:dualoutletlinc:isy994:3D_BC_2D:state, command: ON
2018-09-07 12:34:07.322 [DEBUG] [binding.isy.handler.IsyDeviceHandler] - insteon address for command is: 3D BC 2D 1
2018-09-07 12:34:07.323 [DEBUG] [b.binding.isy.internal.IsyRestClient] - changeNodeState called, command: DON, value: null, address: 3D BC 2D 1
2018-09-07 12:34:07.324 [DEBUG] [b.binding.isy.internal.IsyRestClient] - changeNodeState url: http://ISY994.radner/rest/nodes/3D BC 2D 1/cmd/DON
Before I start cloning and debugging I figured I would risk a question to see if someone else has been able to get this devices working.
Suggestions please?