Homeseer to Azure IoT interface script

I have created a script that enables HomeSeer users to post device values to a Microsoft Azure IoT hub.




Here’s the resulting report in Power BI.  

(Details of the full configuration to follow)