We have moved at community.getvera.com

Author Topic: Vera Power Arithmetic  (Read 804 times)

Offline dmckenna

  • Full Member
  • ***
  • Posts: 196
  • Karma: +8/-2
Vera Power Arithmetic
« on: June 24, 2014, 08:11:23 am »
Hi,

Within Vera there is a great app called Power Arithmetic that allows different formulas to be used (e.g minus Watts used from Watts generating) and emulates a Power Device. Unfortunately although this displays correctly in Vera (and other 3rd party) as a Power Device, it doesn't show up within Imperihome at all.

To fix this, could Imperihome have a patch please to display devices based on the service ID (the urn:micasaverde-com:serviceId:EnergyMetering1 service) and not the device type ??



The Power Arithmetic  plugin owner (Futzle) said this..

Different device type, probably.

Power Meter: urn:schemas-micasaverde-com:device:PowerMeter:1
Power Arithmetic plugin: urn:schemas-futzle-com:device:PowerArithmetic:1

(They have to be different, otherwise I can't attach the Lua code to the latter.  It's a consequence of the LuaUPnP design that MCV made.  In their defence, MCV does recommend that control point applications look at the service ID (both have the urn:micasaverde-com:serviceId:EnergyMetering1 service) and not at the device type.

Offline garrettwp

  • Master Member
  • *******
  • Posts: 6371
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: Vera Power Arithmetic
« Reply #1 on: June 24, 2014, 10:30:55 am »
It would be much faster for them to implement this by device type than by service type if they are in fact going by device type. Going by service type may require a good amount of work for them to implement.

- Garrett