Skip to content

Power is set to zero after having series of values #1

@nirozjung

Description

@nirozjung

Hi, i tried the code to use for a simple run time power calculation without use of mqtt, but power is all of sudden returned to zero. What I did is just removed all the mqtt parts of the code as I opted to use serial interface with pi.
Is true that power is set to 0 for 1 minute during the startup by the following code.
if (millis() - chan1_last_pulse > 60000) {
chan1_watts = 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions