waterfurnace_aurora 1.1.0 → 1.2.0

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: b8a3d1e80a8e07d73e5efe83005545f360db3475614333fc434885b3e9143092
4
- data.tar.gz: 97ea735ee8991898734b87f810d273bb8fc2000b011f569e9908f4ebcad4d1fc
3
+ metadata.gz: d9f0f7d0f0c846720df96f8889d1d5952ece7e0dbabea3431484f4efbff06f5a
4
+ data.tar.gz: e82bc4400c9543322debe51a21da1dea54d07a673f7302e5ec2a2910e8229714
5
5
  SHA512:
6
- metadata.gz: 3aea05123fca4194e108b32adde87724547f63e1ef1b9f0a91d4f22856d59b5021f08a998fe3d9956e20f3e745d662001d0beb43d86de69cdd36decb6f5c1af4
7
- data.tar.gz: 762f87c0790263751934b592b17252b822276bef351141b49da72d42b953eb6eb3fe553037c71117f8d39e0318bf83b70af4b838905d1e80195860439f117bb9
6
+ metadata.gz: eddd8d24b22c6a1c1c64c8fdd29f79c00c76145252b5ddbcd08cf2c7edd0f03182439cb9cf511041bc1a789823b421eefcb3ac90d3f5c72e6fcb54fdf88dc60d
7
+ data.tar.gz: 76b06de5f2ff979a0c4eaaf05998d4856aa01f491f80fc224870920319d9abda0c89c800a221d532f3c2ccb850c01217570d3f72b447af221186da18ed81fa84
@@ -232,18 +232,10 @@ class MQTTBridge
232
232
  unit: "V") do |value|
233
233
  @mutex.synchronize { @abc.line_voltage = value }
234
234
  end
235
- node.property("fp1",
236
- "FP1 Sensor",
235
+ node.property("air-coil-temperature",
236
+ "Air Coil Temperature (FP2)",
237
237
  :float,
238
- @abc.fp1,
239
- unit: "°F",
240
- hass: { sensor: { device_class: :temperature,
241
- state_class: :measurement,
242
- entity_category: :diagnostic } })
243
- node.property("fp2",
244
- "FP2 Sensor",
245
- :float,
246
- @abc.fp2,
238
+ @abc.air_coil_temperature,
247
239
  unit: "°F",
248
240
  hass: { sensor: { device_class: :temperature,
249
241
  state_class: :measurement,
@@ -266,6 +258,14 @@ class MQTTBridge
266
258
  @abc.compressor.speed,
267
259
  format: @abc.compressor.speed_range,
268
260
  hass: { sensor: { state_class: :measurement } })
261
+ node.property("cooling-liquid-line-temperature",
262
+ "Cooling Liquid Line Temperature (FP1)",
263
+ :float,
264
+ @abc.compressor.cooling_liquid_line_temperature,
265
+ unit: "°F",
266
+ hass: { sensor: { device_class: :temperature,
267
+ state_class: :measurement,
268
+ entity_category: :diagnostic } })
269
269
  node.property("saturated-condensor-discharge-temperature",
270
270
  "Saturated Condensor Discharge Temperature",
271
271
  :float,
@@ -139,8 +139,7 @@ module Aurora
139
139
  :leaving_water_temperature,
140
140
  :entering_water_temperature,
141
141
  :outdoor_temperature,
142
- :fp1,
143
- :fp2,
142
+ :air_coil_temperature,
144
143
  :line_voltage,
145
144
  :watts
146
145
 
@@ -231,8 +230,7 @@ module Aurora
231
230
  @leaving_water_temperature = registers[1110]
232
231
  @entering_water_temperature = registers[1111]
233
232
  @outdoor_temperature = registers[31_003]
234
- @fp1 = registers[19]
235
- @fp2 = registers[20]
233
+ @air_coil_temperature = registers[20]
236
234
  @locked_out = !(registers[25] & 0x8000).zero?
237
235
  @current_fault = registers[25] & 0x7fff
238
236
  @derated = (41..46).cover?(@current_fault)
@@ -5,7 +5,7 @@ require "aurora/component"
5
5
  module Aurora
6
6
  module Compressor
7
7
  class GenericCompressor < Component
8
- attr_reader :speed, :watts, :saturated_condensor_discharge_temperature
8
+ attr_reader :speed, :watts, :cooling_liquid_line_temperature, :saturated_condensor_discharge_temperature
9
9
 
10
10
  def initialize(abc, stages)
11
11
  super(abc)
@@ -21,7 +21,7 @@ module Aurora
21
21
  end
22
22
 
23
23
  def registers_to_read
24
- result = [1134]
24
+ result = [19, 1134]
25
25
  result << (1146..1147) if abc.energy_monitoring?
26
26
  result
27
27
  end
@@ -35,6 +35,7 @@ module Aurora
35
35
  else
36
36
  0
37
37
  end
38
+ @cooling_liquid_line_temperature = registers[19]
38
39
  @saturated_condensor_discharge_temperature = registers[1134]
39
40
  @watts = registers[1146] if abc.energy_monitoring?
40
41
  end
@@ -709,8 +709,8 @@ module Aurora
709
709
  17 => "Aux/E Heat Stage", # this is how long aux/eheat have been requested in seconds
710
710
  # when in eheat mode (explicit on the thermostat), it will stage up to eh2 after 130s
711
711
  # when in aux mode (thermostat set to heat; compressor at full capacity), it will stage up to eh2 after 310s
712
- 19 => "FP1 (Cooling Liquid Line) Temperature",
713
- 20 => "FP2",
712
+ 19 => "Cooling Liquid Line Temperature (FP1)",
713
+ 20 => "Air Coil Temperature (FP2)",
714
714
  21 => "Condensate", # >= 270 normal, otherwise fault
715
715
  25 => "Last Fault Number", # high bit set if locked out
716
716
  26 => "Last Lockout",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Aurora
4
- VERSION = "1.1.0"
4
+ VERSION = "1.2.0"
5
5
  end
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.1.0
4
+ version: 1.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: 2022-01-31 00:00:00.000000000 Z
11
+ date: 2022-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ccutrer-serialport