I did a little bit more playing around with the device handler last night and could not quite figure out the refresh. I tried added a refresh method with the zigbee.readattribute command posted by @Sticks18 but it didn’t seem to do anything, even with a refresh tile pressing the tile did not trigger any log messages. It is very possible I did not get something right though.
EDIT: I actually appear to have gotten the refresh working, now when I click the refresh tile in the app I see the following message come into the hub. The message comes from the clusterId that @Sticks18 mentioned was for termperature (0x0402), my guess is this message contains the temperature information (in data?) but I still need to figure out how to parse that message which I will do as time permits.
56cf8297-b7a9-4e69-927e-1f054667902d 10:48:45 AM: debug SmartShield(clusterId: 0x0402, command: 0x01, data: [0x00, 0x00, 0x00, 0x29, 0x70, 0x30], destinationEndpoint: 0x01, direction: 0x01, isClusterSpecific: false, isManufacturerSpecific: false, manufacturerId: 0x0000, messageType: 0x00, number: null, options: 0x0140, profileId: 0x0104, senderShortId: 0x2a59, sourceEndpoint: 0x01, text: null) 56cf8297-b7a9-4e69-927e-1f054667902d 10:48:45 AM: debug parse description: catchall: 0104 0402 01 01 0140 00 2A59 00 00 0000 01 01 000000297030
I did notice that the “temperature” does not appear to be reported as part of a cluster message, at least not like other messages. The temperature is coming in without a clusterId and instead the description in these messages is starting with “temperature” (most messages I see come in with description starting with "catchall’). I also noticed that the temperature is not reported on any kind of interval so not sure what triggers it, there were times where I saw that message come in 10 minutes apart (at one point I got 3 messages within 30 minutes, each 9-12 minutes apart) but last night I left the live logging open to see what would be reported overnight and the “termperature” message never came in.
On another note I added the inbound cluster 0x0020 to the bindings since I think I read that cluster contains battery information. I was hoping to see battery levels reported but not sure that is really the case, the live logging picked up the following message being received once per hour. If this is useful information and can be used for something I will leave it but I don’t quite understand what this message is at the moment. Is this some polling message that helps keep the switch connected to the hub? By the way, so far I have had my dimmer switch connected for about 16 hours without re-pairing and left it unused overnight and it still seems to function, will report if I see any issues with it forgetting its network.
56cf8297-b7a9-4e69-927e-1f054667902d 9:32:03 AM: debug SmartShield(clusterId: 0x0020, command: 0x00, data: [], destinationEndpoint: 0x01, direction: 0x01, isClusterSpecific: true, isManufacturerSpecific: false, manufacturerId: 0x0000, messageType: 0x00, number: null, options: 0x0140, profileId: 0x0104, senderShortId: 0x2a59, sourceEndpoint: 0x01, text: null) 56cf8297-b7a9-4e69-927e-1f054667902d 9:32:03 AM: debug parse description: catchall: 0104 0020 01 01 0140 00 2A59 01 00 0000 00 01