saj_collector 0.5.3 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d32f08b2a5d39a7d59128ae0c811a3ee31d4be8e0924d059d4de4c27aaa74a24
4
- data.tar.gz: 90c7d852b9e8a60acec43f742005b0a71d33bd82d0b5eb52be8e3ae05bd54090
3
+ metadata.gz: 83b5e9272661768abc4bdeda76000563ead327c60463e98a9c8f6c10c72c29fd
4
+ data.tar.gz: a1e39773b115057f4c3b5c1fe99853c15794df4ecc3cb2b9624d6f524879a47a
5
5
  SHA512:
6
- metadata.gz: 6c0abb66a28888bf1b0da98e83501e339782948bb8c9932757b7f6a6c0e494bea509ba9e2f34c74d04c104c46f7f8e8e76e740541369832a7ee96a0e6e48dc59
7
- data.tar.gz: 51b42f49c3836c7485433a65aa6dd0181b7aeb8f1203680b061b60bc8e006975be3fe6f501db04a72aaec776db00044f6b40759df6759e2d1c6137de6f9bc02d
6
+ metadata.gz: 69484df5d131c4b63bdd21579e424ad9ce58262659e7b5732c9abcd47411461ca2c4f730be03d1079ba247bb9889775dcb1d02da272cadae3b3bd75575503016
7
+ data.tar.gz: 8255be7ef5e5930b1a4434e7716c07c03920474c1457c1023de60a188ae55e304866b0c985e40ce934d343552be5d98900be2d943221627906524415da3b458f
@@ -0,0 +1,3 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: jwillemsen
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
- Install it:
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
- $ gem install saj_collector
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
- $ saj_collector
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
- $ saj_output_collector
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.
@@ -1,3 +1,3 @@
1
1
  module SAJCollector
2
- VERSION = '0.5.3'.freeze
2
+ VERSION = '0.5.4'.freeze
3
3
  end
@@ -1,4 +1,4 @@
1
- lib = File.expand_path('../lib', __FILE__)
1
+ lib = File.expand_path('lib', __dir__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
  require 'saj_collector/version'
4
4
 
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.3
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: 2019-09-11 00:00:00.000000000 Z
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
- rubygems_version: 3.0.3
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