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 |
Fabian Peter Hammerle
|
953b0db210
refactor: rename _Settings -> _State
|
4 lat temu |
Fabian Peter Hammerle
|
45fe3cfc23
acquire shutdown inhibitor lock to reserve time to send mqtt msg before shutdown
|
4 lat temu |
Fabian Peter Hammerle
|
02ba14a223
debug log inhibitor locks when scheduling shutdown
|
4 lat temu |
Fabian Peter Hammerle
|
496a617bc6
pylint-import-requirements: add hint specifying distribution name for gi.repository.GLib
|
4 lat temu |
Fabian Peter Hammerle
|
aee870c751
prepare glib loop to receive dbus signals
|
4 lat temu |
Fabian Peter Hammerle
|
6fc954ba94
refactor: replaced paho.mqtt.client.Client.on_message with specific .message_callback_add
|
4 lat temu |
Fabian Peter Hammerle
|
5abc53b28e
python3.5: replaced datetime.isoformat(datespec=...) with .strftime
|
4 lat temu |
Fabian Peter Hammerle
|
213d2d7c2b
use python3.5-compatible type hints
|
4 lat temu |
Fabian Peter Hammerle
|
be2191e2ad
added gdbus & dbus-send sample commands in comment
|
4 lat temu |
Fabian Peter Hammerle
|
6f2f541aa3
adapt log message shown when dbus method call fails due to authorization failure
|
4 lat temu |
Fabian Peter Hammerle
|
e4c9f6f312
raise coverage
|
4 lat temu |
Fabian Peter Hammerle
|
74669520c1
added dockerfile & docker-compose.yml
|
4 lat temu |
Fabian Peter Hammerle
|
9c115aef90
enable tls
|
4 lat temu |
Fabian Peter Hammerle
|
1574063886
mqtt message on topic systemctl/hostname/poweroff schedules poweroff with delay of 4 seconds
|
4 lat temu |