Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
8babffed76
|
@@ -1,6 +1,12 @@
|
||||
use reqwest::{Certificate, Client};
|
||||
|
||||
pub fn new_client() -> Client {
|
||||
println!(
|
||||
"{}/{}",
|
||||
std::env!("CARGO_PKG_NAME"),
|
||||
std::env!("CARGO_PKG_VERSION")
|
||||
);
|
||||
|
||||
Client::builder()
|
||||
.user_agent(format!(
|
||||
"{}/{}",
|
||||
|
||||
@@ -12,9 +12,6 @@ local module = {}
|
||||
function module.setup(mqtt_client)
|
||||
local light = nil
|
||||
|
||||
print(secrets.printer_device_id)
|
||||
print(secrets.printer_access_code)
|
||||
|
||||
local bambu = devices.Bambu.new({
|
||||
host = "thalia.huizinga.lan",
|
||||
device_id = secrets.printer_device_id,
|
||||
|
||||
Reference in New Issue
Block a user