Interface

IFarmOSConnectionStatus

IFarmOSConnectionStatus

An object which exposes the current connection status with farmOS and general information about the apps online/offline state.

Properties:
Name Type Description
hasNetworkConnection Boolean

Does a network connection exist?

canReachFarmOS Boolean

Can the app reach farmOS?

isLoggedIn Boolean

Is the app currently logged in as a farmOS user?

isOnline Boolean

Is the app both logged in and able to reach farmOS?

userId String

The UUID of the currently logged in farmOS user

farmName String

The most recent observed farmOS instance name since Asset Link booted

farmOSVersion String

The most recent observed farmOS version since Asset Link booted

systemOfMeasurement String

The most recent observed farmOS system of measurement since Asset Link booted

View Source assetlink-plugin-api/src/IFarmOSConnectionStatus.js, line 3