waterfurnace_aurora 1.1.0 → 1.2.3

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: db7465bb9821e07a0c33d5c63cb51318254f5cc9d2c384a99d9a4d95eab2b452
4
+ data.tar.gz: 665eab16352134408779673b364abd1f36039619f7e4b34b8e6de1240c904d62
5
5
  SHA512:
6
- metadata.gz: 3aea05123fca4194e108b32adde87724547f63e1ef1b9f0a91d4f22856d59b5021f08a998fe3d9956e20f3e745d662001d0beb43d86de69cdd36decb6f5c1af4
7
- data.tar.gz: 762f87c0790263751934b592b17252b822276bef351141b49da72d42b953eb6eb3fe553037c71117f8d39e0318bf83b70af4b838905d1e80195860439f117bb9
6
+ metadata.gz: c369b3c79e7bbb7d77f0f0683029530c66c9d92fc03b059800e48d521ab92201cbae113681d5b3eac2f5cd31fb325d4c7eb64b672eaf743dfc12caab04d73466
7
+ data.tar.gz: 299bf75e7e0ae9cef453d2be3654d5a1983f2a4f7ac6ec3762b35b386f7bf60fb3bad3826b0ee91eeffb0f6f7acba8ec3f2e64ed49038e3306bc5fca75e6cc64
@@ -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,
@@ -286,6 +286,12 @@ class MQTTBridge
286
286
 
287
287
  next unless @abc.compressor.is_a?(Aurora::Compressor::VSDrive)
288
288
 
289
+ node.property("desired-speed",
290
+ "Desired Speed",
291
+ :integer,
292
+ @abc.compressor.desired_speed,
293
+ format: @abc.compressor.speed_range,
294
+ hass: { sensor: { state_class: :measurement } })
289
295
  node.property("ambient-temperature",
290
296
  "Ambient Temperature",
291
297
  :float,
@@ -366,10 +372,10 @@ class MQTTBridge
366
372
  hass: { sensor: { device_class: :temperature,
367
373
  state_class: :measurement,
368
374
  entity_category: :diagnostic } })
369
- node.property("superheat-percentage",
370
- "SuperHeat Percentage",
375
+ node.property("eev-open-percentage",
376
+ "Electronic Expansion Valve Open Percentage",
371
377
  :integer,
372
- @abc.compressor.superheat_percentage,
378
+ @abc.compressor.eev_open_percentage,
373
379
  unit: "%",
374
380
  format: 0..100,
375
381
  hass: { sensor: { state_class: :measurement,
@@ -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
@@ -44,6 +45,7 @@ module Aurora
44
45
  attr_reader :drive_temperature,
45
46
  :inverter_temperature,
46
47
  :ambient_temperature,
48
+ :desired_speed,
47
49
  :iz2_desired_speed,
48
50
  :fan_speed,
49
51
  :discharge_pressure,
@@ -52,7 +54,7 @@ module Aurora
52
54
  :suction_temperature,
53
55
  :saturated_evaporator_discharge_temperature,
54
56
  :superheat_temperature,
55
- :superheat_percentage
57
+ :eev_open_percentage
56
58
 
57
59
  def initialize(abc)
58
60
  super(abc, 12)
@@ -63,7 +65,7 @@ module Aurora
63
65
  end
64
66
 
65
67
  def registers_to_read
66
- result = super + [209, 3001, 3322..3327, 3522, 3524, 3808, 3903..3906]
68
+ result = super + [209, 3000..3001, 3322..3327, 3522, 3524, 3808, 3903..3906]
67
69
  result << 564 if abc.iz2?
68
70
  result
69
71
  end
@@ -71,6 +73,7 @@ module Aurora
71
73
  def refresh(registers)
72
74
  super
73
75
 
76
+ @desired_speed = registers[3000]
74
77
  @speed = registers[3001]
75
78
  @discharge_pressure = registers[3322]
76
79
  @suction_pressure = registers[3323]
@@ -79,7 +82,7 @@ module Aurora
79
82
  @drive_temperature = registers[3327]
80
83
  @inverter_temperature = registers[3522]
81
84
  @fan_speed = registers[3524]
82
- @superheat_percentage = registers[3808]
85
+ @eev_open_percentage = registers[3808]
83
86
  @suction_temperature = registers[3903]
84
87
  @saturated_evaporator_discharge_temperature = registers[3905]
85
88
  @superheat_temperature = registers[3906]
@@ -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",
@@ -859,7 +859,11 @@ module Aurora
859
859
  1154 => "Heat of Extraction",
860
860
  1156 => "Heat of Rejection",
861
861
  1164 => "Pump Watts",
862
+ # this combines thermostat/iz2 desired speed with manual operation override
862
863
  3000 => "Compressor Speed Desired",
864
+ # this shows the actual speed
865
+ # it can differ from desired during a ramp to the desired speed, or
866
+ # the periodic ramp up to speed 6 that's not visible in the desired speed
863
867
  3001 => "Compressor Speed Actual",
864
868
  3002 => "Manual Operation",
865
869
  3027 => "Compressor Speed",
@@ -885,7 +889,7 @@ module Aurora
885
889
  3523 => "VS Drive UDC Voltage",
886
890
  3524 => "VS Drive Fan Speed",
887
891
  3804 => "VS Drive Details (EEV2 Ctl)",
888
- 3808 => "VS Drive SuperHeat Percent",
892
+ 3808 => "VS Drive EEV2 % Open",
889
893
  3903 => "VS Drive Suction Temperature",
890
894
  3904 => "VS Drive Leaving Air Temperature?",
891
895
  3905 => "VS Drive Saturated Evaporator Discharge Temperature",
@@ -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.3"
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.3
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-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ccutrer-serialport