Hanspeter Gosteli
|
85d150e3e9
Implement restart for units selected via --control-system-unit parameter (#180)
|
2 dni temu |
Fabian Peter Hammerle
|
6217841d47
add command-line option `--monitor-system-unit [unit_name]` enabling reports of systemd system units' ActiveState
|
2 tygodni temu |
Fabian Peter Hammerle
|
7b19828678
refactor: move `systemctl_mqtt._dbus` to `systemctl_mqtt._dbus.login_manager`
|
2 tygodni temu |
Fabian Peter Hammerle
|
c3533ee752
add birth & last will message on topic `systemctl/[hostname]/status`
|
2 tygodni temu |
Fabian Peter Hammerle
|
8f9c415ec4
migrate from paho-mqtt to its async wrapper aiomqtt & disable `retain` flag on topic `systemctl/[hostname]/preparing-for-shutdown`
|
3 tygodni temu |
Fabian Peter Hammerle
|
4a4cc551d4
migrate to jeepney's asyncio integration (to prepare for migration from paho-mqtt to aiomqtt)
|
3 tygodni temu |
Fabian Peter Hammerle
|
ffac98894a
refactor: make `_run` function async (to prepare for migration from paho-mqtt to aiomqtt)
|
3 tygodni temu |
Fabian Peter Hammerle
|
15ba7db0f4
change default log level from `debug` to `info`
|
3 tygodni temu |
Fabian Peter Hammerle
|
2e71c55391
add command-line option `--log-level`
|
3 tygodni temu |
Fabian Peter Hammerle
|
9566cf4e69
suspend when receiving message on topic `systemctl/[hostname]/suspend`
|
3 tygodni temu |
Fabian Peter Hammerle
|
73513eabb0
migrate from dbus-python to pure-python jeepney
|
3 tygodni temu |
Fabian Peter Hammerle
|
b66f0cd3ef
home assistant auto discovery: add config for button scheduling poweroff & button locking all sessions
|
3 tygodni temu |
Fabian Peter Hammerle
|
1c2a8ca6d9
home assistant: replace component-based with device-based discovery & disable "retain" flag
|
3 tygodni temu |
Fabian Peter Hammerle
|
c57260b7c0
drop compatibility with pyhon3.5
|
3 lat temu |
Fabian Peter Hammerle
|
c790a93981
instruct sessions to lock on systemctl/hostname/lock-all-sessions
|
4 lat temu |
Fabian Peter Hammerle
|
0fce1c9217
attempt to fix syntax error on python3.5
|
4 lat temu |
Fabian Peter Hammerle
|
c7623bbe56
attempt to fix syntax error on python3.5
|
4 lat temu |
Fabian Peter Hammerle
|
c37762e0a5
added command line option `--poweroff-delay-seconds`
|
4 lat temu |
Fabian Peter Hammerle
|
9bb7a600ff
refactor: add attr poweroff_delay to state class
|
4 lat temu |
Fabian Peter Hammerle
|
8817fd95e8
refactor: new class _MQTTActionSchedulePoweroff
|
4 lat temu |
Fabian Peter Hammerle
|
2e8d2eeb7b
refactor: add param 'delay' to _dbus.schedule_shutdown
|
4 lat temu |
Fabian Peter Hammerle
|
292046b88d
added command line option --mqtt-disable-tls
|
4 lat temu |
Fabian Peter Hammerle
|
43835e1fc9
fixed fatal error on mqtt reconnect: tried to re-acquire shutdown inhibitor lock
|
4 lat temu |
Fabian Peter Hammerle
|
f1371e1fec
refactor: move some constants & methods to new systemctl_mqtt/_dbus.py
|
4 lat temu |
Fabian Peter Hammerle
|
56dc5bad31
prepare-for-shutdown: publish config for home assistant to enable automatic discovery
|
4 lat temu |
Fabian Peter Hammerle
|
47bb97bb07
retain msgs on systemctl/hostname/preparing-for-shutdown
|
4 lat temu |
Fabian Peter Hammerle
|
20dafb5c80
document shutdown report on systemctl/hostname/preparing-for-shutdown
|
4 lat temu |
Fabian Peter Hammerle
|
36b80ed4be
explicit timestamp type specification to avoid OverflowError
|
4 lat temu |
Fabian Peter Hammerle
|
e0b27226b0
mqtt publish logind's PreparingForShutdown
|
4 lat temu |
Fabian Peter Hammerle
|
cfe54ed0c1
subscribe to logind's PrepareForShutdown signal
|
4 lat temu |