Browse Source

add more info about scripts, and streaming.. add logs to ignore..

main
John-Mark Gurney 3 years ago
parent
commit
058d185867
3 changed files with 42 additions and 0 deletions
  1. +3
    -0
      .gitignore
  2. +12
    -0
      NOTES.md
  3. +27
    -0
      README.md

+ 3
- 0
.gitignore View File

@@ -1,2 +1,5 @@
creds.txt creds.txt
creds.inst.txt
p p
home.power.*.log
solar.*.log

+ 12
- 0
NOTES.md View File

@@ -47,3 +47,15 @@ from production:


streaming voltages, power and more: streaming voltages, power and more:
curl --digest -u installer:<installerpasswd> http://<ip>/stream/meter curl --digest -u installer:<installerpasswd> http://<ip>/stream/meter

The script `streaming` runs the necessary commands, and prepends an
ISO-8601 to each JSON object.

These are the meanings:
p == Watts (real power)
q == (reactive power)
s == VA? (apparent power)
v == Volts
i == A
pf == PF
f == Hz

+ 27
- 0
README.md View File

@@ -15,3 +15,30 @@ Note: This code was written quickly so that I wouldn't lose the data
on my recently installed system. It needs to be updated to be use proper on my recently installed system. It needs to be updated to be use proper
TDD, which likely could have caught some of the bugs/errors such as when TDD, which likely could have caught some of the bugs/errors such as when
the Envoy goes off-line. the Envoy goes off-line.


Credentials
-----------

There are two files that are used for credentials. The first is
`creds.txt`. The format of this file is:
```
<ip> <username> <password>
```

`ip` is the IP or hostname of the envoy controller. The `username` is
usually `envoy`. The password is what is set.

To get streaming line information (voltage, frequency, pf, etc), you
need the installer password. This password is installed in the file
`creds.inst.txt`.

Scripts
-------

There are two scripts. One is `start`, and this one provides the
collection of per panel and overall production information.

The second is `streaming`. This outputs detailed, per second
information about the power line, including voltage, power, and
power factor.

Loading…
Cancel
Save