waterfurnace_aurora 0.3.12 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/aurora_fetch +4 -22
- data/exe/aurora_mock +16 -16
- data/exe/aurora_monitor +25 -18
- data/exe/aurora_mqtt_bridge +73 -30
- data/exe/web_aid_tool +10 -53
- data/lib/aurora/abc_client.rb +151 -26
- data/lib/aurora/blower.rb +99 -0
- data/lib/aurora/component.rb +17 -0
- data/lib/aurora/mock_abc.rb +48 -0
- data/lib/aurora/registers.rb +342 -119
- data/lib/aurora/thermostat.rb +3 -5
- data/lib/aurora/version.rb +1 -1
- data/lib/aurora.rb +1 -2
- metadata +5 -2
data/lib/aurora/thermostat.rb
CHANGED
@@ -1,17 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "aurora/component"
|
4
|
+
|
3
5
|
module Aurora
|
4
|
-
class Thermostat
|
6
|
+
class Thermostat < Component
|
5
7
|
attr_reader :target_mode,
|
6
8
|
:target_fan_mode,
|
7
9
|
:ambient_temperature,
|
8
10
|
:cooling_target_temperature,
|
9
11
|
:heating_target_temperature
|
10
12
|
|
11
|
-
def initialize(abc)
|
12
|
-
@abc = abc
|
13
|
-
end
|
14
|
-
|
15
13
|
def refresh(registers)
|
16
14
|
@ambient_temperature = registers[502]
|
17
15
|
@heating_target_temperature = registers[746]
|
data/lib/aurora/version.rb
CHANGED
data/lib/aurora.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: 0.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Cutrer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ccutrer-serialport
|
@@ -134,8 +134,11 @@ files:
|
|
134
134
|
- exe/web_aid_tool
|
135
135
|
- lib/aurora.rb
|
136
136
|
- lib/aurora/abc_client.rb
|
137
|
+
- lib/aurora/blower.rb
|
138
|
+
- lib/aurora/component.rb
|
137
139
|
- lib/aurora/core_ext/string.rb
|
138
140
|
- lib/aurora/iz2_zone.rb
|
141
|
+
- lib/aurora/mock_abc.rb
|
139
142
|
- lib/aurora/modbus/server.rb
|
140
143
|
- lib/aurora/modbus/slave.rb
|
141
144
|
- lib/aurora/registers.rb
|