All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
--control_system_unit <unit_name>
(#180
by Hanspeter Gosteli (hanspeter.gosteli@gmail.com))systemctl/[hostname]/suspend
(https://github.com/fphammerle/systemctl-mqtt/issues/97)systemctl/[hostname]/status
("online" / "offline", https://github.com/fphammerle/systemctl-mqtt/issues/38)--monitor-system-unit [unit_name]
enables reports on
topic systemctl/[hostname]/unit/system/[unit_name]/active-state
(https://github.com/fphammerle/systemctl-mqtt/issues/56)button.[hostname]_logind_lock_all_sessions
button.[hostname]_logind_poweroff
button.[hostname]_logind_suspend
sensor.[hostname]_unit_system_[unit_name]_active_state
for each command-line parameter --monitor-system-unit [unit_name]
--log-level {debug,info,warning,error,critical}
org.freedesktop.DBus.Error.InteractiveAuthorizationRequired
(https://github.com/fphammerle/systemctl-mqtt/issues/67)python3.11
, python3.12
& python3.13
retain
flag on topic systemctl/[hostname]/preparing-for-shutdown
<discovery_prefix>/binary_sensor/<node_id>/preparing-for-shutdown/config
)
with device-based discovery (<discovery_prefix>/device/<object_id>/config
)--homeassistant-node-id
with
--homeassistant-discovery-object-id
binary_sensor.[hostname]_preparing_for_shutdown
to
binary_sensor.[hostname]_logind_preparing_for_shutdown
SETUPTOOLS_SCM_PRETEND_VERSION
debug
to info
ImportError: Error loading [...]/_gi.cpython-38-aarch64-linux-gnu.so: Permission denied
)org.freedesktop.DBus.Error.InteractiveAuthorizationRequired
when
attempting to lock sessionspipenv install
into two stages to speed up image buildschmod
files copied from host to no longer require o=rX
perms on hostpodman build
--force
flag to rm
invocation to avoid interactive questions while
running podman build
python3.5
, python3.6
, python3.7
& python3.8
systemctl/hostname/lock-all-sessions
instructs all sessions to activate screen locks
(functionally equivalent to command loginctl lock-sessions
)--poweroff-delay-seconds
(default: 4 seconds)paho-mqtt
to no longer suppress exceptions occuring in mqtt callbacks
( https://github.com/eclipse/paho.mqtt.python/blob/v1.5.1/ChangeLog.txt#L4 )chown
workaround for inter-stage copy--mqtt-disable-tls
PreparingForShutdown
signalsystemctl/hostname/preparing-for-shutdown
OverflowError: Python int too large to convert to C long
systemctl/hostname/poweroff
schedules a poweroff via systemd's dbus interface (4 seconds delay)