Since I seem to have stirred the muddy waters of the genius pool and two gurus have popped to the surface....
I have two specific questions on this topic I hope can be answered:
1. If I use Luup code in a Scene to fetch a light level:
local SS_SID = "urn:micasaverde-com:serviceId:LightSensor1"
local current_level = luup.variable_get(SS_SID, "CurrentLevel", deviceNo) or "0"
I can compare that to < trigger_level and trigger an event.
Yet if I substitute "BatteryLevel" (and yes the deviceNo has both) it does not work.
Getting data via "data_request?id=lu_status" shows both values are accurate and up-to-date.
So.... shouldn't this work??
It's just 2 available values, or is the internal code doing something silly with battery level?
And if the answer is "something silly" are there other values that are treated silly or even more silly?

2. The ADD code:
Does the Vera send email notifications via a Mios SMTP server or does it send data that the Mios server formats into an email at the server?
If the limitation on the ADD code is that the SMTP server I have access to (gmail) won't work because of Auth or whatever - can I use the Mios SMTP?
Ok, I know that's several questions rolled into two topics, I cheated...
Thanks in advance for any help,
bob