I have a physical Aeon Home Energy Monitor. SmartThings conveniently has a pretty good device handler for it, but I want to add some functionality to publish the separate clamp energy readings rather than a single clamp sum as the current device handler does. I created a new device handler via Template for the existing SmartThings Aeon HEM. Based on the pepper1 library entry for this device, I changed configure() to tell the HEM to report the sum of energy (same as it was before), plus energy for clamp 1 plus energy for clamp 2. Now I want to check my progress and see if that configuration change actually results in the physical HEM sending the desired updates. So, I add a log.debug message in parse() to print any incoming description. Now, how can I see that log statement print?
I can Install my new Device Handler from the editor IDE window and select my real Aeon HEM from the list of possible devices (which also includes a Virtual device), but then the log at the bottom of the screen never reports anything. I can edit my HEM device under My Devices and change its Type to the Draft version of my new device handler, but then I have no idea where to look to see the log.debug messages.
Using the published device handler, my HEM works fine – I get updates every 5 minutes for both power and energy. But, I can’t figure out how to go about doing development for device handlers. The documentation mentions the simulator for testing out certain functionality, but that seems almost worthless in this case since pretty much all device handler development would be with regard to interacting with the real hardware (and whether doing so works).