diff --git a/Cargo.lock b/Cargo.lock index caffb9c..a18eae5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1206,7 +1206,7 @@ dependencies = [ [[package]] name = "neolink" -version = "0.5.4" +version = "0.5.5" dependencies = [ "aes", "anyhow", @@ -1248,7 +1248,7 @@ dependencies = [ [[package]] name = "neolink_core" -version = "0.5.4" +version = "0.5.5" dependencies = [ "aes", "assert_matches", diff --git a/Cargo.toml b/Cargo.toml index ce53421..e49d366 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "neolink" description = "A standards-compliant bridge to Reolink IP cameras" -version = "0.5.4" +version = "0.5.5" authors = ["George Hilliard ", "Andrew King "] edition = "2018" default-run = "neolink" @@ -17,7 +17,7 @@ test = false bench = false [dependencies] -neolink_core = { path = "crates/core", version = "0.5.4" } +neolink_core = { path = "crates/core", version = "0.5.5" } aes = "0.6" cfb-mode = "0.6" cookie-factory = "0.3" diff --git a/README.md b/README.md index ff27f16..872510b 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ with additional features not yet in upstream master. - Protocol more closely follows offical reolink format - Possibly can handle more simulatenous connections - More ways to connect to the camera. Including Relaying through reolink servers +- Camera battery levels can be displayed in the log ## Installation @@ -159,6 +160,19 @@ Then start the rtsp server as usual: ./neolink rtsp --config=neolink.toml ``` +### Battery Levels + +If you have a battery camera and would like to see the battery messages in the log +add the following to your config + +```toml +[[cameras]] +# Usual camera options like uid etc +print_format = "Human" +``` + +You can also print into xml format with `print_format = "Xml"` which can then be passed +by a script for processing. ### Docker diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index 7a38458..13a86ca 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "neolink_core" description = "Core services and structure for Reolink IP cameras" -version = "0.5.4" +version = "0.5.5" authors = ["George Hilliard ", "Andrew King "] edition = "2018"