Skip to content

Add number of inverters; total and reporting #84

@dcmartin

Description

@dcmartin

Use Case

The existing API does not provide for number of inverters; total and number reporting. As inverters might fail over time, being able to track the number reporting versus the total woud enable identifying potential bad inverters.

Solution

Add regexp for extraction from HTML as well as calcuate from JSON depending on version of API; for example the number of inverters from a LEGACY gateway is available:

curl -k -v -L 192.168.1.15/home| egrep -A2 "Number of Microinverters" | egrep -v '<tr>' | sed 's@.*<td>\([0-9]*\)</td>.*@\1@' | while read; do echo -n "${REPLY} "; done

Alternatives

NA

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