Skip to main content

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

Project description

PyPI release Downloads

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.4.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

efb_online_middleware-0.0.4-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: efb-online-middleware-0.0.4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for efb-online-middleware-0.0.4.tar.gz
Algorithm Hash digest
SHA256 5121825f4e49e3b5420acca33903b31259fef3d07744bce138729b341eb0ee56
MD5 29fb6a71b45a264a92d361ff0d81ae1b
BLAKE2b-256 fa6def502d7e07a5c8ffefbe29c58d6a40641255fdabfbec236e58df8c6ac9b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: efb_online_middleware-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 16.6 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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for efb_online_middleware-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8e5c8447f4a162d1591227fc361c4ecf81689536926461877f0e5e5d26222c9d
MD5 b70dfd56dc25f2a823036efc7d751099
BLAKE2b-256 1db194d3374833c2cf593cb68092acb94760b31121ab7d0150edec2ad6fd0eb2

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