nature_remo 0.2.0 → 0.2.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/README.md +27 -3
- data/lib/nature_remo/cli.rb +1 -1
- data/lib/nature_remo/version.rb +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: 694f4b3df41d47958681db2d465e4b72a21208ce8d38e047c037e302be6fd053
|
|
4
|
+
data.tar.gz: 88dc1b590ff2760458b6af375c03e0462e86c73a7efac8fa4b045ae8854abcd2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dee4d7c0b46518164a0f98b8fbc3205daea529c5b1d173acbafcb2c22f73676690c12a15df7261140fbbd0cf19e1e5ecbdd54d76b5a0bbe85a1ae00eda7bc821
|
|
7
|
+
data.tar.gz: 9786925228bfc3558f4d8fd5c3907f2c1f2a58566004145470545baae95c6177bcfaa95e98847d523309895eb8144f0f2828c0f09a0bef084b78634104605109
|
data/README.md
CHANGED
|
@@ -19,10 +19,10 @@ Or install it yourself as:
|
|
|
19
19
|
|
|
20
20
|
$ gem install nature_remo
|
|
21
21
|
|
|
22
|
-
## Usage
|
|
22
|
+
## CLI Usage
|
|
23
23
|
|
|
24
24
|
Commands:
|
|
25
|
-
natureremo aircon MODE
|
|
25
|
+
natureremo aircon TEMP MODE # Control Air conditioner
|
|
26
26
|
natureremo appliances ID SIGNAL # Access a appliance
|
|
27
27
|
natureremo devices # find all devices
|
|
28
28
|
natureremo help [COMMAND] # Describe available commands or one specific command
|
|
@@ -53,7 +53,7 @@ Send signal
|
|
|
53
53
|
|
|
54
54
|
#### Control air conditioner
|
|
55
55
|
|
|
56
|
-
$ natureremo aircon [
|
|
56
|
+
$ natureremo aircon [temperture] [mode] [options]
|
|
57
57
|
|
|
58
58
|
<!-- ## Development -->
|
|
59
59
|
|
|
@@ -65,6 +65,30 @@ Send signal
|
|
|
65
65
|
|
|
66
66
|
<!-- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/nature_remo. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. -->
|
|
67
67
|
|
|
68
|
+
## TODO
|
|
69
|
+
|
|
70
|
+
- [X] GET /1/users/me
|
|
71
|
+
- [ ] POST /1/users/me
|
|
72
|
+
- [ ] GET /1/devices
|
|
73
|
+
- [ ] POST /1/detectappliance
|
|
74
|
+
- [X] GET /1/appliances
|
|
75
|
+
- [ ] POST /1/appliances
|
|
76
|
+
- [ ] POST /1/appliance_orders
|
|
77
|
+
- [ ] POST /1/appliances/{appliance}/delete
|
|
78
|
+
- [ ] POST /1/appliances/{appliance}
|
|
79
|
+
- [X] POST /1/appliances/{appliance}/aircon_settings
|
|
80
|
+
- [X] GET /1/appliances/{appliance}/signals
|
|
81
|
+
- [ ] POST /1/appliances/{appliance}/signals
|
|
82
|
+
- [ ] POST /1/appliances/{appliance}/signal_orders
|
|
83
|
+
- [ ] POST /1/signals/{signal}
|
|
84
|
+
- [ ] POST /1/signals/{signal}/delete
|
|
85
|
+
- [X] POST /1/signals/{signal}/send
|
|
86
|
+
- [ ] POST /1/devices/{device}
|
|
87
|
+
- [ ] POST /1/devices/{device}/delete
|
|
88
|
+
- [ ] POST /1/devices/{device}/temperature_offset
|
|
89
|
+
- [ ] POST /1/devices/{device}/humidity_offset
|
|
90
|
+
|
|
91
|
+
|
|
68
92
|
## License
|
|
69
93
|
|
|
70
94
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/lib/nature_remo/cli.rb
CHANGED
data/lib/nature_remo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nature_remo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ichi-t
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-06-
|
|
11
|
+
date: 2018-06-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
139
139
|
version: '0'
|
|
140
140
|
requirements: []
|
|
141
141
|
rubyforge_project:
|
|
142
|
-
rubygems_version: 2.7.
|
|
142
|
+
rubygems_version: 2.7.6
|
|
143
143
|
signing_key:
|
|
144
144
|
specification_version: 4
|
|
145
145
|
summary: Nature Remo API client written by Ruby
|