> For the complete documentation index, see [llms.txt](https://noren.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://noren.gitbook.io/docs/products/parkingpal/setup.md).

# Setup

{% hint style="success" %}
This setup guide is only for ParkingPal V2.0 and above.
{% endhint %}

***

## Setting up a parking sensor

{% stepper %}
{% step %}

### Get your parking spots ready

If you do not have your parking spots yet, you can use the pre-made parking spot which is already set up together with the sensor. It is easier to duplicate it with Archimedes.

To use Archimedes to duplicate the pre-made parking spots:

1. Select the pre-made parking spot.
2. Set the direction to Z.
3. Select/deselect Swap Sides depending on your preferences.
4. Set Alignment to Middle.
5. Set Amount to the amount of spots you want in the row.

<figure><img src="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2FKdZnLRXKWTJn931v3dN8%2Fimage.png?alt=media&amp;token=35d7b0ac-4668-46dc-8835-b1208998ae1e" alt="" width="188"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Set up your parking sensor

Move the parking sensor to your desired position. Then, scale the `DetectionArea` part and ensure that it covers the entire parking spot, excluding the outlines.
{% endstep %}
{% endstepper %}

***

## Parking sensor states

Parking sensors have a `CurrentState` attribute which you can use to find out whether a parking spot is open, occupied, or unavailable.

Your parking sensor's `CurrentState` attribute will automatically update to "Open" or "Occupied" automatically when a vehicle enters/leaves.

You can also set your parking sensor's `CurrentState` to "Unavailable", which will make the parking sensor's light blink orange depending on your configuration. This is used to indicate that a parking spot is unavailable. Your parking sensor won't detect for vehicles when unavailable, and it will never automatically become Unavailable.

{% hint style="warning" %}
Never modify the DeviceType attribute! The system will not recognize the parking sensor if you do so.
{% endhint %}

<figure><img src="https://2003973015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwTl7ee71Ep2CrOl2uOej%2Fuploads%2Fr6Sw9vIVCeGea9BK7D4s%2Fimage.png?alt=media&amp;token=f7049838-fc77-47bd-9382-7ce48fcb307f" alt=""><figcaption></figcaption></figure>
