Meta DataSource with data from others meta datasources
I have a few meta data sources that calculate the energy consumption from virtual data sources. I am creating another meta data source that will add the values from other meta data sources. But the final meta data source wont show any value.
Exhaust has the script - return P1+P2; where P1 is PM1 - ActiveEnergy and P2 is PM2 - ActiveEnergy. PM1 and PM2 are other meta datasources. PM1 - ActiveEnergy is "return my.value + (ActivePower.past(MINUTE,1).average/60);"
How can I get the total and log accordingly? I am testing this on 3.1.1 enterprise edition demo.
Opps, seems that I missed out ".value".
phildunlap last edited by
Glad to hear you figured it out!