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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: efb-online-middleware-0.0.3.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.0

File hashes

Hashes for efb-online-middleware-0.0.3.tar.gz
Algorithm Hash digest
SHA256 00f64eef19bbce640f5ab6fb0be191257e4757d793d9a37a0c08eb5e5ee91aa3
MD5 e2fb204c2e629aba8428daa4dd3d8c8a
BLAKE2b-256 99fe250e12d0ab8b0e544fa6aef370774fcedd51884e0267c2b0174645e48669

See more details on using hashes here.

File details

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

File metadata

  • Download URL: efb_online_middleware-0.0.3-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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for efb_online_middleware-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a13bf3036509a2740d8b313e190db1ca8b49eb7e05d8bae76fa77a28bb678f7b
MD5 0517eeca3fd37fab3893b0c3a4e6fbaa
BLAKE2b-256 86ca1a9ef5c6bada5829dc14c7801fdcbe0ba7bf8639e608eaa3ba48abe17805

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