balboa_worldwide_app 2.1.1 → 2.1.2

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: 34269811a73d4aeca5f876a55bf71bc1f746f902b0a6dcba3cc16be77c0165e7
4
- data.tar.gz: b07b0bc9e215cf9826b7596b1455a5c3f67a39fbc7ed664edef89899ef905abc
3
+ metadata.gz: a9b3fdfbe671f421950413e8d6d2372b4b2c1c5f2c0cf547bdb1cf581d9e2692
4
+ data.tar.gz: 0eac860bd7b7e7deec183ca7570faaff4bc7c5c604c69f71cc88851fb15e8c2c
5
5
  SHA512:
6
- metadata.gz: 6de18fffd922c20a5e0f5d4eb44306055e21652e7b0dc3fc01e1c7b03cc09b96d7e6daa2643c17204da8c950eac2736cd57293e298eabd6ca2fae708e91488b5
7
- data.tar.gz: e2efa4b162ca612ca1f9044ce9e539055f0e1cf63bcd5c5d4bd691d182d5853948be09f8da4f061bbb493491a271a5354846fa1a4bbe2dd4612e68f7f806ec48
6
+ metadata.gz: f149d04ea30080c44d68b672fbda301056a4591992558cac9f459227825fc4faa86528011d06bb39acab5e0bd55d17b66f29cb9bf8c1b02a611f03b5d22a3943
7
+ data.tar.gz: c2bb4668491f0a67ec6021001f960051565dfa7b45b9a540903e4ae7707b91891fb5bfc2f3a6f69d2d004310647956f1da0f3aed90e773468b145c40a8369dae
data/exe/bwa_mqtt_bridge CHANGED
@@ -156,7 +156,7 @@ class MQTTBridge
156
156
  spa.property("command",
157
157
  "Send a command to the tub",
158
158
  :enum,
159
- format: %w[normal_operation clear_notification],
159
+ format: %w[normal_operation clear_notification soak],
160
160
  retained: false,
161
161
  non_standard_value_check: allow_toggles) do |value|
162
162
  @bwa.toggle_item(value.to_sym)
data/lib/bwa/client.rb CHANGED
@@ -168,6 +168,12 @@ module BWA
168
168
 
169
169
  desired = 0 if desired == false
170
170
  max_pump_speed = configuration.pumps[index]
171
+
172
+ # turn all pumps off with a single command
173
+ if desired == 0 && configuration.pumps.length == 1 && max_pump_speed != 1
174
+ return toggle_item(:soak)
175
+ end
176
+
171
177
  desired = max_pump_speed if desired == true
172
178
  desired = [desired, max_pump_speed].min
173
179
  current_pump_speed = [status.pumps[index], max_pump_speed].min
@@ -20,6 +20,7 @@ module BWA
20
20
  light2: 0x12,
21
21
  aux1: 0x16,
22
22
  aux2: 0x17,
23
+ soak: 0x1d,
23
24
  hold: 0x3c,
24
25
  temperature_range: 0x50,
25
26
  heating_mode: 0x51
data/lib/bwa/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BWA
4
- VERSION = "2.1.1"
4
+ VERSION = "2.1.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: balboa_worldwide_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ccutrer-serialport
@@ -160,9 +160,9 @@ description:
160
160
  email: cody@cutrer.com'
161
161
  executables:
162
162
  - bwa_client
163
- - bwa_server
164
- - bwa_proxy
165
163
  - bwa_mqtt_bridge
164
+ - bwa_proxy
165
+ - bwa_server
166
166
  extensions: []
167
167
  extra_rdoc_files: []
168
168
  files:
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  - !ruby/object:Gem::Version
214
214
  version: '0'
215
215
  requirements: []
216
- rubygems_version: 3.1.2
216
+ rubygems_version: 3.3.5
217
217
  signing_key:
218
218
  specification_version: 4
219
219
  summary: Library for communication with Balboa Water Group's WiFi module or RS-485