Skip to content

Releases: fphammerle/systemctl-mqtt

lock sessions

06 Nov 19:05
v0.5.0
24c4185
Compare
Choose a tag to compare

Added

  • MQTT message on topic systemctl/hostname/lock-all-sessions
    instructs all sessions to activate screen locks
    (functionally equivalent to command loginctl lock-sessions)
  • command line option --poweroff-delay-seconds (default: 4 seconds)

Changed

optionally disable TLS

10 Sep 11:25
v0.4.0
69f7ed3
Compare
Choose a tag to compare

Added

  • command line option --mqtt-disable-tls

home assistant auto discovery

21 Jun 19:49
v0.3.0
c7796a8
Compare
Choose a tag to compare

Added

Fixed

  • fatal error on MQTT reconnect: tried to re-acquire shutdown inhibitor lock

report shutdown

21 Jun 12:08
v0.2.0
59e043a
Compare
Choose a tag to compare

Added

Fixed

  • explicit timestamp type specification to avoid OverflowError: Python int too large to convert to C long

python3.5 compatibility

20 Jun 18:40
v0.1.1
6a26d41
Compare
Choose a tag to compare

Fixed

  • compatibility with python3.5:
    • replaced PEP526-style variable type hints with PEP484-compatible
    • fixed AttributeError due to unavailable MagicMock.assert_called_once
    • fixed TypeError when calling datetime.datetime.isoformat(datespec=…)

v0.1.0

16 Jun 15:17
v0.1.0
71985b1
Compare
Choose a tag to compare

Added

  • MQTT message on topic systemctl/hostname/poweroff
    schedules a poweroff via systemd's dbus interface (4 seconds delay)