Skip to main content

Online middleware for EH Forwarder Bot, notice when wechat is offline.

Project description

PyPI release

Main Function

  • Check if WeChat is still online

Usage

Create file config.yaml under document ~/.ehforwarderbot/profiles/default/online.OnlineMiddleware

echo_mp: 'XXXXXX'       # mp name
ping: 'PING'            # keyword
pong: 'PONG'            # response with keyword
interval: 1800          # interval(s)

MP needs to open auto response function, send PING, response with PONG

Install

pip3 install efb-online-middleware

~/.ehforwarderbot/profiles/default/config.yaml file add configuration to enable middleware

master_channel: blueset.telegram
slave_channels:
- blueset.wechat
middlewares:
- online.OnlineMiddleware

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

efb-online-middleware-0.0.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

efb_online_middleware-0.0.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file efb-online-middleware-0.0.2.tar.gz.

File metadata

  • Download URL: efb-online-middleware-0.0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.9

File hashes

Hashes for efb-online-middleware-0.0.2.tar.gz
Algorithm Hash digest
SHA256 59bec69f53746f43b8781cde850cbe821a5cfa0b748741dd5e418b85e37108f7
MD5 a35df4089e2e2d9f585d655de7b6410d
BLAKE2b-256 44fdd48080400daae108b25904b20162be27a740db07b6d1804471fa88c48a15

See more details on using hashes here.

File details

Details for the file efb_online_middleware-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: efb_online_middleware-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.9

File hashes

Hashes for efb_online_middleware-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6f0db9f8019fa36e5a2bb2b8db9847cfa683d13d7f589c8de282c17ef2f67479
MD5 235a1f7c50e2572a611e71b17e9d8099
BLAKE2b-256 9a8c898c5a532bc78fd62eb413bbe5b93a27522d3e2dd5d57ca72d081ac72fdf

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