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 +4 -4
- data/exe/bwa_mqtt_bridge +1 -1
- data/lib/bwa/client.rb +6 -0
- data/lib/bwa/messages/toggle_item.rb +1 -0
- data/lib/bwa/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9b3fdfbe671f421950413e8d6d2372b4b2c1c5f2c0cf547bdb1cf581d9e2692
|
4
|
+
data.tar.gz: 0eac860bd7b7e7deec183ca7570faaff4bc7c5c604c69f71cc88851fb15e8c2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/bwa/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|