I just finished installing the switches. While in the attic I did brief tests and did not see energy reporting but it is likely I do not know how to use this yet. I have 5 years experience with ST but just a few days with HE.
Thank you for sharing your driver!!
EDIT:
The fingerprint wasn't for the in-wall switch so I copied over the fingerprint from ST's DTH and made the name a little more generic so it applies to both.
metadata {
definition (name: "GE/Jasco Smart Switch", namespace: "asj", author: "asj") {
capability "Configuration"
capability "Refresh"
capability "PowerMeter"
capability "EnergyMeter"
capability "Sensor"
capability "Outlet"
capability "Switch"
command "resetEnergy"
//fingerprint profileId: "0104", inClusters: "0000,0003,0006,0B05,0702", manufacturer: "Jasco", model: "45853", deviceJoinName: "GE Smart Plug-In Switch"
// GE/Jasco
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0702, 0B05", outClusters: "0003, 000A, 0019", manufacturer: "Jasco", model: "45853", deviceJoinName: "GE ZigBee Plug-In Switch"
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0702, 0B05", outClusters: "000A, 0019", manufacturer: "Jasco", model: "45856", deviceJoinName: "GE ZigBee In-Wall Switch"
}
preferences {
//standard logging options
input name: "logEnable", type: "bool", title: "Enable debug logging", defaultValue: true
input name: "txtEnable", type: "bool", title: "Enable descriptionText logging", defaultValue: true
input name: "powerChange", type: "enum", title: "Power Report Value Change:", defaultValue: powerChangeOptions[0], options: powerChangeOptions
input name: "powerReport", type: "enum", title: "Power Reporting Interval:", defaultValue: timeReportOptions[0], options: timeReportOptions
input name: "energyChange", type: "enum", title: "Energy Report Value Change:", defaultValue: energyChangeOptions[0], options: energyChangeOptions
input name: "energyReport", type: "enum", title: "Energy Reporting Interval:", defaultValue: timeReportOptions[0], options: timeReportOptions
}
}
Edit 2:
I tried a few iterations of the fingerprint and HE keeps using the Generic Zigbee Switch driver:
If HE works the same way as ST, I believe that the most accurate fingerprint wins. In my various attempts I removed outClusters, and swapped a couple values in the inClusters (don't think it matters but I made it match what the device reports). Nothing seemed to make a difference. I assume all I need to do is save the driver and nothing else - if something else must be done, such as publishing on the ST platform, then my tests are invalid.