Install mqttdpms
dustin/basementhud/pipeline/head This commit looks good
Details
dustin/basementhud/pipeline/head This commit looks good
Details
The `mqttdpms` tool will allow the screens to be turned off and on using Home Assistant. We'll install it into the rootfs image by copying the artifact from its Jenkins build into the overlay tree before building the image.pull/1/head
parent
51a2324a1c
commit
5083b91871
|
@ -39,6 +39,11 @@ pipeline {
|
|||
sh 'rm -rf _build'
|
||||
}
|
||||
}
|
||||
copyArtifacts \
|
||||
filter: 'aarch64/mqttdpms',
|
||||
projectName: 'mqttdpms/master',
|
||||
selector: lastSuccessful()
|
||||
sh 'install aarch64/mqttdpms overlay/usr/local/bin/'
|
||||
sh 'make rootfs initramfs'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=MQTT DPMS Control
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/mqttdpms
|
||||
Environment=RUST_LOG=info
|
||||
Restart=always
|
||||
StandardInput=null
|
||||
StandardOutput=journal
|
|
@ -0,0 +1 @@
|
|||
/run/storage/mqttdpms.toml
|
|
@ -7,6 +7,6 @@ TZ="$(curl https://ipapi.co/timezone)"
|
|||
export TZ
|
||||
|
||||
systemctl --user import-environment DISPLAY TZ
|
||||
systemctl --user start firefox-marionette.socket firefox
|
||||
systemctl --user start firefox-marionette.socket firefox mqttdpms
|
||||
|
||||
exec openbox-session
|
||||
|
|
Loading…
Reference in New Issue