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

Uploaded Source

Built Distribution

efb_online_middleware-0.0.5-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: efb-online-middleware-0.0.5.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for efb-online-middleware-0.0.5.tar.gz
Algorithm Hash digest
SHA256 34640bafe98e75ff15c9223bbc50a96b7ab093663fb621726fcffdf2248df9b9
MD5 4de18b68b06c677e1e0e4616d1ea67d9
BLAKE2b-256 cda23a74b6e0b5064d3b81be1ec8f56574155a386df302e3719887233100d059

See more details on using hashes here.

File details

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

File metadata

  • Download URL: efb_online_middleware-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for efb_online_middleware-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a731492f962dae5221a33f839c9e1eebf1dcfd3948e216b92fd8475e892f7a70
MD5 e6249d86179eaf85a83ba85625943697
BLAKE2b-256 0f36892010f38056b014cf8406eab1698ce639971828ff94a4b3c4dd4c8deaed

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