balboa_worldwide_app 2.1.8 → 2.2.0
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/exe/bwa_mqtt_bridge +17 -7
- data/lib/bwa/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 15d4e21ca22aeaf718021a0b6e05cc7425c1940bca453f01a022f9b35203b5f3
|
|
4
|
+
data.tar.gz: 8ca0830a4c1ce17089163edc5ceccfcafcf1998aa1390c97084072e09ee44c8d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fde7af32ab786260325c190fcd3405e5ae8df641f470f88530de9c7243c268c3eb2188bd2ceb574c0ae9fd80007f706b9929a56318d4bcb0e5a4ec6f29a786a3
|
|
7
|
+
data.tar.gz: b9838132e082e36c1c16c527275f1e42b1511fdc1941a7be7327f7696a6050d22623b0cfb5181d5fd6d23f5fb0979cd6c7d6c470630d649819b177a6c915f57d
|
data/exe/bwa_mqtt_bridge
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
require "sd_notify"
|
|
5
5
|
require "set"
|
|
6
6
|
require "json"
|
|
7
|
-
require "mqtt/home_assistant"
|
|
7
|
+
require "mqtt/homie/home_assistant"
|
|
8
8
|
|
|
9
9
|
require "bwa/logger"
|
|
10
10
|
require "bwa/client"
|
|
@@ -153,14 +153,24 @@ class MQTTBridge
|
|
|
153
153
|
end
|
|
154
154
|
|
|
155
155
|
@homie.node("spa", "Hot Tub", @bwa.model) do |spa|
|
|
156
|
-
spa.property("command",
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
156
|
+
command = spa.property("command",
|
|
157
|
+
"Send a command to the tub",
|
|
158
|
+
:enum,
|
|
159
|
+
format: %w[normal_operation clear_notification soak],
|
|
160
|
+
retained: false,
|
|
161
|
+
non_standard_value_check: allow_toggles) do |value|
|
|
162
162
|
@bwa.toggle_item(value.to_sym)
|
|
163
163
|
end
|
|
164
|
+
command.hass_button(name: "Clear Notification",
|
|
165
|
+
object_id: "clear_notification",
|
|
166
|
+
payload_press: "clear_notification")
|
|
167
|
+
command.hass_button(name: "Normal Operation",
|
|
168
|
+
object_id: "normal_operation",
|
|
169
|
+
payload_press: "normal_operation")
|
|
170
|
+
command.hass_button(name: "Soak",
|
|
171
|
+
object_id: "soak",
|
|
172
|
+
payload_press: "soak")
|
|
173
|
+
|
|
164
174
|
spa.property("hold",
|
|
165
175
|
"Hold",
|
|
166
176
|
:boolean,
|
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.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cody Cutrer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-01-
|
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ccutrer-serialport
|
|
@@ -39,25 +39,25 @@ dependencies:
|
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0.4'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: mqtt-homeassistant
|
|
42
|
+
name: mqtt-homie-homeassistant
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0
|
|
47
|
+
version: '1.0'
|
|
48
48
|
- - ">="
|
|
49
49
|
- !ruby/object:Gem::Version
|
|
50
|
-
version: 0.
|
|
50
|
+
version: 1.0.4
|
|
51
51
|
type: :runtime
|
|
52
52
|
prerelease: false
|
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
|
54
54
|
requirements:
|
|
55
55
|
- - "~>"
|
|
56
56
|
- !ruby/object:Gem::Version
|
|
57
|
-
version: '0
|
|
57
|
+
version: '1.0'
|
|
58
58
|
- - ">="
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: 0.
|
|
60
|
+
version: 1.0.4
|
|
61
61
|
- !ruby/object:Gem::Dependency
|
|
62
62
|
name: net-telnet-rfc2217
|
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|