Skip to main content
The WebLock integration connects 1Club to the Valnes WebLock access control system. You link each area in a gym to WebLock door groups, and optionally to light devices, so a booking or check-in in that area opens the right doors and switches on the lights for its time window. An owner or admin sets it up for each gym once. Members then get in with the PIN or access card on their 1Club account.

When to use it

Use it when your doors run on WebLock and access should follow what members book, without staff handing out PINs or programming fobs. Typical uses:
  • A court door and its lights tied to the booking - a padel gym links each court to its door group and its light device, so players get in a little before their slot and the court lights come on just before it starts.
  • A studio that opens only for class - a Pilates studio links the studio area to the studio door group, so a member’s PIN opens it only around the class they booked.
  • Several gyms on one WebLock business - a group with two locations runs both on one WebLock business, and each gym’s areas open only that gym’s doors.

How access is decided

Access in WebLock comes from area access: a member may enter an area while they have access to it in 1Club. That access comes from:
  • A booking in the area. Cancelling the booking withdraws it.
  • A check-in in the area, which gives access from the moment of check-in.
  • Access added by hand by staff for a member, an area, and a time window.
A membership on its own does not open any door. What opens a door is access to an area. For each member with access, 1Club keeps WebLock in step:
  • A WebLock user is created for the member the first time they get access.
  • Their credentials are sent to WebLock: the PINs and access cards on their 1Club account. QR codes are not sent.
  • Door groups. The member is added to every door group linked to the area, for the access window: the booking or check-in time, widened by the Access buffer before and after. Overlapping windows are merged into one.
  • Light devices. Each light device linked to the area gets a light rule for the same time, widened by the Light buffer instead. A window that crosses midnight is split into one rule per day.
When the access ends or is withdrawn, 1Club removes the member from the door groups and deletes their light rules. Once a member has no access left at all, their credentials are removed from WebLock too.
A member needs a PIN or an access card to get in. If they have no credential yet and PIN is an enabled identification method for the gym, 1Club creates a PIN for them automatically. A member with no PIN or access card gets no access in WebLock. See Access cards and Access control.
Booking access is held back while the member owes a document the gym requires for entry, such as a waiver. It reaches the door once they sign it, or once staff let them in that day. Check-in access always applies. Changes reach WebLock within moments. A complete pass also runs every five minutes, and Sync now runs one straight away.

Before you start

WebLock is a paid-plan integration. On the Free plan and during the trial, its Activate and Configure buttons stay greyed out until you upgrade.
  • Configuring WebLock requires the settings.manage.organization permission. Viewing it requires settings.read.organization.
  • You need a WebLock (Valnes) account with a Business ID, and the door groups and light devices already set up in the WebLock console.
  • Each gym needs at least one active area. See Areas.
  • A gym can use only one door system at a time. If a gym already uses Impro or Salto KS, turn that one off for the gym first.
Valnes API credentials are held at the platform level, so you do not enter a username or password in 1Club - only your Business ID.

Set up a gym

  1. Go to Settings > Integrations and click Activate next to WebLock, under Access control. 1Club activates WebLock and opens its page. Once it is active, you reach the page from Configure under Active Integrations.
  2. On the WebLock page, choose the gym under Club. If the gym has no active area, the page asks you to create one and links to Manage areas.
  3. Under Connection, enter your Business ID and click Save. Save stays greyed out until a Business ID is entered. The door group and light device lists load from WebLock once the Business ID is saved.
  4. Set the two buffers:
    • Access buffer (minutes) (0-120, default 15) - how long before a booking starts the door opens, and how long after it ends it stays open.
    • Light buffer (minutes) (0-120, default 5) - how long before and after a booking the area’s lights are on.
  5. Under Areas, choose for each area:
    • Door groups - the WebLock door groups that access to this area opens. You can pick several. An area with no door group opens no doors, and the page says so under the area.
    • Light devices (optional) - the devices whose lights follow access to this area.
  6. Turn on Enable door access and click Save.
  7. Click Test connection to confirm 1Club can reach WebLock with the Business ID, then Sync now to send access straight away.
Test connection and Sync now are available once the gym is saved, and only while there are no unsaved changes.

Switching from the earlier setup

If a gym was set up before WebLock worked per area, the page shows a warning until you save it on the current setup. 1Club pre-fills each area’s door group and light device from the gym’s earlier settings where it safely can. Check every area before you save.
Configure every area before you switch. After the switch, a membership alone no longer opens the door: access comes from area access, such as a booking in that area. If several gyms share the same WebLock business, save every one of them on the current setup before you sync. 1Club refuses to sync a shared business until all of its gyms are switched.

Several gyms on one WebLock business

Gyms can share a WebLock business. 1Club syncs a shared business as a whole, so a member with access at two gyms is one WebLock user, with the door groups of both. To move a gym to a different Business ID, turn off Enable door access for it first and let the access cleanup finish, including for any other gyms sharing that business. 1Club refuses the change until then, because access granted in one business can only be withdrawn in that business.

Worked examples

Padel gym: court access plus lights on booking

A padel gym wants a booking to open the court gate and switch that court’s lights on. For each court area, it picks the court’s door group under Door groups and the court’s light under Light devices. It sets the Access buffer to 15 minutes so players can get in a little early, and the Light buffer to 5 minutes so the lights come on just before the slot starts and go off shortly after it ends.

Pilates studio: the studio door only for class

A Pilates studio links its studio area to the studio door group and leaves light devices empty. A member who books a class gets in with their PIN from 15 minutes before the class until 15 minutes after. If they cancel, the access is withdrawn and their PIN no longer opens the door.

Two gyms on one business

A climbing group runs two gyms on one WebLock business. It sets up both gyms on the WebLock page with the same Business ID, saves both, then syncs. A member who books at both gyms is one WebLock user, and each booking opens only its own gym’s door groups.

Tips and best practices

  • Save the Business ID before you start linking areas. The door group and light device lists only load once it is saved.
  • Give every area that should open a door at least one door group. An area without one opens nothing.
  • Keep the Access buffer larger than the Light buffer: you usually want the door to open a little before the lights come on.
  • Turn on PIN as an identification method for the gym, so members without an access card get a PIN automatically.

Troubleshooting

Deactivate

The WebLock page has no Deactivate button, because WebLock is switched off per gym. To stop WebLock at a gym:
  1. On the WebLock page, choose the gym under Club.
  2. Turn off Enable door access and click Save.
1Club then withdraws the access it granted through WebLock for that gym. Repeat for every gym that uses WebLock. WebLock stays listed under Active Integrations, so you can turn it back on for a gym at any time.