nature_remo 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da4582aed4985cd7f6509c57b52e2bef203b3bdbb708bd016ae69ebbd5252f10
4
- data.tar.gz: e45b9c1295182becc2ac8550ef3d1d15d3e045d67d7a0f741ead15d524d7b691
3
+ metadata.gz: 694f4b3df41d47958681db2d465e4b72a21208ce8d38e047c037e302be6fd053
4
+ data.tar.gz: 88dc1b590ff2760458b6af375c03e0462e86c73a7efac8fa4b045ae8854abcd2
5
5
  SHA512:
6
- metadata.gz: 8d0dfd3a0576d17b93bc4e83f216ec1e079ebc9b7e08c04a11de8456751f312592564ed22d620d93fc17ce8c7e759796fd9b977421736067719529042a6f91fd
7
- data.tar.gz: 4d6b7fc692552c5ee6dfd59114d408b75018d981655c796bd9df23280f561061aad6fec3e6b7fe6db092295ee617c3718dc6557bc5bb56e3b623f54d60f9d730
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 TEMP # Control Air conditioner
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 [mode] [temperture] [options]
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).
@@ -37,7 +37,7 @@ module NatureRemo
37
37
  end
38
38
  end
39
39
 
40
- desc 'aircon MODE TEMP', 'Control Air conditioner'
40
+ desc 'aircon TEMP MODE', 'Control Air conditioner'
41
41
  def aircon mode = nil, temp = nil, volume = nil
42
42
  aircon_id = []
43
43
  appliances_body.each_with_index do |a, i|
@@ -1,3 +1,3 @@
1
1
  module NatureRemo
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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-21 00:00:00.000000000 Z
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.3
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