2020-12-28 06:49:30 +01:00
# Generac MobileLink Binding
This binding communicates with the Generac MobileLink API and reports on the status of Generac manufactured generators, including versions resold under the brands Eaton, Honeywell and Siemens.
## Supported Things
### MobileLink Account
A MobileLink account bridge thing represents a user's MobileLink account and is responsible for authentication and polling for updates.
ThingTypeUID: `account`
### Generator
2024-09-28 17:46:53 +02:00
A Generator thing represents an individual generator linked to an account bridge. Multiple generators are supported.
2020-12-28 06:49:30 +01:00
ThingTypeUID: `generator`
## Discovery
2024-09-28 17:46:53 +02:00
The MobileLink account bridge must be added manually. Once added, generator things will automatically be added to the inbox.
2020-12-28 06:49:30 +01:00
## Thing Configuration
### MobileLink Account
| Parameter | Description |
|-----------------|------------------------------------------------------------------------------------|
| username | The user name, typically an email address, used to login to the MobileLink service |
| password | The password used to login to the MobileLink service |
| refreshInterval | The frequency to poll for generator updates, minimum duration is 30 seconds |
## Channels
### Generator Channels
2022-12-08 21:36:05 +01:00
All channels are read-only.
2020-12-28 06:49:30 +01:00
2023-04-09 11:48:12 +02:00
| Channel ID | Item Type | Description |
|----------------------|-----------------------------|-----------------------------------|
| heroImageUrl | String | Hero Image URL |
| statusLabel | String | Status Label |
| statusText | String | Status Text |
| activationDate | DateTime | Activation Date |
| deviceSsid | String | Device SSID |
| status | Number | Status |
| isConnected | Switch | Is Connected |
| isConnecting | Switch | Is Connecting |
| showWarning | Switch | Show Warning |
| hasMaintenanceAlert | Switch | Has Maintenance Alert |
| lastSeen | DateTime | Last Seen |
| connectionTime | DateTime | Connection Time |
| runHours | Number:Time | Number of Hours Run |
| batteryVoltage | Number:ElectricPotential | Battery Voltage |
| hoursOfProtection | Number:Time | Number of Hours of Protection |
| signalStrength | Number:Dimensionless | Signal Strength |
2020-12-28 06:49:30 +01:00
## Full Example
### Things
2022-12-08 21:36:05 +01:00
```java
2020-12-28 06:49:30 +01:00
Bridge generacmobilelink:account:main "MobileLink Account" [ userName="foo@bar.com", password="secret",refreshInterval=60 ] {
Thing generator 123456 "MobileLink Generator" [ generatorId="123456" ]
}
```
### Items
2022-12-08 21:36:05 +01:00
```java
2023-04-09 11:48:12 +02:00
String GeneratorHeroImageUrl "Hero Image URL [%s]" { channel="generacmobilelink:generator:main:123456:heroImageUrl" }
String GeneratorStatusLabel "Status Label [%s]" { channel="generacmobilelink:generator:main:123456:statusLabel" }
String GeneratorStatusText "Status Text [%s]" { channel="generacmobilelink:generator:main:123456:statusText" }
DateTime GeneratorActivationDate "Activation Date [%s]" { channel="generacmobilelink:generator:main:123456:activationDate" }
String GeneratorDeviceSsid "Device SSID [%s]" { channel="generacmobilelink:generator:main:123456:deviceSsid" }
Number GeneratorStatus "Status [%d]" { channel="generacmobilelink:generator:main:123456:status" }
Switch GeneratorIsConnected "Is Connected [%s]" { channel="generacmobilelink:generator:main:123456:isConnected" }
Switch GeneratorIsConnecting "Is Connecting [%s]" { channel="generacmobilelink:generator:main:123456:isConnecting" }
Switch GeneratorShowWarning "Show Warning [%s]" { channel="generacmobilelink:generator:main:123456:showWarning" }
Switch GeneratorHasMaintenanceAlert "Has Maintenance Alert [%s]" { channel="generacmobilelink:generator:main:123456:hasMaintenanceAlert" }
DateTime GeneratorLastSeen "Last Seen [%s]" { channel="generacmobilelink:generator:main:123456:lastSeen" }
DateTime GeneratorConnectionTime "Connection Time [%s]" { channel="generacmobilelink:generator:main:123456:connectionTime" }
Number:Time GeneratorRunHours "Number of Hours Run [%d]" { channel="generacmobilelink:generator:main:123456:runHours" }
Number:ElectricPotential GeneratorBatteryVoltage "Battery Voltage [%d]v" { channel="generacmobilelink:generator:main:123456:batteryVoltage" }
Number:Time GeneratorHoursOfProtection "Number of Hours of Protection [%d]" { channel="generacmobilelink:generator:main:123456:hoursOfProtection" }
Number:Dimensionless GeneratorSignalStrength "Signal Strength [%d]" { channel="generacmobilelink:generator:main:123456:signalStrength" }
2020-12-28 06:49:30 +01:00
```
### Sitemap
2022-12-08 21:36:05 +01:00
```perl
2023-04-09 11:48:12 +02:00
sitemap generacmobilelink label="Generac MobileLink"
{
Frame label="Generator Status" {
Text item=GeneratorStatus
Text item=GeneratorStatusLabel
Text item=GeneratorStatusText
}
Frame label="Generator Properties" {
Text item=GeneratorRunHours
Text item=GeneratorHoursOfProtection
Text item=GeneratorBatteryVoltage
Text item=GeneratorSignalStrength
}
2020-12-28 06:49:30 +01:00
}
```