Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
18467c5541
|
|||
|
9a5e7694c3
|
@@ -1,12 +1,6 @@
|
||||
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,6 +12,9 @@ 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