feat: Enhance water valve control with Telegram bot integration, allowing remote commands and user authorization. Add channel history querying and improve server functionality for rule execution and static file serving.

This commit is contained in:
sebseb7
2026-02-27 11:22:49 -05:00
parent 63544160d8
commit 7d96ed29c4
5 changed files with 862 additions and 80 deletions

View File

@@ -7,3 +7,7 @@ TAPO_PASSWORD=your-password
TAPO_BROADCAST_ADDR=192.168.3.255
TAPO_DISCOVERY_INTERVAL=300000
TAPO_POLL_INTERVAL=10000
# Telegram bot token for water valve rule (waterButtonLearnAndCall.js)
WATER_VALVE_TELEGRAM_TOKEN=your-telegram-bot-token
WATER_VALVE_TELEGRAM_PASSWORD=your-secret-password