During plugin development, I'm always using Visual Studio's breakpoints/watch lists to verify that device creation is taking place correctly. This is a little time consuming and cumbersome and I find myself needing to compare devices, especially PED.
Usually, I would dump a device to the log file or even a separate text file to verify device contents (PED).
That, too, is cumbersome. So, I took my DumpDevice sub and made it into an ASPX page that you can use.
Drop the attached .aspx page into your HomeSeer html folder and go to localhost/DumpDevice.aspx
Enter the device id and it will return the device info.
Note that this gives you the background code and you can add other device properties you need.
***I am not maintaining this code. It is free to use and modify as you see fit.
Hope this helps... [ATTACH]n1405489[/ATTACH]
Usually, I would dump a device to the log file or even a separate text file to verify device contents (PED).
That, too, is cumbersome. So, I took my DumpDevice sub and made it into an ASPX page that you can use.
Drop the attached .aspx page into your HomeSeer html folder and go to localhost/DumpDevice.aspx
Enter the device id and it will return the device info.
Note that this gives you the background code and you can add other device properties you need.
***I am not maintaining this code. It is free to use and modify as you see fit.
Hope this helps... [ATTACH]n1405489[/ATTACH]
Comment