waterfurnace_aurora 1.4.11 → 1.4.12

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: 53077daf9bf7047148ddb43fff7058c3a2e93d52673293fadc9b0a51bcd5bf06
4
- data.tar.gz: 789a953ebc457a4d607a6e67916703ecf9fd48b8394953026544c95b85ad3ce6
3
+ metadata.gz: 7c4bed015e5efbf7e4ec8dddafc69b15e0134c2b0889f0c50855cf7c1dfbfa38
4
+ data.tar.gz: fd869a81144c60fcd019e20117854324b2ca06b66b325dc5991dc9b8d9731277
5
5
  SHA512:
6
- metadata.gz: aae7893a9da0786214b045fc5e8182590abac939461cc1df6c717bd4bbdf4391bf020a37a1d5e291f541f4d8f23d2a091d351d18f840edb4d091a210b6f33628
7
- data.tar.gz: 5166996c59c556c961100347217afe9b2b29a38a27b3e109cf9b9f9399128a0c83c680a53e39e363861a93a0c0cf311c227af6a23ee814c7fdc84b310f6e1a22
6
+ metadata.gz: 0e45fe5fa6161a9356a179b1da06db3f16eff1494d16871ff325c144f26dee80ea8d15c65bc9a5b9a8a16596c4e4ef41f4c18827797402010d27ea66749b8e81
7
+ data.tar.gz: d9a5b40f3b33b43900f09e34cd90cbc8b2a20f2a919746060284adc001e21cb92c7faa334077ee49c2e62564656a6c68072c8a56d04bc57f471506a3591c6b4a
@@ -151,7 +151,7 @@ class MQTTBridge
151
151
  :enum,
152
152
  @abc.current_mode,
153
153
  format: allowed_modes,
154
- hass: { sensor: { state_class: :measurement } })
154
+ hass: :sensor)
155
155
  node.property("emergency-shutdown",
156
156
  "Emergency Shutdown Requested",
157
157
  :boolean,
@@ -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 = !(registers[25] & 0x8000).zero?
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)
@@ -479,7 +479,7 @@ module Aurora
479
479
  def zone_configuration3(value)
480
480
  size = (value >> 3) & 0x3
481
481
  result = {
482
- zone_priority: ((value & 0x20) == 0x20) ? :economy : :comfort,
482
+ zone_priority: value.allbits?(0x20) ? :economy : :comfort,
483
483
  zone_size: ZONE_SIZES[size],
484
484
  normalized_size: value >> 8
485
485
  }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Aurora
4
- VERSION = "1.4.11"
4
+ VERSION = "1.4.12"
5
5
  end
@@ -43,7 +43,7 @@ module Aurora
43
43
  end
44
44
 
45
45
  get "/request.cgi" do
46
- params = parse_query_string(request.query_string)
46
+ params = URI.decode_www_form(request.query_string).to_h
47
47
  result = params.slice("cmd", "id", "set", "addr")
48
48
  result["err"] = nil
49
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.11
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-10-07 00:00:00.000000000 Z
11
+ date: 2024-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ccutrer-serialport
@@ -132,7 +132,7 @@ dependencies:
132
132
  - - "<"
133
133
  - !ruby/object:Gem::Version
134
134
  version: 5.0.a
135
- description:
135
+ description:
136
136
  email: cody@cutrer.us'
137
137
  executables:
138
138
  - aurora_fetch
@@ -173,7 +173,7 @@ licenses:
173
173
  - MIT
174
174
  metadata:
175
175
  rubygems_mfa_required: 'true'
176
- post_install_message:
176
+ post_install_message:
177
177
  rdoc_options: []
178
178
  require_paths:
179
179
  - lib
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
189
  version: '0'
190
190
  requirements: []
191
191
  rubygems_version: 3.5.11
192
- signing_key:
192
+ signing_key:
193
193
  specification_version: 4
194
194
  summary: Library for communication with WaterFurnace Aurora control systems
195
195
  test_files: []