Internet-direct sites
An Internet-direct site has no computer on site. The controllers send their status to YCAccess over the internet by themselves, and YCAccess talks back to them the same way. It is a simpler way to connect a small site: one or two controllers behind an ordinary internet router.
Warning: Internet-direct traffic is not encrypted. The controllers do not support it. Card numbers and commands cross the internet as the controller sends them. Use it for smaller sites where that is acceptable. For a larger site, or when you want an encrypted link, use an on-site bridge (see Sites, bridges and controllers).
Who can use it
| Role | What they can do |
|---|---|
| Customer admin | Create Internet-direct sites, get setup codes and add their controllers. |
| Installer | The same. The installer normally runs the setup command on site. |
| Operator | Look at sites, controllers and their status. Cannot change anything. |
| Viewer | Sites is not in their menu. |
| Platform admin | The same pages as a customer admin when supporting a customer. Treat it as look only, except to re-add a controller that already points at the server (see below). |
When to use it
| Choose | When |
|---|---|
| Internet-direct | A small site, no computer that can stay on, and a router with internet. You accept that the traffic is not encrypted. |
| On-site bridge | A larger site, a site that needs an encrypted link, or a site where a computer is always on anyway. |
You can switch a site from one to the other on its page (Switch to Internet-direct or Switch to an on-site bridge). Switching to Internet-direct revokes the site's bridges.
1. Create an Internet-direct site
- Click Sites in the menu.
- In New site, type the Site name.
- Under How it connects, choose Internet-direct (no computer on site; not encrypted).
- Click Create site.
The site page shows Internet-direct · not encrypted under the name. Instead of Bridges it shows a Cloud bridge section. Nothing is added or revoked there: YCAccess's own cloud bridge serves the site. It connects by itself within a minute and shows Online with its last check-in.
2. Get a setup code
Each controller is set up once, with a laptop on the controller's network at the site.
- On the site page, click Add controller.
- In Run the setup command on site, click Get a setup code.
- The page shows the Setup code and an "Expires in ..." countdown. The code works once and for 30 minutes.
- Type the controller's Serial number (the 9 digits on its label) and the address to give it: IP address, Subnet mask and Gateway, for example 192.168.1.50.
- The page shows the Setup command. Click Copy command.

Tip: The setup code is like a password for one controller. Do not post it in a chat or an email. If it expires or fails, click New code.
3. Run the setup command
You need a laptop with the ycbridge program, cabled to the same network as the controller. Ask your YCAccess provider for the program if the laptop does not have it.
Important: Run your own setup from the controller's network, with the laptop's internet going through the same router as the controller. YCAccess accepts the controller's first check-in only from the internet address the setup command registered from. If the laptop uses a phone hotspot or a VPN, the controller never checks in: turn them off, get a new setup code and run the command again.
The full form
Run the command from the page. It has this shape:
ycbridge internet-setup --url https://<your YCAccess address> --code <SETUP CODE> --serial <SERIAL> --ip <IP> --mask <MASK> --gateway <GATEWAY>
It does four things, in this order: it gives the controller the address, reads the controller, registers it with the site in YCAccess, and points the controller at YCAccess. It then reads the setting back. When it works it says:
Ready: controller <SERIAL> will check in from the internet
Its first check-in must come from <ADDRESS>, the internet address this computer used: ...
The second line names the internet address the controller's first check-in must come from. It is the address of the site's router when the laptop is on the controller's network.
If it stops, it says which step failed, for example "Setup stopped at 'register'". The controller is pointed at YCAccess only after YCAccess has accepted it, so a refused registration never leaves it pushing to a server that ignores it. It is safe to run the command again with a new setup code.
The register-only form
Use this when the controller was already pointed at YCAccess on site, for example by your provider, and you only need to register it. Add the MAC address of the controller, in the form aa:bb:cc:dd:ee:ff, and leave out --ip, --mask and --gateway:
ycbridge internet-setup --url https://<your YCAccess address> --code <SETUP CODE> --serial <SERIAL> --mac <MAC ADDRESS>
You can add --firmware <version> if you know it. When it works, it says that the controller is registered.
With a setup code from your own Add controller page, this form too must run from a computer on the controller's network, as above: the command prints the address the first check-in must come from. Only a setup code made by your YCAccess provider can register a controller from another place.
4. Adopt the controller
After the setup command, go back to the Add controller page and open Controllers checked in from the internet.
- Click Check for controllers.
- The controller is listed once it is registered. It shows Registered. Waiting for it to check in until it has sent its first status. Check its power and internet cable, wait a minute, then check again.
- When the row says Checked in from the internet, continue as for any other controller: the cards already on it (Import or Wipe), its doors, and the live check. See Sites, bridges and controllers.
If you see "No controller is registered to this site yet. Run the setup command on site first.", the setup command has not finished, or it was run with another site's code.
Re-adding a controller that already points at the server (platform admins)
Deleting a controller from a site also deletes its registration, but the controller itself keeps sending to YCAccess: it is still pointed at the server. The same is true of a controller your provider pointed at the server with its own tool. A platform admin can register such a controller from the website, with no setup code and no laptop on site.
- Open the Internet-direct site's Add controller page.
- Under Register a controller that's already checking in, below the setup code panel, type the Serial number. Only platform admins see this panel.
- Leave Advanced: MAC address closed: YCAccess works the MAC address out from the serial number. Open it only to type a MAC address read from the controller itself.
- Click Register. The page says "Registered" with the serial number: check it is the one you meant.
- The controller is listed at once under Controllers checked in from the internet, as Registered. Waiting for it to check in. After about a minute, click Check for controllers. When the row says Checked in from the internet, adopt it as in step 4 above.
The checks are the same as with a setup code:
| Message | What to do |
|---|---|
| This serial isn't on the approved list. Add it under Platform → Approved controllers first. | Approve the serial under Platform → Approved controllers, then click Register again. |
| This serial is registered to another site, or in use there. Remove it from that site first. | Delete the controller from the other site first. |
A registration made here is not tied to an internet address, as with a setup code made by a platform admin: the controller's next check-in is accepted from wherever it is, once the controller there has answered with its serial number and MAC address.
A brand-new controller still needs the setup command (section 3). It also gives the controller its address and points it at YCAccess, which this form cannot do.
The controller page

