Skip to main content

Check if you (or your phone) is at home and notify your smarthome via mqtt!

Project description

mqtt-presence-checker

config.toml:

[mqtt]
host = "mqtt.example.org"
username = "<username>"
password = "<password>"
topic = "presence-checker/presence"

[mqtt.sensor.door-sensor]
topic = "zigbee2mqtt/door_sensor"
predicate = "lambda x: not x['contact']"

[ping]
hosts = [
    'alice.example.org',
    'bob.example.org'
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mqtt_presence_checker-0.1.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

mqtt_presence_checker-0.1.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file mqtt_presence_checker-0.1.2.tar.gz.

File metadata

  • Download URL: mqtt_presence_checker-0.1.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.4 Linux/5.15.0-50-generic

File hashes

Hashes for mqtt_presence_checker-0.1.2.tar.gz
Algorithm Hash digest
SHA256 28a6b912f05a1a3b2ff62b2b96f1b9f29c16a718760df8e3df9c670e0be53521
MD5 4dcafc3c006c49c7e15d96d8db3a84ef
BLAKE2b-256 2651c87ae39866218f77c7376285e302087b51896f2f991ad7c01fdc9fa86b18

See more details on using hashes here.

File details

Details for the file mqtt_presence_checker-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mqtt_presence_checker-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8ae529087712e2964ca698a1a9b6ed19725c057dcafe8d3e10316406a498fdbb
MD5 fded3641f9db0c1c696afa87cf044632
BLAKE2b-256 a13efafff54613860df7420646da9389ca8fd599badd11606beb3ad0b65a2096

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page