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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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