Compare commits

4 Commits

Author SHA1 Message Date
Dreaded_X 77a32d1507 fix: Use IP instead of dns name
Build and deploy / build (push) Successful in 18m24s
Build and deploy / Deploy container (push) Successful in 41s
For some reason DNS resolution does not work properly, so we are going
to use the printers IP address for now.
2026-06-20 05:51:22 +02:00
Dreaded_X ce302b148e feat: Sync printer light with room light
Build and deploy / build (push) Successful in 18m22s
Build and deploy / Deploy container (push) Successful in 39s
2026-06-20 05:22:59 +02:00
Dreaded_X fe6b3b52e1 feat: Add basic support for bambu printer 2026-06-20 05:22:57 +02:00
Dreaded_X 361d799377 feat: Build fully static binary 2026-06-20 05:22:56 +02:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ ENV RELEASE_VERSION=${RELEASE_VERSION}
RUN cargo auditable build --release RUN cargo auditable build --release
FROM scratch AS runtime FROM gcr.io/distroless/static-debian13:nonroot AS runtime
COPY --from=builder /app/target/release/automation /app/automation COPY --from=builder /app/target/release/automation /app/automation
ENV AUTOMATION__ENTRYPOINT=/app/config/config.lua ENV AUTOMATION__ENTRYPOINT=/app/config/config.lua
ENV LUA_PATH="/app/?.lua;;" ENV LUA_PATH="/app/?.lua;;"
+1 -1
View File
@@ -13,7 +13,7 @@ function module.setup(mqtt_client)
local light = nil local light = nil
local bambu = devices.Bambu.new({ local bambu = devices.Bambu.new({
host = "thalia.huizinga.lan", host = "10.0.0.108",
device_id = secrets.printer_device_id, device_id = secrets.printer_device_id,
access_code = secrets.printer_access_code, access_code = secrets.printer_access_code,
callbacks = { callbacks = {