saj_collector 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +3 -0
- data/README.md +9 -6
- data/lib/saj_collector/version.rb +1 -1
- data/saj_collector.gemspec +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83b5e9272661768abc4bdeda76000563ead327c60463e98a9c8f6c10c72c29fd
|
4
|
+
data.tar.gz: a1e39773b115057f4c3b5c1fe99853c15794df4ecc3cb2b9624d6f524879a47a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69484df5d131c4b63bdd21579e424ad9ce58262659e7b5732c9abcd47411461ca2c4f730be03d1079ba247bb9889775dcb1d02da272cadae3b3bd75575503016
|
7
|
+
data.tar.gz: 8255be7ef5e5930b1a4434e7716c07c03920474c1457c1023de60a188ae55e304866b0c985e40ce934d343552be5d98900be2d943221627906524415da3b458f
|
data/.github/FUNDING.yml
ADDED
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# SAJ Collector
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/jwillemsen/saj_collector.png)](https://travis-ci.org/jwillemsen/saj_collector)
|
4
|
-
[![Code Climate](https://codeclimate.com/github/jwillemsen/saj_collector/badges/gpa.png)](https://codeclimate.com/github/jwillemsen/saj_collector)
|
5
4
|
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/fdb313b9a4b24614867b91e45a5505f9)](https://www.codacy.com/app/jwillemsen/saj_collector?utm_source=github.com&utm_medium=referral&utm_content=jwillemsen/saj_collector&utm_campaign=badger)
|
6
5
|
[![Gem Version](https://badge.fury.io/rb/saj_collector.svg)](http://badge.fury.io/rb/saj_collector)
|
7
6
|
|
@@ -10,15 +9,19 @@ ruby gem is based on https://github.com/johnf/jfy_collector
|
|
10
9
|
|
11
10
|
## Installation
|
12
11
|
|
13
|
-
|
12
|
+
First install [ruby](https://www.ruby-lang.org) on your system through your favorite package manager. On Windows download and install ruby from [Rubyinstaller](http://www.rubyinstaller.org).
|
14
13
|
|
15
|
-
|
14
|
+
Install it by running the following command from a linux shell or windows command prompt
|
15
|
+
|
16
|
+
gem install saj_collector
|
16
17
|
|
17
18
|
## Usage
|
18
19
|
|
19
20
|
Create a config file for PVOutput in ```saj_collector.yaml```.
|
20
21
|
This should contain the IP address of your SAJ Solar Invertor (```saj```), your
|
21
|
-
PVOutput system id (```system_id```) and API key (```api_key```).
|
22
|
+
PVOutput system id (```system_id```) and PVOutput API key (```api_key```). These PVOutput
|
23
|
+
system id and API key can be found on your
|
24
|
+
[PVOutput account page](https://pvoutput.org/account.jsp).
|
22
25
|
|
23
26
|
``` yaml
|
24
27
|
---
|
@@ -30,7 +33,7 @@ PVOutput system id (```system_id```) and API key (```api_key```).
|
|
30
33
|
|
31
34
|
Run the SAJ Collector in a screen or via init of some sort
|
32
35
|
|
33
|
-
|
36
|
+
saj_collector
|
34
37
|
|
35
38
|
This will run the current power generation frm the SAJ Collector and push the
|
36
39
|
data once to PVOutput. You can add
|
@@ -41,7 +44,7 @@ The SAJ Output Collector will retrieve the generation of each day of the current
|
|
41
44
|
push the data once to PVOutput.
|
42
45
|
Run the SAJ Output Collector in a screen or via init of some sort
|
43
46
|
|
44
|
-
|
47
|
+
saj_output_collector
|
45
48
|
|
46
49
|
You can add ``saj_output_collector`` to your crontab or a custom script to let it automatically push with
|
47
50
|
a certain frequency.
|
data/saj_collector.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saj_collector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johnny Willemsen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pvoutput
|
@@ -103,6 +103,7 @@ executables:
|
|
103
103
|
extensions: []
|
104
104
|
extra_rdoc_files: []
|
105
105
|
files:
|
106
|
+
- ".github/FUNDING.yml"
|
106
107
|
- ".github/workflows/ruby.yml"
|
107
108
|
- ".rubocop.yml"
|
108
109
|
- ".travis.yml"
|
@@ -137,7 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
138
|
- !ruby/object:Gem::Version
|
138
139
|
version: '0'
|
139
140
|
requirements: []
|
140
|
-
|
141
|
+
rubyforge_project:
|
142
|
+
rubygems_version: 2.7.7
|
141
143
|
signing_key:
|
142
144
|
specification_version: 4
|
143
145
|
summary: Pull stats from SAJ Solar Inverter and push them to PVOutput
|