# Wi-Fi

Your app can access the local Wi-Fi network to connect with devices, and reach the internet to talk with external APIs.

{% hint style="info" %}
The Wi-Fi connection might not always be available. Homey will still function normally without Wi-Fi or internet, so ensure your app handles these cases.
{% endhint %}

## LAN

Homey can access devices on the LAN, for example on `192.168.1.100`. No extra permissions are required to access these devices locally.

### Discovery

The preferred way of connecting to LAN devices is by discovering them automatically. Learn more about connecting to LAN devices in the [Discovery guide](https://apps.developer.homey.app/wireless/wi-fi/discovery).

{% hint style="info" %}
Homey Bridge does not support local Wi-Fi connections, and therefore mDNS, SSDP and MAC discovery are not supported on Homey Cloud.
{% endhint %}

{% hint style="warning" %}
App Store submissions where users must enter an IP address, where discovery could have been used instead, will be rejected.
{% endhint %}

## Cloud

Homey can talk to the internet without extra permissions. Many Web APIs can be accessed this way.

### OAuth2

Many modern Web APIs authenticate using OAuth2, you can lean more about creating Homey apps that connect to OAuth2 Web APIs by reading the[ OAuth2 guide](https://apps.developer.homey.app/cloud/oauth2).

### Webhooks

Homey can receive external webhooks, even if it's behind a user's router. You can learn more about receiving webhook events in Homey apps by reading the [webhooks guide](https://apps.developer.homey.app/cloud/webhooks).
