Indigo Integration for The Gym Group based upon https://github.com/joestanding/gymgroup-api.
Very VERY simplistic, it allows you to add your gyms current occupancy to a control page. Why would you want to do this? Well I suffer from a lot of anxiety issues, but I also like going to the gym, so ideally I want to go when it's quiet... it's nice to be able to see at a glance if that's the case. I'm doubting there'll be many folk out there that'll have any use for this, but if you do, hope you enjoy!
- Live occupancy for your home gym, plus any other Gym Group gym you want to keep an eye on
- Pick gyms by name from the full list of Gym Group locations, no hunting for UUIDs
- Track more than one Gym Group account side by side
- Off-peak indicator based on each gym's published off-peak hours
- Opening status, so gyms that are still "Opening Soon" don't show as open
- Membership details for each account (club, membership type, date joined)
- Quiet logging: network hiccups, rate limits and login problems are reported once, not every poll
- Backs off automatically after a failed login so a wrong password doesn't hammer The Gym Group's servers
- Download
TheGymGroup.indigoPlugin.zipfrom the latest release, unzip it and double-click the plugin to install it in Indigo. - Set the update interval in the plugin's configuration (default 5 minutes).
- Create a Gym Account device and enter your Gym Group email and password.
- Optionally create one or more Additional Gym devices, link each one to a Gym Account and pick the gym from the list.
Python dependencies (requests) are installed by Indigo from requirements.txt.
Logs in with its own credentials and tracks that account's home gym. Add one per account.
| State | Description |
|---|---|
Occupancy / OccupancyStr |
Number of people currently in the gym |
MaxCapacity |
Maximum capacity reported by The Gym Group |
GymOpen |
True if people are inside, the API says open, or the gym is listed as open 24/7. Always false for "Opening Soon" gyms that are empty |
OffPeakNow |
True during the gym's published off-peak hours |
OpeningStatus |
Opening hours text, e.g. "Open 24 hours a day, 7 days a week" or "Opening Soon" |
GymName, Postcode |
The gym's name and postcode |
ClubName, membershipType, dateJoined |
Account membership details |
height, weight, active |
Profile details from the account |
authenticated |
Whether the account is currently logged in |
LastUpdated, LastUpdatedDate, LastUpdatedTime |
When the device last updated |
Tracks any other gym using a linked Gym Account's login. It has the same occupancy, opening, off-peak, gym name, postcode and last-updated states as a Gym Account.
- Show User Profile Info: logs an account's user ID, home gym and profile fields
- Check Gym Status (Raw Data): logs the raw occupancy response and opening details for any gym
- Refresh Gym List: re-downloads the list of gyms (it otherwise refreshes daily), handy when a new gym opens
- Update All Gym Accounts: polls every device now
- Send Status Request: updates a single device immediately
Built on gymgroup-api by joestanding.
MIT, see LICENSE.