An Internet-direct controller shows Internet-direct · not encrypted next to its name. In its details you see:
| Field | Meaning |
|---|---|
| Last check-in | When the controller last sent its status. It sends one about every 10 seconds. |
| Connection address | The address and port YCAccess uses to reach the controller, with "(since ...)" and the time it began. |
Set IP is not offered. Changing the address from the internet would cut the controller off, so the address is only changed on site, with the setup command.
When the connection address changes
The connection address is the public address of the site's router, as YCAccess sees it. An internet provider can change it, for example after the router restarts. When it changes, the controller page shows the new address with the time it began ("since").
This is normally harmless. A change of port on the same address (the router remapping it) is followed at once, after the controller at the new port answers with its serial number and MAC address. A new internet address is followed only once the old one has been silent for 35 seconds, and the controller there answers the same way. While the controller is checking in from its address, YCAccess ignores anything that claims to be it from anywhere else.
The serial number and MAC address only identify the controller; they are not a password, because the MAC address can be worked out from the serial number. What keeps another sender out is that YCAccess stays with the address the controller is checking in from. If the address changes often, the internet connection at the site is unstable.
If something goes wrong
The controller never checks in
Cause: the controller is off, has no internet, or its router blocks outgoing UDP. Or the setup command ran from another internet connection than the controller's.
- Check the controller's power and network cable.
- Check that the router lets the controller send out. The controller sends to the YCAccess server on UDP port 60000.
- Check the address the setup command printed ("Its first check-in must come from ..."). If it is not the site router's internet address (the laptop was on a phone hotspot or a VPN), get a new setup code and run the command again from the controller's network.
- Run the setup command again with a new code if the controller was reset.
The port in Connection address is not 60000
This is normal. 60000 is the port on the YCAccess server and on the controller's own network (the LAN port). Many routers use another port towards the internet (the WAN port), such as 37557. YCAccess uses the port it sees. Do not try to change it, and do not forward a port on the router for this.
The controller is Unreachable, or the time is wrong
- Unreachable after about 35 seconds. A controller counts as reachable while it has checked in within the last 35 seconds (three missed check-ins). If it shows an unreachable error, check its power, its network cable and the site's internet. It recovers by itself when it checks in again.
- The clock was reset after a power cut. A controller can lose its clock and show a wrong or empty date. YCAccess now sets the clock by itself when the controller checks in, so you do not need to do anything.
Two controllers share one address
Where you see it: at the top of the Dashboard, in a red Address clash box that names the controllers, the address they share and the fix; and under Controllers needing attention, marked Address clash, with "Same network address as other controller (address). Commands may reach the wrong controller." Each controller's page shows the same in a red box. Wherever a controller's status shows (the Dashboard, its site, its page), it says Address clash in place of Error (unreachable) or any other status.
What it means: two controllers behind the same router have the same IP address on the site's network, so they also share one connection address. The router cannot tell them apart, and what YCAccess sends to one can reach the other. Syncing fails again and again, and door opens are late or fail. It usually happens when a controller is given an address that another controller already has.
Fix: move one of them to a free address. Only one has to move. The controller page says which serial number to use: "Run the YCAccess setup tool on that network with -Serial serial to give one of them a free address."
- On a Windows computer on the same router, run the YCAccess setup tool from your YCAccess provider (YCAccess-Internet-Setup.cmd) with that serial number, for example
YCAccess-Internet-Setup.cmd -Serial 123456789. - The tool lists every controller on the network and warns that two have the SAME address. It picks a free address and asks first: type Y and press Enter.
- When it says ALL DONE, open that controller in YCAccess and click Check. YCAccess then reads its new address, and the warning goes on both controllers.
| What you see | Fix |
|---|---|
| The warning is still there after Check | Click Check on the other controller too. If it stays, run the setup tool again: it lists every controller on the network with its address. |
| The tool says "No free address found near the top of this network." | Ask the person who looks after the router for a free address. |
The setup command stops
| Message | What to do |
|---|---|
| That setup code is not valid, or it has already been used. | Get a new setup code and run the command again. |
| This controller's serial is not on the approved list. | Ask your YCAccess provider to approve the serial number. |
| This controller's serial is already registered or in use at another site. | Ask your YCAccess provider which site has it. |
| Too many attempts. Wait a few minutes and try again. | Wait, then try again. |
Tips and good to know
- Doors keep working with the cards they already hold if the site loses its internet connection. New changes wait until the controller checks in again.
- The setup code is single-use and expires in 30 minutes. The setup command never prints it.
- A site has one cloud bridge. You cannot add or revoke it.