waterfurnace_aurora 1.2.3 → 1.3.0
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 +22 -2
- data/lib/aurora/compressor.rb +16 -4
- data/lib/aurora/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b47f532c4646441ceefb753b5de6bd9b18e335d25c4e48219509f778e7ddebb7
|
4
|
+
data.tar.gz: 11988da61f95ac76957ca31e829ca521635431871b7c0f1bf800c78a66118362
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6c42b8fd67cb1440a7253cd5454d74702d84430ced9a005b6c7a8424be979da57718e08a8e2a9e92dbba8c8b14ab705eb9442676e01e6f428d00d16a5d0493c
|
7
|
+
data.tar.gz: b0c40faa87893b6a2d2468d7c0ad3573fe11412ee715be9a89367c084ac21907db5c72eb546a4727d9c8fa163bf714d8f19b3f42040684a34f66116c82c3916a
|
data/exe/aurora_mqtt_bridge
CHANGED
@@ -282,6 +282,19 @@ class MQTTBridge
|
|
282
282
|
unit: "W",
|
283
283
|
hass: { sensor: { device_class: :power,
|
284
284
|
state_class: :measurement } })
|
285
|
+
node.property("heat-of-extraction",
|
286
|
+
"Heat of Extraction",
|
287
|
+
:integer,
|
288
|
+
@abc.compressor.heat_of_extraction,
|
289
|
+
unit: "Btuh",
|
290
|
+
hass: { sensor: { state_class: :measurement } })
|
291
|
+
node.property("heat-of-rejection",
|
292
|
+
"Heat of Rejection",
|
293
|
+
:integer,
|
294
|
+
@abc.compressor.heat_of_rejection,
|
295
|
+
unit: "Btuh",
|
296
|
+
hass: { sensor: { state_class: :measurement } })
|
297
|
+
|
285
298
|
end
|
286
299
|
|
287
300
|
next unless @abc.compressor.is_a?(Aurora::Compressor::VSDrive)
|
@@ -372,6 +385,14 @@ class MQTTBridge
|
|
372
385
|
hass: { sensor: { device_class: :temperature,
|
373
386
|
state_class: :measurement,
|
374
387
|
entity_category: :diagnostic } })
|
388
|
+
node.property("subcool-temperature",
|
389
|
+
"SubCool Temperature",
|
390
|
+
:float,
|
391
|
+
@abc.compressor.subcool_temperature,
|
392
|
+
unit: "°F",
|
393
|
+
hass: { sensor: { device_class: :temperature,
|
394
|
+
state_class: :measurement,
|
395
|
+
entity_category: :diagnostic } })
|
375
396
|
node.property("eev-open-percentage",
|
376
397
|
"Electronic Expansion Valve Open Percentage",
|
377
398
|
:integer,
|
@@ -437,8 +458,7 @@ class MQTTBridge
|
|
437
458
|
|
438
459
|
next unless @abc.blower.is_a?(Aurora::Blower::ECM)
|
439
460
|
|
440
|
-
presets = %w[blower-only aux-heat]
|
441
|
-
presets.concat %w[low-compressor high-compressor] unless @abc.iz2?
|
461
|
+
presets = %w[blower-only aux-heat low-compressor high-compressor]
|
442
462
|
presets.each do |setting|
|
443
463
|
field = "#{setting.tr("-", "_")}_speed"
|
444
464
|
node.property("#{setting}-speed",
|
data/lib/aurora/compressor.rb
CHANGED
@@ -5,7 +5,12 @@ require "aurora/component"
|
|
5
5
|
module Aurora
|
6
6
|
module Compressor
|
7
7
|
class GenericCompressor < Component
|
8
|
-
attr_reader :speed,
|
8
|
+
attr_reader :speed,
|
9
|
+
:watts,
|
10
|
+
:cooling_liquid_line_temperature,
|
11
|
+
:saturated_condensor_discharge_temperature,
|
12
|
+
:heat_of_extraction,
|
13
|
+
:heat_of_rejection
|
9
14
|
|
10
15
|
def initialize(abc, stages)
|
11
16
|
super(abc)
|
@@ -22,7 +27,7 @@ module Aurora
|
|
22
27
|
|
23
28
|
def registers_to_read
|
24
29
|
result = [19, 1134]
|
25
|
-
result
|
30
|
+
result.concat([1146..1147, 1154..1157]) if abc.energy_monitoring?
|
26
31
|
result
|
27
32
|
end
|
28
33
|
|
@@ -37,7 +42,12 @@ module Aurora
|
|
37
42
|
end
|
38
43
|
@cooling_liquid_line_temperature = registers[19]
|
39
44
|
@saturated_condensor_discharge_temperature = registers[1134]
|
40
|
-
|
45
|
+
|
46
|
+
return unless abc.energy_monitoring?
|
47
|
+
|
48
|
+
@watts = registers[1146]
|
49
|
+
@heat_of_extraction = registers[1154]
|
50
|
+
@heat_of_rejection = registers[1156]
|
41
51
|
end
|
42
52
|
end
|
43
53
|
|
@@ -54,6 +64,7 @@ module Aurora
|
|
54
64
|
:suction_temperature,
|
55
65
|
:saturated_evaporator_discharge_temperature,
|
56
66
|
:superheat_temperature,
|
67
|
+
:subcool_temperature,
|
57
68
|
:eev_open_percentage
|
58
69
|
|
59
70
|
def initialize(abc)
|
@@ -65,7 +76,7 @@ module Aurora
|
|
65
76
|
end
|
66
77
|
|
67
78
|
def registers_to_read
|
68
|
-
result = super + [209, 3000..3001, 3322..3327, 3522, 3524, 3808, 3903..3906]
|
79
|
+
result = super + [209, 1135..1136, 3000..3001, 3322..3327, 3522, 3524, 3808, 3903..3906]
|
69
80
|
result << 564 if abc.iz2?
|
70
81
|
result
|
71
82
|
end
|
@@ -86,6 +97,7 @@ module Aurora
|
|
86
97
|
@suction_temperature = registers[3903]
|
87
98
|
@saturated_evaporator_discharge_temperature = registers[3905]
|
88
99
|
@superheat_temperature = registers[3906]
|
100
|
+
@subcool_temperature = registers[registers[30].include?(:rv) ? 1136 : 1135]
|
89
101
|
|
90
102
|
@iz2_desired_speed = registers[564] if abc.iz2?
|
91
103
|
end
|
data/lib/aurora/version.rb
CHANGED
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
|
+
version: 1.3.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-02-
|
11
|
+
date: 2022-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ccutrer-serialport
|