Michel Kohanim Posted September 13, 2017 Posted September 13, 2017 Hi Michael, Here you go: /** * Metering: ** umeter. "status.check" "status.lowbat" "status.tampered" "status.powerfail" "status.powerqual" "status.leak" "status.disconnect" "status.ok" "usage.currsum" //tiers "usage.t1sum" "usage.t2sum" "usage.t3sum" "usage.t4sum" "usage.t5sum" "usage.t6sum" "usage.t7sum" "usage.inst" (instantaneous demand) "period.max" "usage.today" "usage.yesterday" "usage.currdelta" //this billing cycle "usage.cycle" Example ${umeter.usage.inst} /** * Demand Response */ udr. "event.criticality" "event.duration" "event.cooloffset" "event.heatoffset" "event.coolsp" "event.heatsp" "event.loadadj" "event.dutycycle" "event.status" "event.stopreason" Example: ${udr.event.status} /** * Message */ umsg. "event.reqconf" "event.importance" "event.status" Example: ${umsg.event.status} /** * Price */ uprice. "event.tier" "event.price" "event.duration" "event.status" //this cycle "event.cycle" Example: ${uprice.event.status} With kind regards, Michel Quote
MWareman Posted September 13, 2017 Posted September 13, 2017 Michel, thanks for moving this topic. Sorry to the OP of the other sep meter topic - didn't mean to derail it.... I'll test the examples when I get home tonight and let you know... Michael Quote
MWareman Posted September 15, 2017 Posted September 15, 2017 OK, the alert has: Subject: Power data at ${alert.date} ${alert.time24} Body: Here is the current data:<br> <br> <table> <tr><td>Instant Usage</td><td>${umeter.usage.inst}<td></tr> </table> It didn't work. I got ${umeter.usage.inst} in the body instead of the usage. However (and I don't know why I didn't think of this before) - when building a custom notification I selected 'Utility - Meter' then 'Instantaneous Demand' and clicked 'Insert'. The value inserted was ${mod.umeter.usage.inst} So - it seems we need mod. at the start... Next was to try to get the RAW values: Here is the current data:<br> <br> <table> <tr><td>Instantaneous Usage</td><td>${mod.umeter.usage.inst}<td><td>${mod.umeter.usage.inst.raw}<td></tr> <tr><td>Delivered - Yesterday</td><td>${mod.umeter.usage.yesterday}<td><td>${mod.umeter.usage.yesterday.raw}<td></tr> </table> The HTML delivered was: Here is the current data:<br> <br> <table> <tr><td>Instantaneous Usage</td><td>1.8450kW-kWh<td><td><td></tr> <tr><td>Delivered - Yesterday</td><td>39.6640kW-kWh<td><td><td></tr> </table> So - the .RAW got substituted to a null. Is this expected? Also - with the formatted value - why is the format kW-kWh? Shouldn't it just be kWh for delivered, and kW for instantaneous usage? In order to build graphs from this - we will likely need .raw to work at least... Michael. Quote
Michel Kohanim Posted September 15, 2017 Author Posted September 15, 2017 Hi Michael, Thank you. I am not sure why I didn't think of it either! I will have to talk to Chris with regards to Raw. I shall get back to you. With kind regards, Michel Quote
Michel Kohanim Posted September 17, 2017 Author Posted September 17, 2017 Hi Mwareman, Spoke to Chris. It should be in our next 5.x release. With kind regards, Michel 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.