Hi All,
Can I somehow see if a device is added with or without encryption?
Regards
indigo.server.log(unicode(indigo.device[YOUR_DEVICE_ID].ownerProps))
Colorado4Wheeler wrote:I believe if the 'zwEncryptClassCmdMap' property is populated then it is:
- Code: Select all
indigo.server.log(unicode(indigo.device[YOUR_DEVICE_ID].ownerProps))
mbedded script: 'DeviceCmds' object does not support indexing
indigo.server.log(unicode(indigo.devices[YOUR_DEVICE_ID].ownerProps))
DaveL17 wrote:Typo fixed here. Device should be devices.
- Code: Select all
indigo.server.log(unicode(indigo.devices[YOUR_DEVICE_ID].ownerProps))
embedded script: 'key id 42 not found in database'
DaveL17 wrote:You should use the Indigo device ID, which is found by right-clicking on said device -- instead of the Z-Wave node ID which it seems like you're using.
zwEncryptionStatusStr : Supported but not Enabled (string)
DaveL17 wrote:According to C4W above, you should examine 'zwEncryptClassCmdMap'. What is the value of that property?
zwEncryptClassCmdMap : (dict)
zwEncryptionStatusStr : Supported but not Enabled (string)
Colorado4Wheeler wrote:I was replying to the question as to if it had been added with or without encryption, if zwEncryptClassCmdMap is empty then it's not currently encrypted, but zwEncryptionStatusStr shows that it can be.
supportEncryption = "c152" in dev.ownerProps["zwClassCmdMap"]
usingEncryption = len(dev.ownerProps["zwEncryptClassCmdMap"]) > 0
Users browsing this forum: No registered users and 1 guest