Nextcloud
The Nextcloud integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] pulls summary Nextcloud information into Home Assistant.
The integration provides sensors and binary sensors for most of the data points that the built-in Nextcloud serverinfo app provides.
To see which datapoints your nextcloud instance exposes, browse to this url: https://<your_nextcloud_url>/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false.

Configuration
This integration has the following Nextcloud Server prerequisites:
- The user must be in the Nextcloud
admingroup (Nextcloud > Users) - The Nextcloud βMonitoringβ app must be installed (Nextcloud > Apps > π(Search Icon) > Monitoring > Enable)
- (Recommended) A Nextcloud App password should be generated for use in Home Assistant (Nextcloud > Settings > Personal > Security > Devices & sessions > Create new app password)
Configuration
To add the Nextcloud service to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesnβt work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select Nextcloud.
-
Follow the instructions on screen to complete the setup.
Sensors
For each entry, the integration will create the following sensorsSensors return information about a thing, for instance the level of water in a tank. [Learn more]:
| Sensor | Enabled by default |
|---|---|
| Amount of active users last 5 minutes | β |
| Amount of active users last day | β |
| Amount of active users last hour | β |
| Amount of files | β |
| Amount of group shares | β |
| Amount of link shares | β |
| Amount of local storages | β |
| Amount of mail shares | β |
| Amount of other storages | β |
| Amount of passwordless link shares | β |
| Amount of room shares | β |
| Amount of shares | β |
| Amount of shares received | β |
| Amount of shares sent | β |
| Amount of storages | β |
| Amount of storages at home | β |
| Amount of user | β |
| Amount of user shares | β |
| Apps installed | β |
| Avatars enabled | β |
| CPU load last 1 minute | β |
| CPU load last 15 minutes | β |
| CPU load last 5 minutes | β |
| Cache TTL | β |
| Cache expunges | β |
| Cache memory | β |
| Cache memory size | β |
| Cache number of entries | β |
| Cache number of hits | β |
| Cache number of inserts | β |
| Cache number of misses | β |
| Cache number of slots | β |
| Cache start time | β |
| Database size | β |
| Database type | β |
| Database version | β |
| Debug enabled | β |
| Filelocking enabled | β |
| Free memory | β |
| Free space | β |
| Free swap memory | β |
| Interned buffer size | β |
| Interned free memory | β |
| Interned number of strings | β |
| Interned used memory | β |
| JIT active | β |
| JIT buffer free | β |
| JIT buffer size | β |
| JIT enabled | β |
| JIT kind | β |
| JIT opt flags | β |
| JIT opt level | β |
| Opcache blacklist miss ratio | β |
| Opcache blacklist misses | β |
| Opcache cached keys | β |
| Opcache cached scripts | β |
| Opcache current wasted percentage | β |
| Opcache free memory | β |
| Opcache hash restarts | β |
| Opcache hit rate | β |
| Opcache hits | β |
| Opcache last restart time | β |
| Opcache manual restarts | β |
| Opcache max cached keys | β |
| Opcache misses | β |
| Opcache out of memory restarts | β |
| Opcache start time | β |
| Opcache used memory | β |
| Opcache wasted memory | β |
| PHP max execution time | β |
| PHP memory limit | β |
| PHP upload maximum filesize | β |
| PHP version | β |
| Previews enabled | β |
| SMA available memory | β |
| SMA number of segments | β |
| SMA segment size | β |
| System memcache distributed | β |
| System memcache local | β |
| System memcache locking | β |
| System theme | β |
| System version | β |
| Total memory | β |
| Total swap memory | β |
| Updates available | β |
| Webserver | β |
Update entity
An updateAn update entity is an entity that indicates if an update is available for a device or service. [Learn more] entity will be created for each entry.