added Logged data database interface, can now manually log a 'sensor' reading
option to log dpph result
variable name typo
variable name typo... again
more silly mistakes