I’m not sure why. A Power Arithmetic device is using the same built-in service type (S_EnergyMetering1.xml) as any other power-measuring device.
I don’t use dataMine, so I can’t say how it decides which devices can measure power, but I hope it is going by the list of services that the device type enumerates.
I imagine that the answer is in dataMine’s source code.
Thanks Futzie
Solved it. did a reload of my browser (Chrome), and the energy meter properties became available. Should have known that would be the solution LOL.
Want to calculate my house heating power. It is a water based system and I know the water flow (it?s actually constant) and the temperature of the water before and after the heat exchanger.
The power is calculated by the formula “Power in kW=Flow (l/s) * (temp out - temp in) * 4,18”
But to be able to do this I guess I need a function “temp(device ID)”…
All “Power Arithmetic” and my “CurrentCost EnviR Energy Monitor” devices show power consumption in the Mios web interface as expected.
But in my AutHomationHD Android app the “Power Artihmetic” devices shows up with a questionmark as symbol and I have to click on the device to se the power consumption. But my “CurrentCost EnviR Energy Monitor” shows up with a power icon and shows the power consumption in the “device” view.
Is this something that is possible to address in the plugin or is it something that have to be addressed in the AutHomation app?
Yes, that would fulfill my needs. Thank you in advance;-)[/quote]
Try this attached file, which provides temperature(d) and humidity(d) functions. The temperature() function makes no effort to understand the temperature units.
The plugin uses the standard service ID of “urn:micasaverde-com:serviceId:EnergyMetering1”. Perhaps AutHomationHD needs to recognize the device type (“urn:schemas-futzle-com:device:PowerArithmetic:1”) too. Garrett will know for sure.
Yes, that would fulfill my needs. Thank you in advance;-)[/quote]
Try this attached file, which provides temperature(d) and humidity(d) functions. The temperature() function makes no effort to understand the temperature units.[/quote]
Thanks! It works perfectly and I now have an Power Artihmetic device showing my heating consumption in real time
The plugin uses the standard service ID of “urn:micasaverde-com:serviceId:EnergyMetering1”. Perhaps AutHomationHD needs to recognize the device type (“urn:schemas-futzle-com:device:PowerArithmetic:1”) too. Garrett will know for sure.[/quote]
I added the device type to the energy meter portion of my app. So it should show up as an energy device and report the watt usage. Currently this will only be available in the alpha builds.
I just installed the latest files and created a power arithmetic device with a formula [tt]power(186) + 10[/tt] and it correctly displayed 10 more watts than device 186. The function name must be entered in lower case, so if you’ve written [tt]POWER[/tt], there is no such function.
I don’t use dataMine so I can’t offer any insight there.
No, the Ergy plugin won’t be involved in any way. You are IMO correct to not use it.
It might be the formula length. Try a shorter one and see if it works. Then expand it a bit with another term or two.
This plugin uses a recursive-descent parser so it’s not the most efficient in terms of CPU or memory use. It’s easily possible that your formula overflows a stack.
Edit: you can reduce the depth of the parse tree by using parentheses to halve the length of each bit being added.