Files
electricity-monitor/.env.example
EchoZenith e1b4a0ec5d feat: add electricity bill balance alert function
新增企业微信通知形式的电费余额预警功能,配置阈值环境变量ALERT_THRESHOLD,当余额低于设定值时自动发送提醒,且避免重复告警
2026-05-23 00:48:06 +08:00

16 lines
455 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 必填 - 小程序的登录 Cookie
SHIRO_COOKIE=shiroJID=你的cookie值
# 登录用户名和密码
LOGIN_USERNAME=admin
LOGIN_PASSWORD=你的密码
# 选填 - 企业微信群机器人 Webhook URL
WECOM_WEBHOOK_URL=https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=你的key
# 选填 - 电费余额预警阈值低于此值时发送企业微信通知设为0或留空关闭
ALERT_THRESHOLD=20
# 选填 - Cookie 签名密钥
COOKIE_SECRET=