incredibly hacky script that automates checking SNAP balance in a browser with Selenium, then sends the data to Home Assistant.
| .dockerignore | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| main.py | ||
| Pipfile | ||
| Pipfile.lock | ||
| readme.md | ||
| requirements.txt | ||
snap balance checker
environment variables
required
USERNAME - your username for ebtedge.com
PASSWORD - your password
CARD_ID - 2-letter state code + last 4 digits (e.g. CA1234)
optional
FREQUENCY - how often in hours to check balance (default: 24)
DRIVER_URL - remote selenium driver URL (default: http://127.0.0.1:4444)
TIMEOUT - how many seconds to wait for pages to load (default: 10)
HA_URL - if you want to forward EBT balances to a Home Assistant instance
HA_TOKEN - go to your HA profile and generate a "long-lived access token"