waterfurnace_aurora 1.4.1 → 1.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_mqtt_bridge +3 -1
- 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: 2d5bee0f2cffba19731706869b56caf63404b81a1b570de2371123edcc4ca086
|
4
|
+
data.tar.gz: fdfaa768ff29702215564e8fca08b9c709a8e513ca05fbc10af149e80100497d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13486b5db0bb4bae2c6370a50b41d165b396d7b15b146ed2c97ab340003f2ef661a707508a3846017943e5a86627da7a3843a696f4811a231e3a342105ef94df
|
7
|
+
data.tar.gz: 85f1d9697f5b787226181348aea84bb2735c6e3568e69374ad3768c0c246386ac4229c6f8cdb7a14685808e4dffe07932dfd24d5664be4e8b4885f1f5a016aaa
|
data/exe/aurora_mqtt_bridge
CHANGED
@@ -12,10 +12,12 @@ require "aurora/core_ext/string"
|
|
12
12
|
|
13
13
|
debug_modbus = false
|
14
14
|
web_aid_tool = nil
|
15
|
+
device_name = "WaterFurnace"
|
15
16
|
|
16
17
|
options = OptionParser.new do |opts|
|
17
18
|
opts.banner = "Usage: aurora_mqtt_bridge /path/to/serial/port [options]"
|
18
19
|
|
20
|
+
opts.on("--device-name DEVIECENAME", "Give a descriptive name to your device") { |v| device_name = v }
|
19
21
|
opts.on("--debug-modbus", "Print actual protocol bytes") { debug_modbus = true }
|
20
22
|
opts.on("--web-aid-tool PORT", "Run web aid tool on given port", :integer) { |v| web_aid_tool = v }
|
21
23
|
opts.on("-v", "--version", "Print version") do
|
@@ -810,7 +812,7 @@ class MQTTBridge
|
|
810
812
|
end
|
811
813
|
|
812
814
|
device = "aurora-#{abc.serial_number}"
|
813
|
-
homie = MQTT::Homie::Device.new(device,
|
815
|
+
homie = MQTT::Homie::Device.new(device, device_name, mqtt: mqtt_uri)
|
814
816
|
homie.logger = Aurora.logger
|
815
817
|
|
816
818
|
mqtt_bridge = MQTTBridge.new(abc, homie)
|
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.
|
4
|
+
version: 1.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: 2022-02-
|
11
|
+
date: 2022-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ccutrer-serialport
|