waterfurnace_aurora 1.4.9 → 1.4.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/aurora_mqtt_bridge +1 -1
- data/exe/web_aid_tool +1 -1
- data/lib/aurora/abc_client.rb +1 -1
- data/lib/aurora/registers.rb +1 -1
- data/lib/aurora/version.rb +1 -1
- data/lib/aurora/web_aid_tool.rb +2 -1
- metadata +41 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c4bed015e5efbf7e4ec8dddafc69b15e0134c2b0889f0c50855cf7c1dfbfa38
|
4
|
+
data.tar.gz: fd869a81144c60fcd019e20117854324b2ca06b66b325dc5991dc9b8d9731277
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e45fe5fa6161a9356a179b1da06db3f16eff1494d16871ff325c144f26dee80ea8d15c65bc9a5b9a8a16596c4e4ef41f4c18827797402010d27ea66749b8e81
|
7
|
+
data.tar.gz: d9a5b40f3b33b43900f09e34cd90cbc8b2a20f2a919746060284adc001e21cb92c7faa334077ee49c2e62564656a6c68072c8a56d04bc57f471506a3591c6b4a
|
data/exe/aurora_mqtt_bridge
CHANGED
data/exe/web_aid_tool
CHANGED
@@ -12,7 +12,7 @@ port = 4567
|
|
12
12
|
options = OptionParser.new do |opts|
|
13
13
|
opts.banner = "Usage: web_aid_tool /path/to/serial/port [options]"
|
14
14
|
|
15
|
-
opts.on("--port PORT", "Which port to listen on (default 4567)",
|
15
|
+
opts.on("--port PORT", "Which port to listen on (default 4567)", Integer) { |v| port = v }
|
16
16
|
opts.on("--debug-modbus", "Print actual protocol bytes") { debug_modbus = true }
|
17
17
|
opts.on("--monitor", "Print interpreted registers as they are requested, like aurora_monitor") { monitor = true }
|
18
18
|
opts.on("--ignore-missing-registers",
|
data/lib/aurora/abc_client.rb
CHANGED
@@ -236,7 +236,7 @@ module Aurora
|
|
236
236
|
end
|
237
237
|
@outdoor_temperature = registers[31_003]
|
238
238
|
@air_coil_temperature = registers[20]
|
239
|
-
@locked_out = !
|
239
|
+
@locked_out = !registers[25].nobits?(0x8000)
|
240
240
|
@current_fault = registers[25] & 0x7fff
|
241
241
|
@derated = (41..46).cover?(@current_fault)
|
242
242
|
@safe_mode = [47, 48, 49, 72, 74].include?(@current_fault)
|
data/lib/aurora/registers.rb
CHANGED
@@ -479,7 +479,7 @@ module Aurora
|
|
479
479
|
def zone_configuration3(value)
|
480
480
|
size = (value >> 3) & 0x3
|
481
481
|
result = {
|
482
|
-
zone_priority: (
|
482
|
+
zone_priority: value.allbits?(0x20) ? :economy : :comfort,
|
483
483
|
zone_size: ZONE_SIZES[size],
|
484
484
|
normalized_size: value >> 8
|
485
485
|
}
|
data/lib/aurora/version.rb
CHANGED
data/lib/aurora/web_aid_tool.rb
CHANGED
@@ -16,6 +16,7 @@ module Aurora
|
|
16
16
|
|
17
17
|
set :public_folder, "html"
|
18
18
|
set :logging, false
|
19
|
+
set :server, "puma"
|
19
20
|
|
20
21
|
get "/" do
|
21
22
|
send_file "html/index.htm"
|
@@ -42,7 +43,7 @@ module Aurora
|
|
42
43
|
end
|
43
44
|
|
44
45
|
get "/request.cgi" do
|
45
|
-
params =
|
46
|
+
params = URI.decode_www_form(request.query_string).to_h
|
46
47
|
result = params.slice("cmd", "id", "set", "addr")
|
47
48
|
result["err"] = nil
|
48
49
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waterfurnace_aurora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Cutrer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ccutrer-serialport
|
@@ -65,21 +65,41 @@ dependencies:
|
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 1.0.1
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
|
-
name:
|
68
|
+
name: puma
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
73
|
+
version: '6.4'
|
74
74
|
type: :runtime
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
80
|
+
version: '6.4'
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
82
|
+
name: rackup
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 1.0.0
|
88
|
+
- - "<"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 3.0.a
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 1.0.0
|
98
|
+
- - "<"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 3.0.a
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: rmodbus
|
83
103
|
requirement: !ruby/object:Gem::Requirement
|
84
104
|
requirements:
|
85
105
|
- - "~>"
|
@@ -93,20 +113,26 @@ dependencies:
|
|
93
113
|
- !ruby/object:Gem::Version
|
94
114
|
version: '2.1'
|
95
115
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
116
|
+
name: sinatra
|
97
117
|
requirement: !ruby/object:Gem::Requirement
|
98
118
|
requirements:
|
99
|
-
- - "
|
119
|
+
- - ">="
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: 2.2.4
|
122
|
+
- - "<"
|
100
123
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
124
|
+
version: 5.0.a
|
102
125
|
type: :runtime
|
103
126
|
prerelease: false
|
104
127
|
version_requirements: !ruby/object:Gem::Requirement
|
105
128
|
requirements:
|
106
|
-
- - "
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.2.4
|
132
|
+
- - "<"
|
107
133
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
109
|
-
description:
|
134
|
+
version: 5.0.a
|
135
|
+
description:
|
110
136
|
email: cody@cutrer.us'
|
111
137
|
executables:
|
112
138
|
- aurora_fetch
|
@@ -147,7 +173,7 @@ licenses:
|
|
147
173
|
- MIT
|
148
174
|
metadata:
|
149
175
|
rubygems_mfa_required: 'true'
|
150
|
-
post_install_message:
|
176
|
+
post_install_message:
|
151
177
|
rdoc_options: []
|
152
178
|
require_paths:
|
153
179
|
- lib
|
@@ -163,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
189
|
version: '0'
|
164
190
|
requirements: []
|
165
191
|
rubygems_version: 3.5.11
|
166
|
-
signing_key:
|
192
|
+
signing_key:
|
167
193
|
specification_version: 4
|
168
194
|
summary: Library for communication with WaterFurnace Aurora control systems
|
169
195
|
test_files: []
|