I have about 20 devices with child devices displaying Watts. I would like to add all of them up and display them in a virtual device, so I can see the overall Watt consumption of all my devices.
At a later stage I want to create a multi display device (I have a few already) which only shows devices which consume more than 0 Watts, and then also the overall consumption. I have an idea of how to do the multi device display, the problem is how to get the value of each device.
Can I get that by using hsgetdevicevaluebyref ? Then have a line
consumption = hsgetdevicevaluebyref(1) + hsgetdevicevaluebyref(2) + ...
At a later stage I want to create a multi display device (I have a few already) which only shows devices which consume more than 0 Watts, and then also the overall consumption. I have an idea of how to do the multi device display, the problem is how to get the value of each device.
Can I get that by using hsgetdevicevaluebyref ? Then have a line
consumption = hsgetdevicevaluebyref(1) + hsgetdevicevaluebyref(2) + ...
Comment