renstar 0.3.0 → 0.3.1
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 +4 -4
- data/Gemfile +0 -1
- data/README.md +2 -5
- data/lib/renstar/version.rb +1 -1
- data/renstar.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5ec00844bc41728ecfd92760ee41fc4d46a5f3f774f8dc0cbc775d24ead73c5a
|
|
4
|
+
data.tar.gz: 927825f1c773ed6f39f04a01a186b560e62d8251b980509b1d0115b3aebbbd80
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ec1ba6a7196d85a096ebefb15939a7067ced4ae09247b7c897b68021acb72bc40e113584445da2482f1b65607bdc49fd2cd7c09e4e0cc5c28f0eabb70403c76
|
|
7
|
+
data.tar.gz: d466accc4a177cd0b7e0c739aa76e4d5d93f1f6c81707183e6bfed5e13caef56c0c3fe1f02b097df34177105306afe5e8041bf8284994ca66b93b1470bbbb133
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -36,14 +36,11 @@ renstar.rb cool 72
|
|
|
36
36
|
|
|
37
37
|
You can apply the logic above to any of the methods below for the same effect.
|
|
38
38
|
|
|
39
|
+
### Note about thermostat selection
|
|
39
40
|
The binary chooses the first thermostat it finds on the network, so you may get
|
|
40
41
|
unexpected results if you have more than one on your network. I do plan on
|
|
41
42
|
improving this.
|
|
42
43
|
|
|
43
|
-
You may have trouble with discovery on multi-homed hosts, but I'm working with
|
|
44
|
-
the author of the `ssdp` library to fix this, so I expect it to improve. You can
|
|
45
|
-
install my fork of `ssdp` from github if you need multi-homed support now.
|
|
46
|
-
|
|
47
44
|
## Using the library
|
|
48
45
|
|
|
49
46
|
First we need to create a `Thermostat` object.
|
|
@@ -76,7 +73,7 @@ thermo.runtimes
|
|
|
76
73
|
* See alerts and their status:
|
|
77
74
|
```ruby
|
|
78
75
|
thermo.alerts
|
|
79
|
-
|
|
76
|
+
```
|
|
80
77
|
|
|
81
78
|
### Control
|
|
82
79
|
|
data/lib/renstar/version.rb
CHANGED
data/renstar.gemspec
CHANGED
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
|
29
29
|
spec.require_paths = ['lib']
|
|
30
30
|
|
|
31
31
|
spec.add_runtime_dependency 'json'
|
|
32
|
-
spec.add_runtime_dependency 'ssdp', '~> 1.
|
|
32
|
+
spec.add_runtime_dependency 'ssdp', '~> 1.2.0'
|
|
33
33
|
|
|
34
34
|
# Uncomment to register a new dependency of your gem
|
|
35
35
|
# spec.add_dependency "example-gem", "~> 1.0"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: renstar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Rodrigues
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.
|
|
33
|
+
version: 1.2.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.
|
|
40
|
+
version: 1.2.0
|
|
41
41
|
description: Control Venstar thermostats with Ruby via their local API.
|
|
42
42
|
email:
|
|
43
43
|
- mikebrodrigues@gmail.com
|