Hi All,
I think I have it working but will wait for real values to be generated tomorrow (its night at present). All watt values that are processed by this pow10_input are now showing 0 as against NULL before the change.
My change was in the “processext_processlist.php” file by adding the line:
$this->input = &$parent->input;
This was arrived at by trial and error and comparing the “process_processlist.php” file and adding the line because of the error.
Is there anything else that I should add?
// Module required constructor, receives parent as reference
public function __construct(&$parent)
{
$this->log = new EmonLogger(__FILE__);
$this->input = &$parent->input;
}
I don’t think I have used PHP ever, or if I did I can’t remember doing so. So can some of the code gurus please check if that is all that is required?
Thanks Dave Martin
Edited for presentation - Moderator (RW)
(You can’t have italics in a quoted block of text.)