Compare commits
No commits in common. "8c4c3cb78ebc02b533be29b33ed95a63bfd3630c" and "c4782814bba75a26464df7e43315d80a311e5fd6" have entirely different histories.
8c4c3cb78e
...
c4782814bb
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1178,7 +1178,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "homekit-exporter"
|
name = "homekit-exporter"
|
||||||
version = "0.6.1"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"clap",
|
"clap",
|
||||||
|
|
|
@ -328,17 +328,9 @@ impl DeviceConnection {
|
||||||
loop {
|
loop {
|
||||||
match self.socket.as_mut() {
|
match self.socket.as_mut() {
|
||||||
None => {
|
None => {
|
||||||
log::warn!("{}reconnecting...", formatted_name(&self.name));
|
log::info!("{}reconnecting...", formatted_name(&self.name));
|
||||||
match self.connect().await {
|
self.connect().await?;
|
||||||
Ok(_) => {
|
log::info!("{}reconnected", formatted_name(&self.name));
|
||||||
log::warn!("{}reconnected", formatted_name(&self.name));
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
Err(e) => {
|
|
||||||
log::error!("{}error {e} reconnecting", formatted_name(&self.name));
|
|
||||||
return Err(e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Some(socket) => {
|
Some(socket) => {
|
||||||
for (aid, data) in &mut self.accessories {
|
for (aid, data) in &mut self.accessories {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "homekit-exporter"
|
name = "homekit-exporter"
|
||||||
version = "0.6.1"
|
version = "0.6.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
description = "Prometheus exporter for HomeKit sensors"
|
description = "Prometheus exporter for HomeKit sensors"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Alex Janka <alex@alexjanka.com>
|
# Maintainer: Alex Janka <alex@alexjanka.com>
|
||||||
|
|
||||||
pkgname=homekit-logger
|
pkgname=homekit-logger
|
||||||
pkgver=0.6.1
|
pkgver=0.6.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Prometheus exporter for HomeKit sensors"
|
pkgdesc="Prometheus exporter for HomeKit sensors"
|
||||||
arch=('x86_64' 'aarch64')
|
arch=('x86_64' 'aarch64')
|
||||||
|
|
Loading…
Reference in a new issue