Hanspeter Gosteli
|
85d150e3e9
Implement restart for units selected via --control-system-unit parameter (#180)
|
2 долоо хоног өмнө |
Fabian Peter Hammerle
|
6217841d47
add command-line option `--monitor-system-unit [unit_name]` enabling reports of systemd system units' ActiveState
|
1 сар өмнө |
Fabian Peter Hammerle
|
7b19828678
refactor: move `systemctl_mqtt._dbus` to `systemctl_mqtt._dbus.login_manager`
|
1 сар өмнө |
Fabian Peter Hammerle
|
c3533ee752
add birth & last will message on topic `systemctl/[hostname]/status`
|
1 сар өмнө |
Fabian Peter Hammerle
|
8f9c415ec4
migrate from paho-mqtt to its async wrapper aiomqtt & disable `retain` flag on topic `systemctl/[hostname]/preparing-for-shutdown`
|
1 сар өмнө |
Fabian Peter Hammerle
|
4a4cc551d4
migrate to jeepney's asyncio integration (to prepare for migration from paho-mqtt to aiomqtt)
|
1 сар өмнө |
Fabian Peter Hammerle
|
ffac98894a
refactor: make `_run` function async (to prepare for migration from paho-mqtt to aiomqtt)
|
1 сар өмнө |
Fabian Peter Hammerle
|
9566cf4e69
suspend when receiving message on topic `systemctl/[hostname]/suspend`
|
1 сар өмнө |
Fabian Peter Hammerle
|
73513eabb0
migrate from dbus-python to pure-python jeepney
|
1 сар өмнө |
Fabian Peter Hammerle
|
b6a358880b
drop compatibility with python3.8; docker image: upgrade alpine base image from 3.13.1 to 3.21.0 including upgrade of python from 3.8 to 3.12
|
1 сар өмнө |
Fabian Peter Hammerle
|
1c2a8ca6d9
home assistant: replace component-based with device-based discovery & disable "retain" flag
|
1 сар өмнө |
Fabian Peter Hammerle
|
c57260b7c0
drop compatibility with pyhon3.5
|
3 жил өмнө |
Fabian Peter Hammerle
|
e7f4e94687
tests: fix indeterministic log msg checks
|
4 жил өмнө |
Fabian Peter Hammerle
|
3685a4b488
fix mqtt run test on python3.5
|
4 жил өмнө |
Fabian Peter Hammerle
|
c790a93981
instruct sessions to lock on systemctl/hostname/lock-all-sessions
|
4 жил өмнө |
Fabian Peter Hammerle
|
9bb7a600ff
refactor: add attr poweroff_delay to state class
|
4 жил өмнө |
Fabian Peter Hammerle
|
8817fd95e8
refactor: new class _MQTTActionSchedulePoweroff
|
4 жил өмнө |
Fabian Peter Hammerle
|
292046b88d
added command line option --mqtt-disable-tls
|
4 жил өмнө |
Fabian Peter Hammerle
|
f1371e1fec
refactor: move some constants & methods to new systemctl_mqtt/_dbus.py
|
4 жил өмнө |
Fabian Peter Hammerle
|
56dc5bad31
prepare-for-shutdown: publish config for home assistant to enable automatic discovery
|
4 жил өмнө |
Fabian Peter Hammerle
|
47bb97bb07
retain msgs on systemctl/hostname/preparing-for-shutdown
|
4 жил өмнө |
Fabian Peter Hammerle
|
20dafb5c80
document shutdown report on systemctl/hostname/preparing-for-shutdown
|
4 жил өмнө |
Fabian Peter Hammerle
|
737289de2d
refactor mqtt test: remove superfluous mock
|
4 жил өмнө |
Fabian Peter Hammerle
|
cfe54ed0c1
subscribe to logind's PrepareForShutdown signal
|
4 жил өмнө |
Fabian Peter Hammerle
|
953b0db210
refactor: rename _Settings -> _State
|
4 жил өмнө |
Fabian Peter Hammerle
|
cea2382a94
tests: replace broken fixture with standard function
|
4 жил өмнө |
Fabian Peter Hammerle
|
9cdc01bbdb
refactor: split _run test
|
4 жил өмнө |
Fabian Peter Hammerle
|
45fe3cfc23
acquire shutdown inhibitor lock to reserve time to send mqtt msg before shutdown
|
4 жил өмнө |
Fabian Peter Hammerle
|
aee870c751
prepare glib loop to receive dbus signals
|
4 жил өмнө |
Fabian Peter Hammerle
|
6fc954ba94
refactor: replaced paho.mqtt.client.Client.on_message with specific .message_callback_add
|
4 жил өмнө |