Skip to main content

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

Project description

Main Function

  • check 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.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

efb_online_middleware-0.0.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: efb-online-middleware-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 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.1.tar.gz
Algorithm Hash digest
SHA256 1b785c4f20ee97f95603c24801a59baf73ec20173e49d4e1db11a9f4705a634b
MD5 301084013b6868d30b0178979439792a
BLAKE2b-256 2e999f7d0ba227920ea3c5ab3d21fa17f2943605bdaae2e08527810ffefe9e09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: efb_online_middleware-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ebcfc955e5224317d2fa31e51b96f2f6f6d0c36502a3ff50bab3be42faf1434
MD5 20519fc7b719b736fc7538ffe5b5f793
BLAKE2b-256 622d8017f8b677f65c70c1664278ac3daaa0ea55decee4f8f4661f2281691acf

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