Updated external content (Jenkins build 237)
parent
e995824189
commit
95a90dab1b
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
|
@ -19,13 +19,19 @@ Scrapes the web interface of the inverter for the metrics of the supported chann
|
|||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## Supported Things
|
||||
|
||||
### First generation devices (PIKO)
|
||||
|
||||
Tested with Kostal Inverter PIKO but might work with other inverters from kostal too.
|
||||
Tested with Kostal Inverter PIKO but might work with other inverters from Kostal too.
|
||||
|
||||
### Second generation devices (PIKO 10-20, PIKO NEW GENERATION)
|
||||
|
||||
Tested with Kostal Inverter PIKO 10-20, PIKO NEW GENERATION.
|
||||
|
||||
### Third generation devices (PIKO IQ / PLENTICORE plus)
|
||||
|
||||
|
@ -74,6 +80,78 @@ None
|
|||
- l3Voltage
|
||||
- l3Power
|
||||
|
||||
### Second generation devices (PIKO 10-20, PIKO NEW GENERATION)
|
||||
|
||||
| Channel Type ID | Item Type | Description | Read Write |
|
||||
|------------------------------------------|--------------------------|----------------------------------------------------------------------------------|:----------:|
|
||||
| device-local-grid-output-power | Number:Power | Current output power to the grid | R |
|
||||
| statistic-yield-day-second-gen | Number:Energy | Total produced power today | R |
|
||||
| statistic-yield-total-second-gen | Number:Energy | Total produced power | R |
|
||||
| device-local-operating-status | Number:Dimensionless | Current operating status, 0 = Standby, 3 = WO-IDLE | R |
|
||||
| device-local-grid-voltage-l1 | Number:ElectricPotential | Current output voltage to the grid, L1 | R |
|
||||
| device-local-grid-current-l1 | Number:ElectricCurrent | Current output current to the grid, L1 | R |
|
||||
| device-local-grid-power-l1 | Number:Power | Current output power to the grid, L1 | R |
|
||||
| device-local-grid-voltage-l2 | Number:ElectricPotential | Current output voltage to the grid, L2 | R |
|
||||
| device-local-grid-current-l2 | Number:ElectricCurrent | Current output current to the grid, L2 | R |
|
||||
| device-local-grid-power-l2 | Number:Power | Current output power to the grid, L2 | R |
|
||||
| device-local-grid-voltage-l3 | Number:ElectricPotential | Current output voltage to the grid, L3 | R |
|
||||
| device-local-grid-current-l3 | Number:ElectricCurrent | Current output current to the grid, L3 | R |
|
||||
| device-local-grid-power-l3 | Number:Power | Current output power to the grid, L3 | R |
|
||||
| device-local-dc-power-pv | Number:Power | Current power from all solar panels | R |
|
||||
| device-local-dc1-voltage | Number:ElectricPotential | Current voltage from solar panels, Dc1 | R |
|
||||
| device-local-dc1-current | Number:ElectricCurrent | Current current from solar panels, Dc1 | R |
|
||||
| device-local-dc1-power | Number:Power | Current power from solar panels, Dc1 | R |
|
||||
| device-local-dc2-voltage | Number:ElectricPotential | Current voltage from solar panels, Dc2 | R |
|
||||
| device-local-dc2-current | Number:ElectricCurrent | Current current from solar panels, Dc2 | R |
|
||||
| device-local-dc2-power | Number:Power | Current power from solar panels, Dc2 | R |
|
||||
| device-local-dc3-voltage | Number:ElectricPotential | Current voltage from solar panels, Dc3 | R |
|
||||
| device-local-dc3-current | Number:ElectricCurrent | Current current from solar panels, Dc3 | R |
|
||||
| device-local-dc3-power | Number:Power | Current power from solar panels, Dc3 | R |
|
||||
| device-local-akt-home-consumption-solar | Number:Power | Current consumption from solar panels | R |
|
||||
| device-local-akt-home-consumption-bat | Number:Power | Current consumption from battery | R |
|
||||
| device-local-akt-home-consumption-grid | Number:Power | Current consumption from grid | R |
|
||||
| device-local-phase-sel-home-consump-l1 | Number:Power | Current home consumption, L1 | R |
|
||||
| device-local-phase-sel-home-consump-l2 | Number:Power | Current home consumption, L2 | R |
|
||||
| device-local-phase-sel-home-consump-l3 | Number:Power | Current home consumption, L3 | R |
|
||||
| device-local-grid-freq | Number:Frequency | Current frequency on grid | R |
|
||||
| device-local-grid-cos-phi | Number:Angle | Current power factor on grid | R |
|
||||
| statistic-home-consumption-day | Number:Energy | Total home consumption today | R |
|
||||
| statistic-own-consumption-day | Number:Energy | Total own consumption today | R |
|
||||
| statistic-own-cons-rate-day | Number:Dimensionless | Total own consumption rate today | R |
|
||||
| statistic-autonomy-degree-day | Number:Dimensionless | Total autonomy degree today | R |
|
||||
| statistic-home-consumption-total | Number:Energy | Total home consumption | R |
|
||||
| statistic-own-consumption-total | Number:Energy | Total own consumption | R |
|
||||
| statistic-operating-time-total | Number:Time | Total operating time | R |
|
||||
| device-local-current | Number:ElectricCurrent | Current | R |
|
||||
| device-local-current-dir | Number:Dimensionless | Current direction of loading/unloading the battery | R |
|
||||
| device-local-charge-cycles | Number:Dimensionless | Total number of charge cycles | R |
|
||||
| device-local-battery-temperature | Number:Temperature | Battery current temperature | R |
|
||||
| device-local-loginterval | Number:Time | Value for loginterval | R |
|
||||
| device-local-s0-inpulse-cnt | Number:Dimensionless | S0-pulse counter | R |
|
||||
| statistic-own-cons-rate-total | Number:Dimensionless | Total own comsumption rate | R |
|
||||
| statistic-autonomy-degree-total | Number:Dimensionless | Total autonomy degree | R |
|
||||
| device-local-battery-voltage | Number:ElectricPotential | Battery current voltage | R |
|
||||
| device-local-bat-state-of-charge | Number:Dimensionless | Battery current charge state | R |
|
||||
| device-local-self-consumption | Number:Power | Current self consumption | R |
|
||||
| device-local-battery-usage-consumption | Number:Power | Battery usage consumption | R |
|
||||
| device-local-smart-battery-control | Switch | Smart battery control | R |
|
||||
| device-local-shadow-management | Number:Dimensionless | Shadow management | R |
|
||||
| device-local-external-module-control | Number:Dimensionless | External module control | R |
|
||||
|
||||
The following Channels are writeable
|
||||
|
||||
| Channel Type ID | Item Type | Description | Read Write |
|
||||
|------------------------------------------|--------------------------|----------------------------------------------------------------------------------|:----------:|
|
||||
| device-local-battery-usage-consumption-set| String | Battery usage consumption level for power-consumption from battery, value = 100 (W) | W |
|
||||
| device-local-battery-usage-strategy-set | String | Battery usage strategy, Value = 1 = Automatic, Value = 2 = Automatic economical | W |
|
||||
| device-local-smart-battery-control-set | Switch | Smart battery control, Value = OFF / ON | W |
|
||||
| device-local-battery-charge-time-from-set| String | Battery charge time from, Value = 00:00 | W |
|
||||
| device-local-battery-charge-time-to-set | String | Battery charge time to, Value = 23:59 | W |
|
||||
| device-local-max-depth-of-discharge-set | String | Max depth of discharge (SoC), Value = 10 | W |
|
||||
| device-local-shadow-management-set | String | Shadow management, Value = 0 = No shadow management enabled, Value = 1 = Shadow management enabled for DC-Input String 1, Value = 2 = Shadow management enabled for DC-Input String 2, Value = 3 = Shadow management enabled for DC-Input String 1 and 2 | W |
|
||||
| device-local-external-module-control-set | String | External module control, Value = 0 = Not Activated, Value = 1 = Activated | W |
|
||||
|
||||
|
||||
### Third generation devices (PIKO IQ / PLENTICORE plus)
|
||||
|
||||
| Channel Type ID | Item Type | Description | Read Write |
|
||||
|
@ -163,6 +241,31 @@ If the thing goes online then the connection to the web interface is successful.
|
|||
In case it is offline you should see an error message.
|
||||
You optionally can define a `userName` and a `password` parameter if the access to the webinterface is protected and a desired `refreshInterval` (the time interval between updates, default 60 seconds).
|
||||
|
||||
|
||||
### Second generation devices (PIKO 10-20, PIKO NEW GENERATION)
|
||||
|
||||
Second generation inverters require 5 mandatory parameters:
|
||||
|
||||
| Parameter | Description | Type | Unit | Default value | Example value |
|
||||
|--------------------------|--------------------------------------------------------|---------|---------|---------------|---------------|
|
||||
| url | Host name or IP address of your device | Text | --- | --- | 192.168.0.2 |
|
||||
| username | Username for your inverter | Text | --- | --- | myUsername |
|
||||
| password | Password for your inverter | Text | --- | --- | myPassword |
|
||||
| refreshInterval | Pollingintervall of your inverter | Integer | Seconds | 60 | 60 |
|
||||
| hasBattery | Type of PIKO 10-20 inverter, with or without battery | boolean | --- | -- | false/true |
|
||||
|
||||
demo.things
|
||||
|
||||
```
|
||||
|
||||
Thing kostalinverter:piko1020:mypiko1020 [ url="http://'inverter-ip'", username="'myUsername'", password="'myPassword'", refreshInterval=60, hasBattery=false]
|
||||
|
||||
```
|
||||
|
||||
You can define which type of PIKO10-20 inverter you will connect to with parameter hasBattery.
|
||||
|
||||
|
||||
|
||||
### Third generation devices (PIKO IQ / PLENTICORE plus)
|
||||
|
||||
All third generation inverters require to define 3 mandatory configuration parameters:
|
||||
|
@ -197,11 +300,76 @@ Number:Energy SolarTotalEnergy "Solar total energy [%.3f %unit%]" <energy> { cha
|
|||
String SolarStatus "Solar status [%s]" <energy> { channel="kostalinverter:kostalinverter:inverter:status" }
|
||||
```
|
||||
|
||||
|
||||
### Second generation devices (PIKO NEW GENERATION)
|
||||
|
||||
demo.items:
|
||||
|
||||
```
|
||||
Number:Power GridOutputPower "PV Output Power" <energy> { channel="kostalinverter:piko1020:mypiko1020:gridOutputPower" }
|
||||
Number:Energy YieldDaySecondGen "PV Output Power Day" <energy> { channel="kostalinverter:piko1020:mypiko1020:yieldDaySecondGen" }
|
||||
Number:Energy YieldTotalSecondGen "PV Output Power Total" <energy> { channel="kostalinverter:piko1020:mypiko1020:yieldTotalSecondgen" }
|
||||
Number:Dimensionless OperatingStatus "Operating Status" <energy> { channel="kostalinverter:piko1020:mypiko1020:operatingStatus" }
|
||||
Number:ElectricPotential GridVoltageL1 "Grid Voltage L1" <energy> { channel="kostalinverter:piko1020:mypiko1020:gridVoltageL1" }
|
||||
Number:ElectricCurrent GridCurrentL1 "Grid Current L1" <energy> { channel="kostalinverter:piko1020:mypiko1020:gridCurrentL1" }
|
||||
Number:Power GridPowerL1 "Grid Power L1" <energy> { channel="kostalinverter:piko1020:mypiko1020:gridPowerL1" }
|
||||
Number:ElectricPotential GridVoltageL2 "Grid Voltage L2" <energy> { channel="kostalinverter:piko1020:mypiko1020:gridVoltageL2" }
|
||||
Number:ElectricCurrent GridCurrentL2 "Grid Current L2" <energy> { channel="kostalinverter:piko1020:mypiko1020:gridCurrentL2" }
|
||||
Number:Power GridPowerL2 "Grid Power L2" <energy> { channel="kostalinverter:piko1020:mypiko1020:gridPowerL2" }
|
||||
Number:ElectricPotential GridVoltageL3 "Grid Voltage L3" <energy> { channel="kostalinverter:piko1020:mypiko1020:gridVoltageL3" }
|
||||
Number:ElectricCurrent GridCurrentL3 "Grid Current L3" <energy> { channel="kostalinverter:piko1020:mypiko1020:gridCurrentL3" }
|
||||
Number:Power GridPowerL3 "Grid Power L3" <energy> { channel="kostalinverter:piko1020:mypiko1020:gridPowerL3" }
|
||||
Number:Power DcPvPower "DC Power Pv" <energy> { channel="kostalinverter:piko1020:mypiko1020:dcPowerPV" }
|
||||
Number:ElectricPotential Dc1Voltage "DC1 Voltage" <energy> { channel="kostalinverter:piko1020:mypiko1020:dc1Voltage" }
|
||||
Number:ElectricCurrent Dc1Current "DC1 Current" <energy> { channel="kostalinverter:piko1020:mypiko1020:dc1Current" }
|
||||
Number:Power Dc1Power "DC1 Power" <energy> { channel="kostalinverter:piko1020:mypiko1020:dc1Power" }
|
||||
Number:ElectricPotential Dc2Voltage "DC2 Voltage" <energy> { channel="kostalinverter:piko1020:mypiko1020:dc2Voltage" }
|
||||
Number:ElectricCurrent Dc2Current "DC2 Current" <energy> { channel="kostalinverter:piko1020:mypiko1020:dc2Current" }
|
||||
Number:Power Dc2Power "DC2 Power" <energy> { channel="kostalinverter:piko1020:mypiko1020:dc2Power" }
|
||||
Number:ElectricPotential Dc3Voltage "DC3 Voltage" <energy> { channel="kostalinverter:piko1020:mypiko1020:dc3Voltage" }
|
||||
Number:ElectricCurrent Dc3Current "DC3 Current" <energy> { channel="kostalinverter:piko1020:mypiko1020:dc3Current" }
|
||||
Number:Power Dc3Power "DC3 Power" <energy> { channel="kostalinverter:piko1020:mypiko1020:dc3Power" }
|
||||
Number:Power AktHomeConsumptionSolar "Akt Home Consumption Solar" <energy> { channel="kostalinverter:piko1020:mypiko1020:aktHomeConsumptionSolar" }
|
||||
Number:Power AktHomeConsumptionBat "Akt Home Consumption Battery" <energy> { channel="kostalinverter:piko1020:mypiko1020:aktHomeConsumptionBat" }
|
||||
Number:Power AktHomeConsumptionGrid "Akt Home Consumption Grid" <energy> { channel="kostalinverter:piko1020:mypiko1020:aktHomeConsumptionGrid" }
|
||||
Number:Power PhaseSelHomeConsumpL1 "Phase Sel Home Consump L1" <energy> { channel="kostalinverter:piko1020:mypiko1020:phaseSelHomeConsumpL1" }
|
||||
Number:Power PhaseSelHomeConsumpL2 "Phase Sel Home Consump L2" <energy> { channel="kostalinverter:piko1020:mypiko1020:phaseSelHomeConsumpL2" }
|
||||
Number:Power PhaseSelHomeConsumpL3 "Phase Sel Home Consump L3" <energy> { channel="kostalinverter:piko1020:mypiko1020:phaseSelHomeConsumpL3" }
|
||||
Number:Frequency GridFreq "Grid Freq" <energy> { channel="kostalinverter:piko1020:mypiko1020:gridFreq" }
|
||||
Number:Angle GridCosPhi "Grid Cos Phi" <energy> { channel="kostalinverter:piko1020:mypiko1020:gridCosPhi" }
|
||||
Number:Energy HomeConsumptionDay "Home Consumption Day" <energy> { channel="kostalinverter:piko1020:mypiko1020:homeConsumptionDay" }
|
||||
Number:Energy OwnConsumptionDay "Own Consumption Day" <energy> { channel="kostalinverter:piko1020:mypiko1020:ownConsumptionDay" }
|
||||
Number:Dimensionless OwnConsRateDay "Own Cons Rate Day <energy> { channel="kostalinverter:piko1020:mypiko1020:ownConsRateDay" }
|
||||
Number:Dimensionless AutonomyDegreeDay "Autonomy Degree Day" <energy> { channel="kostalinverter:piko1020:mypiko1020:autonomyDegreeDay" }
|
||||
Number:Energy HomeConsumptionTotal "Home Consumption Total" <energy> { channel="kostalinverter:piko1020:mypiko1020:homeConsumptionTotal" }
|
||||
Number:Energy OwnConsumptionTotal "Own Consumption Total" <energy> { channel="kostalinverter:piko1020:mypiko1020:ownConsumptionTotal" }
|
||||
Number:Time OperatingTimeTotal "Operating Time Total" <energy> { channel="kostalinverter:piko1020:mypiko1020:operatingTimeTotal" }
|
||||
Number:ElectricCurrent Current "Current" <energy> { channel="kostalinverter:piko1020:mypiko1020:current" }
|
||||
Number:Dimensionless CurrentDir "Current Dir" <energy> { channel="kostalinverter:piko1020:mypiko1020:currentDir" }
|
||||
Number:Dimensionless ChargeCycles "Charge Cycles" <energy> { channel="kostalinverter:piko1020:mypiko1020:chargeCycles" }
|
||||
Number:Temperature BatteryTemperature "BatteryTemperature" <energy> { channel="kostalinverter:piko1020:mypiko1020:batteryTemperature" }
|
||||
Number:Time Loginterval "Log Interval" <energy> { channel="kostalinverter:piko1020:mypiko1020:loginterval" }
|
||||
Number:Dimensionless S0InPulseCnt "S0 InPulse Cnt" <energy> { channel="kostalinverter:piko1020:mypiko1020:s0InPulseCnt" }
|
||||
Number:Dimensionless OwnConsRateTotal "Own Cons Rate Total" <energy> { channel="kostalinverter:piko1020:mypiko1020:ownConsRateTotal" }
|
||||
Number:Dimensionless AutonomyDegreeTotal "Autonomy Degree Total" <energy> { channel="kostalinverter:piko1020:mypiko1020:autonomyDegreeTotal" }
|
||||
Number:ElectricPotential BatteryVoltage "Battery Voltage" <energy> { channel="kostalinverter:piko1020:mypiko1020:batteryVoltage" }
|
||||
Number:Dimensionless BatStateOfCharge "Bat State Of Charge" <energy> { channel="kostalinverter:piko1020:mypiko1020:batStateOfCharge" }
|
||||
Number:Power SelfConsumption "Self Consumption" <energy> { channel="kostalinverter:piko1020:mypiko1020:selfConsumption" }
|
||||
Number:Dimensionless BatteryUsageConsumption "Battery Usage Consumption" <energy> { channel="kostalinverter:piko1020:mypiko1020:batteryUsageConsumption" }
|
||||
Switch SmartBatteryControl "Smart Battery Control" <energy> { channel="kostalinverter:piko1020:mypiko1020:smartBatteryControl" }
|
||||
Number:Dimensionless MaxDepthOfDischarge "Max Depth Of Discharge" <energy> { channel="kostalinverter:piko1020:mypiko1020:maxDepthOfDischarge" }
|
||||
Number:Dimensionless ShadowManagement "Shadow Management" <energy> { channel="kostalinverter:piko1020:mypiko1020:shadowManagement" }
|
||||
Number:Dimensionless ExternalModuleControl "External Module Control" <energy> { channel="kostalinverter:piko1020:mypiko1020:externalModuleControl" }
|
||||
|
||||
|
||||
```
|
||||
|
||||
### Third generation devices (PIKO IQ / PLENTICORE plus)
|
||||
|
||||
demo.items:
|
||||
|
||||
```
|
||||
|
||||
Number:Energy MyPlentiCore100WithBattery_DEVICE_LOCAL_DC_POWER <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalDCPower"}
|
||||
Number:Energy MyPlentiCore100WithBattery_DEVICE_LOCAL_HOMECONSUMPTION_FROM_BATTERY <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalHomeconsumptionFromBattery"}
|
||||
Number:Energy MyPlentiCore100WithBattery_DEVICE_LOCAL_HOMECONSUMPTION_FROM_GRID <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalHomeconsumptionFromGrid"}
|
||||
|
@ -271,3 +439,28 @@ Number:Energy MyPlentiCore100WithBattery_STATISTIC_YIELD_TOTAL
|
|||
Number:Energy MyPlentiCore100WithBattery_STATISTIC_YIELD_YEAR <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticYieldYear"}
|
||||
|
||||
```
|
||||
|
||||
|
||||
### Rules
|
||||
|
||||
Second generation devices (PIKO 10-20, PIKO NEW GENERATION)
|
||||
|
||||
```
|
||||
|
||||
Ex. Set Smart battery control OFF with cron trigger:
|
||||
|
||||
triggers:
|
||||
id: "1"
|
||||
configuration:
|
||||
cronExpression: 0 0/2 * * * ? *
|
||||
type: timer.GenericCronTrigger
|
||||
conditions: []
|
||||
actions:
|
||||
inputs: {}
|
||||
id: "2"
|
||||
configuration:
|
||||
type: application/vnd.openhab.dsl.rule
|
||||
script: KOSTALPIKO1020_SmartBatteryControlSet.sendCommand("OFF")
|
||||
type: script.ScriptAction
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -145,6 +145,8 @@ Defines a `rollershutter-module` with address `4C6C`.
|
|||
| output-5 | Rollershutter | Output 5 |
|
||||
| output-6 | Rollershutter | Output 6 |
|
||||
|
||||
In case rollershutters are moving in the oposite direction when sending `UP` or `DOWN` commands, there is a `reverse` parameter, which can be set to `true` in this case to reverse the rollershutter's direction. Defaults to `false`.
|
||||
|
||||
##### Estimating Position
|
||||
|
||||
Nikobus rollershuter module does not provide information about rollershutter's position. In order to bridge this gap, an optional parameter `duration` can be set per channel, describing the amount of time needed by a rollershutter to get from open to closed state (or vice-versa).
|
||||
|
|
|
@ -66,8 +66,8 @@ All devices support the following channels:
|
|||
|-----------------|-----------------|---------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| channelSet | Number (1-9999) | Current Channel - Request (SETCH) | Displays the current channel number. When changed, tunes the DVR to the specified channel (unless a recording is in progress on all available tuners). The TiVo must be in Live TV mode for this command to work. |
|
||||
| channelForce | Number (1-9999) | Current Channel - Forced (FORCECH) | Displays the current channel number. When changed, tunes the DVR to the specified channel, **cancelling any recordings in progress if necessary** i.e. when all tuners are already in use / recording. The TiVo must be in Live TV mode for this command to work. |
|
||||
| menuTeleport | String | Change Special/Menu Screen (TELEPORT) | Change to one of the following TiVo menu screens: TIVO (Home), LIVETV, GUIDE, NOWPLAYING (My Shows), SEARCH, NETFLIX. |
|
||||
| irCommand | String | Remote Control Button (IRCOMMAND) | Send a simulated button push from the remote control to the TiVo. See Appendix A in document TCP Remote Protocol 1.1 for supported codes. |
|
||||
| menuTeleport | String | Change Special/Menu Screen (TELEPORT) | Change to one of the following TiVo menu screens: TIVO (Home), LIVETV, GUIDE, NOWPLAYING (My Shows), SEARCH, NETFLIX. |
|
||||
| irCommand | String | Remote Control Button (IRCOMMAND) | Send a simulated button push from the remote control to the TiVo. See below for available IR COMMANDS. |
|
||||
| kbdCommand | String | Keyboard Command (KEYBOARD) | Sends a code corresponding to a keyboard key press to the TiVo e.g. A-Z. See Appendix A in document TCP Remote Protocol 1.1 for supported characters and special character codes. |
|
||||
| dvrStatus | String | TiVo Status | Action return code / channel information returned by the TiVo. |
|
||||
|
||||
|
@ -76,11 +76,66 @@ All devices support the following channels:
|
|||
* To send multiple copies of the same keyboard command, append an asterisk with the number of repeats required e.g. NUM2*4 would send the number 2 four times. This is useful for performing searches where the number characters can only be accessed by pressing the keys multiple times in rapid succession i.e. each key press cycles through characters A, B, C, 2.
|
||||
* Special characters must also be changed to the appropriate command e.g. the comma symbol(`,`) must not be sent it should be replaced by 'COMMA'.
|
||||
|
||||
Available IR Commands to use with `irCommand` channel:
|
||||
UP
|
||||
DOWN
|
||||
LEFT
|
||||
RIGHT
|
||||
SELECT
|
||||
TIVO
|
||||
LIVETV
|
||||
GUIDE
|
||||
INFO
|
||||
EXIT
|
||||
THUMBSUP
|
||||
THUMBSDOWN
|
||||
CHANNELUP
|
||||
CHANNELDOWN
|
||||
PLAY
|
||||
FORWARD
|
||||
REVERSE
|
||||
PAUSE
|
||||
SLOW
|
||||
REPLAY
|
||||
ADVANCE
|
||||
RECORD
|
||||
NUM0
|
||||
NUM1
|
||||
NUM2
|
||||
NUM3
|
||||
NUM4
|
||||
NUM5
|
||||
NUM6
|
||||
NUM7
|
||||
NUM8
|
||||
NUM9
|
||||
ENTER
|
||||
CLEAR
|
||||
ACTION_A
|
||||
ACTION_B
|
||||
ACTION_C
|
||||
ACTION_D
|
||||
CC_ON
|
||||
CC_OFF
|
||||
FIND_REMOTE
|
||||
ASPECT_CORRECTION_FULL
|
||||
ASPECT_CORRECTION_PANEL
|
||||
ASPECT_CORRECTION_ZOOM
|
||||
ASPECT_CORRECTION_WIDE_ZOOM
|
||||
VIDEO_MODE_FIXED_480i
|
||||
VIDEO_MODE_FIXED_480p
|
||||
VIDEO_MODE_FIXED_720p
|
||||
VIDEO_MODE_FIXED_1080i
|
||||
VIDEO_MODE_HYBRID
|
||||
VIDEO_MODE_HYBRID_720p
|
||||
VIDEO_MODE_HYBRID_1080i
|
||||
VIDEO_MODE_NATIVE
|
||||
|
||||
## Full Example
|
||||
|
||||
**tivo.things**
|
||||
|
||||
````java
|
||||
```java
|
||||
tivo:sckt:Living_Room "Living Room TiVo" [ host="192.168.0.19" ]
|
||||
```
|
||||
|
||||
|
@ -101,6 +156,7 @@ Switch TiVo_Search "Search Demo"
|
|||
```
|
||||
|
||||
* The item `TiVo_SetChannelName` depends upon a valid `tivo.map` file to translate channel numbers to channel names. The openHAB **MAP** transformation service must also be installed.
|
||||
* See [this discussion thread] (https://community.openhab.org/t/bogob-big-ol-grid-o-buttons-is-this-even-possible-yes-yes-it-is/115343) for an example of setting up an advanced UI to simulate the look of the TiVo remote.
|
||||
|
||||
**tivo.sitemap:**
|
||||
|
||||
|
|
|
@ -144,7 +144,9 @@ A HomeKit accessory has mandatory and optional characteristics (listed below in
|
|||
The mapping between openHAB items and HomeKit accessory and characteristics is done by means of [metadata](https://www.openhab.org/docs/concepts/items.html#item-metadata)
|
||||
|
||||
### UI based Configuration
|
||||
|
||||
In order to add metadata to an item:
|
||||
|
||||
- select desired item in mainUI
|
||||
- click on "Add Metadata"
|
||||
|
||||
|
@ -166,6 +168,7 @@ In order to add metadata to an item:
|
|||
|
||||
|
||||
### Textual configuration
|
||||
|
||||
```xtend
|
||||
Switch leaksensor_metadata "Leak Sensor" {homekit="LeakSensor"}
|
||||
```
|
||||
|
@ -298,7 +301,19 @@ Rollershutter window_covering "Blind" (gBlind)
|
|||
Dimmer window_covering_htilt "Blind horizontal tilt" (gBlind) {homekit = "WindowCovering.CurrentHorizontalTiltAngle, WindowCovering.TargetHorizontalTiltAngle"}
|
||||
Dimmer window_covering_vtilt "Blind vertical tilt" (gBlind) {homekit = "WindowCovering.CurrentVerticalTiltAngle, WindowCovering.TargetVerticalTiltAngle"}
|
||||
```
|
||||
|
||||
Current and Target Position characteristics can be linked to Rollershutter but also to Number or Dimmer item types.
|
||||
e.g.
|
||||
|
||||
```xtend
|
||||
Group gBlind "Blinds" {homekit = "WindowCovering"}
|
||||
Dimmer blind_current_position (gBlind) {homekit = "CurrentPosition"}
|
||||
Number blind_target_position (gBlind) {homekit = "TargetPosition"}
|
||||
String blind_position (gBlind) {homekit = "PositionState"}
|
||||
```
|
||||
|
||||
### Thermostat
|
||||
|
||||
A HomeKit thermostat has following mandatory characteristics:
|
||||
|
||||
- CurrentTemperature
|
||||
|
@ -334,6 +349,7 @@ Number thermostat_heat_thrs "Thermostat Heat Threshold Temp [%.1f C]"
|
|||
|
||||
Current and target temperatures have default min and max values. Any values below or above max limits will be replaced with min or max limits.
|
||||
Default limits are:
|
||||
|
||||
- current temperature: min value = 0 C, max value = 100 C
|
||||
- target temperature: min value = 10 C, max value = 38 C
|
||||
|
||||
|
@ -541,23 +557,23 @@ Switch motionsensor_tampered "Motion Sensor Tampered"
|
|||
| | | TamperedStatus | Switch, Contact | Tampered status |
|
||||
| | | BatteryLowStatus | Switch, Contact | Battery status |
|
||||
| Door | | | | Motorized door. One Rollershutter item covers all mandatory characteristics. see examples below. |
|
||||
| | CurrentPosition | | Rollershutter | Current position of motorized door |
|
||||
| | TargetPosition | | Rollershutter | Target position of motorized door |
|
||||
| | PositionState | | Rollershutter | Position state. Supported states: DECREASING, INCREASING, STOPPED. Mapping can be redefined at item level, e.g. [DECREASING="Down", INCREASING="Up"]. If no state provided, "STOPPED" is used. |
|
||||
| | CurrentPosition | | Rollershutter, Dimmer, Number | Current position of motorized door |
|
||||
| | TargetPosition | | Rollershutter, Dimmer, Number | Target position of motorized door |
|
||||
| | PositionState | | Rollershutter, String | Position state. Supported states: DECREASING, INCREASING, STOPPED. Mapping can be redefined at item level, e.g. [DECREASING="Down", INCREASING="Up"]. If no state provided, "STOPPED" is used. |
|
||||
| | | Name | String | Name of the motorized door |
|
||||
| | | HoldPosition | Switch | Motorized door should stop at its current position. A value of ON must hold the state of the accessory. A value of OFF should be ignored. |
|
||||
| | | ObstructionStatus | Switch, Contact | Current status of obstruction sensor. ON-obstruction detected, OFF - no obstruction |
|
||||
| Window | | | | Motorized window. One Rollershutter item covers all mandatory characteristics. see examples below. |
|
||||
| | CurrentPosition | | Rollershutter | Current position of motorized window |
|
||||
| | TargetPosition | | Rollershutter | Target position of motorized window |
|
||||
| | PositionState | | Rollershutter | Position state. Supported states: DECREASING, INCREASING, STOPPED. Mapping can be redefined at item level, e.g. [DECREASING="Down", INCREASING="Up"]. If no state provided, "STOPPED" is used. |
|
||||
| | CurrentPosition | | Rollershutter, Dimmer, Number | Current position of motorized window |
|
||||
| | TargetPosition | | Rollershutter, Dimmer, Number | Target position of motorized window |
|
||||
| | PositionState | | Rollershutter, String | Position state. Supported states: DECREASING, INCREASING, STOPPED. Mapping can be redefined at item level, e.g. [DECREASING="Down", INCREASING="Up"]. If no state provided, "STOPPED" is used. |
|
||||
| | | Name | String | Name of the motorized window |
|
||||
| | | HoldPosition | Switch | Motorized door should stop at its current position. A value of ON must hold the state of the accessory. A value of OFF should be ignored. |
|
||||
| | | ObstructionStatus | Switch, Contact | Current status of obstruction sensor. ON-obstruction detected, OFF - no obstruction |
|
||||
| WindowCovering | | | | Window covering / blinds. One Rollershutter item covers all mandatory characteristics. see examples below. |
|
||||
| | CurrentPosition | | Rollershutter | Current position of window covering |
|
||||
| | TargetPosition | | Rollershutter | Target position of window covering |
|
||||
| | PositionState | | Rollershutter | current only "STOPPED" is supported. |
|
||||
| | CurrentPosition | | Rollershutter, Dimmer, Number | Current position of window covering |
|
||||
| | TargetPosition | | Rollershutter, Dimmer, Number | Target position of window covering |
|
||||
| | PositionState | | Rollershutter, String | current only "STOPPED" is supported. |
|
||||
| | | Name | String | Name of the windows covering |
|
||||
| | | HoldPosition | Switch | Window covering should stop at its current position. A value of ON must hold the state of the accessory. A value of OFF should be ignored. |
|
||||
| | | ObstructionStatus | Switch, Contact | Current status of obstruction sensor. ON-obstruction detected, OFF - no obstruction |
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<channel-type id="device-local-ownconsumption">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Own Consumption</label>
|
||||
<description>Current own comsumption</description>
|
||||
<description>Current own consumption</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<channel-type id="device-local-homeconsumption-total">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Home Consumption</label>
|
||||
<description>Current total homeconsumption</description>
|
||||
<description>Current total home consumption</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
|
@ -484,4 +484,438 @@
|
|||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-grid-output-power">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Grid Output Power</label>
|
||||
<description>Current output power to the grid</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="statistic-yield-day-second-gen">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Yield Day</label>
|
||||
<description>Total produced power day</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="statistic-yield-total-second-gen">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Yield Total</label>
|
||||
<description>Total produced power</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-operating-status">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Operating Status</label>
|
||||
<description>Operating status</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%d"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-grid-voltage-l1">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>Grid Voltage L1</label>
|
||||
<description>Current output voltage to the grid, L1</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-grid-current-l1">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>Grid Amperage L1</label>
|
||||
<description>Current output amperage to the grid, L1</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-grid-power-l1">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Grid Power L1</label>
|
||||
<description>Current output power to the grid, L1</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-grid-voltage-l2">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>Grid Voltage L2</label>
|
||||
<description>Current output voltage to the grid, L2</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-grid-current-l2">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>Grid Amperage L2</label>
|
||||
<description>Current output amperage to the grid, L2</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-grid-power-l2">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Grid Power L2</label>
|
||||
<description>Current output power to the grid, L2</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-grid-voltage-l3">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>Grid Voltage L3</label>
|
||||
<description>Current output voltage to the grid, L3</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-grid-current-l3">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>Grid Amperage L3</label>
|
||||
<description>Current output amperage to the grid, L3</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-grid-power-l3">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Grid Power L3</label>
|
||||
<description>Current output power to the grid, L3</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-dc-power-pv">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>DC Power PV</label>
|
||||
<description>Current power from solar panels</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-dc1-voltage">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>DC1 Voltage</label>
|
||||
<description>Current voltage from solar panels, DC1</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-dc1-current">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>DC1 Amperage</label>
|
||||
<description>Current amperage from solar panels, DC1</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-dc1-power">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>DC1 Power</label>
|
||||
<description>Current power from solar panels, DC1</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-dc2-voltage">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>DC2 Voltage</label>
|
||||
<description>Current voltage from solar panels, DC2</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-dc2-current">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>DC2 Amperage</label>
|
||||
<description>Current amperage from solar panels, DC2</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-dc2-power">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>DC2 Power</label>
|
||||
<description>Current power from solar panels, DC2</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-dc3-voltage">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>DC3 Voltage</label>
|
||||
<description>Current voltage from solar panels, DC3</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-dc3-current">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>DC3 Amperage</label>
|
||||
<description>Current amperage from solar panels, DC3</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-dc3-power">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>DC3 Power</label>
|
||||
<description>Current power from solar panels, DC3</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-akt-home-consumption-solar">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Home Consumption PV</label>
|
||||
<description>Current consumption from solar panels</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-akt-home-consumption-bat">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Home Consumption Bat</label>
|
||||
<description>Current consumption from battery</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-akt-home-consumption-grid">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Home Consumption Grid</label>
|
||||
<description>Current consumption from grid</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-phase-sel-home-consump-l1">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Home Consumption L1</label>
|
||||
<description>Current home consumption, L1</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-phase-sel-home-consump-l2">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Home Consumption L2</label>
|
||||
<description>Current home consumption, L2</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-phase-sel-home-consump-l3">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Home Consumption L3</label>
|
||||
<description>Current home consumption, L3</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-grid-freq">
|
||||
<item-type>Number:Frequency</item-type>
|
||||
<label>Grid Freq</label>
|
||||
<description>Current frequency on grid</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-grid-cos-phi">
|
||||
<item-type>Number:Angle</item-type>
|
||||
<label>Grid Cos Phi</label>
|
||||
<description>Current power factor on grid</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="statistic-home-consumption-day">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Home Consumption Day</label>
|
||||
<description>Total home consumption day</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="statistic-own-consumption-day">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Own Consumption Day</label>
|
||||
<description>Total own consumption day</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="statistic-own-cons-rate-day">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Own Cons Rate Day</label>
|
||||
<description>Total own consumption rate day</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="statistic-autonomy-degree-day">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Autonomy Degree Day</label>
|
||||
<description>Total autonomy degree day</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="statistic-home-consumption-total">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Home Consumption Total</label>
|
||||
<description>Total home consumption</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="statistic-own-consumption-total">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Own Consumption Total</label>
|
||||
<description>Total own consumptionl</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="statistic-operating-time-total">
|
||||
<item-type>Number:Time</item-type>
|
||||
<label>Operating Time Total</label>
|
||||
<description>Total operating time</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%d %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-current">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>Current</label>
|
||||
<description>Current</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-current-dir">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Current Dir</label>
|
||||
<description>Current direction</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%d"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-charge-cycles">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Charge Cycles</label>
|
||||
<description>Total number of charge cycles</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%d"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-battery-temperature">
|
||||
<item-type>Number:Temperature</item-type>
|
||||
<label>Battery Temperature</label>
|
||||
<description>Current battery temperature</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-loginterval">
|
||||
<item-type>Number:Time</item-type>
|
||||
<label>Loginterval</label>
|
||||
<description>Value for log interval</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%d %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-s0-inpulse-cnt">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>S0 Inpulse Cnt</label>
|
||||
<description>S0-pulse counter</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%d"/>
|
||||
</channel-type>
|
||||
<channel-type id="statistic-own-cons-rate-total">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Own Cons Rate Total</label>
|
||||
<description>Total own consumption rate</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="statistic-autonomy-degree-total">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Autonomy Degree Total</label>
|
||||
<description>Total autonomy degree</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-battery-voltage">
|
||||
<item-type>Number:ElectricalPotential</item-type>
|
||||
<label>Battery Voltage</label>
|
||||
<description>Current battery voltage</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-bat-state-of-charge">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Bat State of Charge</label>
|
||||
<description>Current battery charge state</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-self-consumption">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Self Consumption</label>
|
||||
<description>Current self consumption</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-battery-usage-consumption">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Battery Usage Consumption</label>
|
||||
<description>Battery usage consumption</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-smart-battery-control">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Smart Battery Control</label>
|
||||
<description>Smart battery control</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-max-depth-of-discharge">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Max Depth of Discharge</label>
|
||||
<description>Max depth of discharge</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%d"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-shadow-management">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Shadow Management</label>
|
||||
<description>Shadow management</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%d"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-external-module-control">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>External Module Control</label>
|
||||
<description>External Module Control</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="true" pattern="%d"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-battery-usage-consumption-set">
|
||||
<item-type>String</item-type>
|
||||
<label>Battery Usage Consumption Set</label>
|
||||
<description>Set battery usage consumption</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="false"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-battery-usage-strategy-set">
|
||||
<item-type>String</item-type>
|
||||
<label>Battery Usage Strategy Set</label>
|
||||
<description>Set battery usage strategy</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="false"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-smart-battery-control-set">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Smart Battery Control Set</label>
|
||||
<description>Set smart battery control</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="false"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-battery-charge-time-from-set">
|
||||
<item-type>String</item-type>
|
||||
<label>Battery Charge Time from Set</label>
|
||||
<description>Set battery charge time from</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="false"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-battery-charge-time-to-set">
|
||||
<item-type>String</item-type>
|
||||
<label>Battery Charge Time to Set</label>
|
||||
<description>Set battery charge time to</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="false"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-max-depth-of-discharge-set">
|
||||
<item-type>String</item-type>
|
||||
<label>Max Depth of Discharge Set</label>
|
||||
<description>Set max depth of discharge</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="false"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-shadow-management-set">
|
||||
<item-type>String</item-type>
|
||||
<label>Shadow Management Set</label>
|
||||
<description>Set shadow management</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="false"/>
|
||||
</channel-type>
|
||||
<channel-type id="device-local-external-module-control-set">
|
||||
<item-type>String</item-type>
|
||||
<label>External Module Control Set</label>
|
||||
<description>Set External Module Control</description>
|
||||
<category>Energy</category>
|
||||
<state readOnly="false"/>
|
||||
</channel-type>
|
||||
</thing:thing-descriptions>
|
||||
|
|
|
@ -0,0 +1,79 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="kostalinverter"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<thing-type id="piko1020">
|
||||
<label>KOSTAL PIKO 10-20</label>
|
||||
<description>Bindings for the KOSTAL PIKO 10-20</description>
|
||||
<category>Inverter</category>
|
||||
<channels>
|
||||
<channel typeId="device-local-grid-output-power" id="gridOutputPower"/>
|
||||
<channel typeId="statistic-yield-day-second-gen" id="yieldDaySecondGen"/>
|
||||
<channel typeId="statistic-yield-total-second-gen" id="yieldTotalSecondGen"/>
|
||||
<channel typeId="device-local-operating-status" id="operatingStatus"/>
|
||||
<channel typeId="device-local-grid-voltage-l1" id="gridVoltageL1"/>
|
||||
<channel typeId="device-local-grid-current-l1" id="gridCurrentL1"/>
|
||||
<channel typeId="device-local-grid-power-l1" id="gridPowerL1"/>
|
||||
<channel typeId="device-local-grid-voltage-l2" id="gridVoltageL2"/>
|
||||
<channel typeId="device-local-grid-current-l2" id="gridCurrentL2"/>
|
||||
<channel typeId="device-local-grid-power-l2" id="gridPowerL2"/>
|
||||
<channel typeId="device-local-grid-voltage-l3" id="gridVoltageL3"/>
|
||||
<channel typeId="device-local-grid-current-l3" id="gridCurrentL3"/>
|
||||
<channel typeId="device-local-grid-power-l3" id="gridPowerL3"/>
|
||||
<channel typeId="device-local-dc-power-pv" id="dcPowerPV"/>
|
||||
<channel typeId="device-local-dc1-voltage" id="dc1Voltage"/>
|
||||
<channel typeId="device-local-dc1-current" id="dc1Current"/>
|
||||
<channel typeId="device-local-dc1-power" id="dc1Power"/>
|
||||
<channel typeId="device-local-dc2-voltage" id="dc2Voltage"/>
|
||||
<channel typeId="device-local-dc2-current" id="dc2Current"/>
|
||||
<channel typeId="device-local-dc2-power" id="dc2Power"/>
|
||||
<channel typeId="device-local-dc3-voltage" id="dc3Voltage"/>
|
||||
<channel typeId="device-local-dc3-current" id="dc3Current"/>
|
||||
<channel typeId="device-local-dc3-power" id="dc3Power"/>
|
||||
<channel typeId="device-local-akt-home-consumption-solar" id="aktHomeConsumptionSolar"/>
|
||||
<channel typeId="device-local-akt-home-consumption-bat" id="aktHomeConsumptionBat"/>
|
||||
<channel typeId="device-local-akt-home-consumption-grid" id="aktHomeConsumptionGrid"/>
|
||||
<channel typeId="device-local-phase-sel-home-consump-l1" id="phaseSelHomeConsumpL1"/>
|
||||
<channel typeId="device-local-phase-sel-home-consump-l2" id="phaseSelHomeConsumpL2"/>
|
||||
<channel typeId="device-local-phase-sel-home-consump-l3" id="phaseSelHomeConsumpL3"/>
|
||||
<channel typeId="device-local-grid-freq" id="gridFreq"/>
|
||||
<channel typeId="device-local-grid-cos-phi" id="gridCosPhi"/>
|
||||
<channel typeId="statistic-home-consumption-day" id="homeConsumptionDay"/>
|
||||
<channel typeId="statistic-own-consumption-day" id="ownConsumptionDay"/>
|
||||
<channel typeId="statistic-own-cons-rate-day" id="ownConsRateDay"/>
|
||||
<channel typeId="statistic-autonomy-degree-day" id="autonomyDegreeDay"/>
|
||||
<channel typeId="statistic-home-consumption-total" id="homeConsumptionTotal"/>
|
||||
<channel typeId="statistic-own-consumption-total" id="ownConsumptionTotal"/>
|
||||
<channel typeId="statistic-operating-time-total" id="operatingTimeTotal"/>
|
||||
<channel typeId="device-local-current" id="current"/>
|
||||
<channel typeId="device-local-current-dir" id="currentDir"/>
|
||||
<channel typeId="device-local-charge-cycles" id="chargeCycles"/>
|
||||
<channel typeId="device-local-battery-temperature" id="batteryTemperature"/>
|
||||
<channel typeId="device-local-loginterval" id="loginterval"/>
|
||||
<channel typeId="device-local-s0-inpulse-cnt" id="s0InPulseCnt"/>
|
||||
<channel typeId="statistic-own-cons-rate-total" id="ownConsRateTotal"/>
|
||||
<channel typeId="statistic-autonomy-degree-total" id="autonomyDegreeTotal"/>
|
||||
<channel typeId="device-local-battery-voltage" id="batteryVoltage"/>
|
||||
<channel typeId="device-local-bat-state-of-charge" id="batStateOfCharge"/>
|
||||
<channel typeId="device-local-self-consumption" id="selfConsumption"/>
|
||||
<channel typeId="device-local-battery-usage-consumption" id="batteryUsageConsumption"/>
|
||||
<channel typeId="device-local-smart-battery-control" id="smartBatteryControl"/>
|
||||
<channel typeId="device-local-max-depth-of-discharge" id="maxDepthOfDischarge"/>
|
||||
<channel typeId="device-local-shadow-management" id="shadowManagement"/>
|
||||
<channel typeId="device-local-external-module-control" id="externalModuleControl"/>
|
||||
<channel typeId="device-local-battery-usage-consumption-set" id="batteryUsageConsumptionSet"/>
|
||||
<channel typeId="device-local-battery-usage-strategy-set" id="batteryUsageStrategySet"/>
|
||||
<channel typeId="device-local-smart-battery-control-set" id="smartBatteryControlSet"/>
|
||||
<channel typeId="device-local-battery-charge-time-from-set" id="batteryChargeTimeFromSet"/>
|
||||
<channel typeId="device-local-battery-charge-time-to-set" id="batteryChargeTimeToSet"/>
|
||||
<channel typeId="device-local-max-depth-of-discharge-set" id="maxDepthOfDischargeSet"/>
|
||||
<channel typeId="device-local-shadow-management-set" id="shadowManagementSet"/>
|
||||
<channel typeId="device-local-external-module-control-set" id="externalModuleControlSet"/>
|
||||
</channels>
|
||||
<properties>
|
||||
<property name="vendor">KOSTAL Solar Electric GmbH</property>
|
||||
</properties>
|
||||
<config-description-ref uri="thing-type:kostalpiko1020_config"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
|
@ -105,13 +105,14 @@
|
|||
<item-type>String</item-type>
|
||||
<label>Change Menu Screen</label>
|
||||
<description>Change(TELEPORT) to one of the following TiVo menu screens: TIVO (Home), LIVE TV, GUIDE, NOW PLAYING (My
|
||||
Shows), NETFLIX. Type: String</description>
|
||||
Shows), SEARCH, NETFLIX. Type: String</description>
|
||||
<state readOnly="false">
|
||||
<options>
|
||||
<option value="TIVO">TIVO</option>
|
||||
<option value="LIVETV">LIVETV</option>
|
||||
<option value="GUIDE">GUIDE</option>
|
||||
<option value="NOWPLAYING">NOWPLAYING</option>
|
||||
<option value="SEARCH">SEARCH</option>
|
||||
<option value="NETFLIX">NETFLIX</option>
|
||||
</options>
|
||||
</state>
|
||||
|
@ -119,9 +120,65 @@
|
|||
<channel-type id="irCommand">
|
||||
<item-type>String</item-type>
|
||||
<label>Remote Control Button</label>
|
||||
<description>Send a simulated button push (IRCODE) from the remote control to the TiVo. See Appendix A in document TCP
|
||||
Remote Protocol 1.1 for supported codes. Type: String</description>
|
||||
<state readOnly="false"/>
|
||||
<description>Send a simulated button push (IRCODE) from the remote control to the TiVo. See README.md for supported
|
||||
codes. Type: String</description>
|
||||
<state readOnly="false">
|
||||
<options>
|
||||
<option value="UP">UP</option>
|
||||
<option value="DOWN">DOWN</option>
|
||||
<option value="LEFT">LEFT</option>
|
||||
<option value="RIGHT">RIGHT</option>
|
||||
<option value="SELECT">SELECT</option>
|
||||
<option value="TIVO">TIVO</option>
|
||||
<option value="LIVETV">LIVETV</option>
|
||||
<option value="GUIDE">GUIDE</option>
|
||||
<option value="INFO">INFO</option>
|
||||
<option value="EXIT">EXIT</option>
|
||||
<option value="THUMBSUP">THUMBSUP</option>
|
||||
<option value="THUMBSDOWN">THUMBSDOWN</option>
|
||||
<option value="CHANNELUP">CHANNELUP</option>
|
||||
<option value="CHANNELDOWN">CHANNELDOWN</option>
|
||||
<option value="PLAY">PLAY</option>
|
||||
<option value="FORWARD">FORWARD</option>
|
||||
<option value="REVERSE">REVERSE</option>
|
||||
<option value="PAUSE">PAUSE</option>
|
||||
<option value="SLOW">SLOW</option>
|
||||
<option value="REPLAY">REPLAY</option>
|
||||
<option value="ADVANCE">ADVANCE</option>
|
||||
<option value="RECORD">RECORD</option>
|
||||
<option value="NUM0">NUM0</option>
|
||||
<option value="NUM1">NUM1</option>
|
||||
<option value="NUM2">NUM2</option>
|
||||
<option value="NUM3">NUM3</option>
|
||||
<option value="NUM4">NUM4</option>
|
||||
<option value="NUM5">NUM5</option>
|
||||
<option value="NUM6">NUM6</option>
|
||||
<option value="NUM7">NUM7</option>
|
||||
<option value="NUM8">NUM8</option>
|
||||
<option value="NUM9">NUM9</option>
|
||||
<option value="ENTER">ENTER</option>
|
||||
<option value="CLEAR">CLEAR</option>
|
||||
<option value="ACTION_A">ACTION_A</option>
|
||||
<option value="ACTION_B">ACTION_B</option>
|
||||
<option value="ACTION_C">ACTION_C</option>
|
||||
<option value="ACTION_D">ACTION_D</option>
|
||||
<option value="CC_ON">CC_ON</option>
|
||||
<option value="CC_OFF">CC_OFF</option>
|
||||
<option value="FIND_REMOTE">FIND_REMOTE</option>
|
||||
<option value="ASPECT_CORRECTION_FULL">ASPECT_CORRECTION_FULL</option>
|
||||
<option value="ASPECT_CORRECTION_PANEL">ASPECT_CORRECTION_PANEL</option>
|
||||
<option value="ASPECT_CORRECTION_ZOOM">ASPECT_CORRECTION_ZOOM</option>
|
||||
<option value="ASPECT_CORRECTION_WIDE_ZOOM">ASPECT_CORRECTION_WIDE_ZOOM</option>
|
||||
<option value="VIDEO_MODE_FIXED_480i">VIDEO_MODE_FIXED_480i</option>
|
||||
<option value="VIDEO_MODE_FIXED_480p">VIDEO_MODE_FIXED_480p</option>
|
||||
<option value="VIDEO_MODE_FIXED_720p">VIDEO_MODE_FIXED_720p</option>
|
||||
<option value="VIDEO_MODE_FIXED_1080i">VIDEO_MODE_FIXED_1080i</option>
|
||||
<option value="VIDEO_MODE_HYBRID">VIDEO_MODE_HYBRID</option>
|
||||
<option value="VIDEO_MODE_HYBRID_720p">VIDEO_MODE_HYBRID_720p</option>
|
||||
<option value="VIDEO_MODE_HYBRID_1080i">VIDEO_MODE_HYBRID_1080i</option>
|
||||
<option value="VIDEO_MODE_NATIVE">VIDEO_MODE_NATIVE</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
<channel-type id="kbdCommand">
|
||||
<item-type>String</item-type>
|
||||
|
|
|
@ -21,6 +21,10 @@
|
|||
<description>Port of the UniFi Controller</description>
|
||||
<default>8443</default>
|
||||
</parameter>
|
||||
<parameter name="unifios" type="boolean" required="true">
|
||||
<label>UniFi OS</label>
|
||||
<description>If the UniFi Controller is running on UniFi OS.</description>
|
||||
</parameter>
|
||||
<parameter name="username" type="text" required="true">
|
||||
<label>Username</label>
|
||||
<description>The username to access the UniFi Controller.</description>
|
||||
|
|
Loading…
Reference in New Issue