homebridge-melcloud-control 4.0.0-beta.91 → 4.0.0-beta.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config.schema.json +302 -87
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -1850,133 +1850,348 @@
|
|
|
1850
1850
|
"type": "tabarray",
|
|
1851
1851
|
"title": "{{ value.title }}",
|
|
1852
1852
|
"items": [
|
|
1853
|
-
{
|
|
1854
|
-
"key": "accounts[].name",
|
|
1855
|
-
"title": "Account Name"
|
|
1856
|
-
},
|
|
1857
1853
|
{
|
|
1858
1854
|
"key": "accounts[].ataDevices",
|
|
1859
|
-
"
|
|
1860
|
-
"title": "Air Conditioners",
|
|
1855
|
+
"title": "Air Conditioner",
|
|
1861
1856
|
"items": [
|
|
1862
1857
|
{
|
|
1863
|
-
"key": "accounts[].ataDevices
|
|
1864
|
-
"readonly": true
|
|
1865
|
-
},
|
|
1866
|
-
{
|
|
1867
|
-
"key": "accounts[].ataDevices[].typeString",
|
|
1868
|
-
"readonly": true
|
|
1869
|
-
},
|
|
1870
|
-
"accounts[].ataDevices[].name",
|
|
1871
|
-
"accounts[].ataDevices[].displayMode",
|
|
1872
|
-
{
|
|
1873
|
-
"key": "accounts[].ataDevices[].presets",
|
|
1858
|
+
"key": "accounts[].ataDevices",
|
|
1874
1859
|
"type": "tabarray",
|
|
1875
|
-
"title": "
|
|
1860
|
+
"title": "{{ value.name }}",
|
|
1876
1861
|
"items": [
|
|
1877
1862
|
{
|
|
1878
|
-
"key": "accounts[].ataDevices[].
|
|
1863
|
+
"key": "accounts[].ataDevices[].id",
|
|
1879
1864
|
"readonly": true
|
|
1880
1865
|
},
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1866
|
+
{
|
|
1867
|
+
"key": "accounts[].ataDevices[].typeString",
|
|
1868
|
+
"readonly": true
|
|
1869
|
+
},
|
|
1870
|
+
"accounts[].ataDevices[].displayMode",
|
|
1871
|
+
{
|
|
1872
|
+
"key": "accounts[].ataDevices",
|
|
1873
|
+
"title": "Settings",
|
|
1874
|
+
"type": "section",
|
|
1875
|
+
"expandable": true,
|
|
1876
|
+
"expanded": false,
|
|
1877
|
+
"items": [
|
|
1878
|
+
"accounts[].ataDevices[].name",
|
|
1879
|
+
"accounts[].ataDevices[].heatDryFanMode",
|
|
1880
|
+
"accounts[].ataDevices[].coolDryFanMode",
|
|
1881
|
+
"accounts[].ataDevices[].autoDryFanMode",
|
|
1882
|
+
"accounts[].ataDevices[].refreshInterval"
|
|
1883
|
+
],
|
|
1884
|
+
"condition": {
|
|
1885
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayMode > 0;"
|
|
1886
|
+
}
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"key": "accounts[].ataDevices",
|
|
1890
|
+
"title": "Temperature Sensors",
|
|
1891
|
+
"type": "section",
|
|
1892
|
+
"expandable": true,
|
|
1893
|
+
"expanded": false,
|
|
1894
|
+
"items": [
|
|
1895
|
+
"accounts[].ataDevices[].temperatureSensor",
|
|
1896
|
+
"accounts[].ataDevices[].temperatureSensorOutdoor"
|
|
1897
|
+
],
|
|
1898
|
+
"condition": {
|
|
1899
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayMode > 0;"
|
|
1900
|
+
}
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
"key": "accounts[].ataDevices[].presets",
|
|
1904
|
+
"title": "Presets",
|
|
1905
|
+
"type": "section",
|
|
1906
|
+
"expandable": true,
|
|
1907
|
+
"expanded": false,
|
|
1908
|
+
"items": [
|
|
1909
|
+
{
|
|
1910
|
+
"key": "accounts[].ataDevices[].presets",
|
|
1911
|
+
"type": "tabarray",
|
|
1912
|
+
"title": "{{ value.name }}",
|
|
1913
|
+
"items": [
|
|
1914
|
+
{
|
|
1915
|
+
"key": "accounts[].ataDevices[].presets[].id",
|
|
1916
|
+
"readonly": true
|
|
1917
|
+
},
|
|
1918
|
+
"accounts[].ataDevices[].presets[].displayType",
|
|
1919
|
+
"accounts[].ataDevices[].presets[].name",
|
|
1920
|
+
"accounts[].ataDevices[].presets[].namePrefix"
|
|
1921
|
+
]
|
|
1922
|
+
}
|
|
1923
|
+
],
|
|
1924
|
+
"condition": {
|
|
1925
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayMode > 0;"
|
|
1926
|
+
}
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
"key": "accounts[].ataDevices[].buttonsSensors",
|
|
1930
|
+
"title": "Buttons / Sensors",
|
|
1931
|
+
"type": "section",
|
|
1932
|
+
"expandable": true,
|
|
1933
|
+
"expanded": false,
|
|
1934
|
+
"items": [
|
|
1935
|
+
{
|
|
1936
|
+
"key": "accounts[].ataDevices[].buttonsSensors",
|
|
1937
|
+
"type": "tabarray",
|
|
1938
|
+
"title": "{{ value.name || 'button/sensor' }}",
|
|
1939
|
+
"items": [
|
|
1940
|
+
"accounts[].ataDevices[].buttonsSensors[].displayType",
|
|
1941
|
+
"accounts[].ataDevices[].buttonsSensors[].mode",
|
|
1942
|
+
"accounts[].ataDevices[].buttonsSensors[].name",
|
|
1943
|
+
"accounts[].ataDevices[].buttonsSensors[].namePrefix"
|
|
1944
|
+
]
|
|
1945
|
+
}
|
|
1946
|
+
],
|
|
1947
|
+
"condition": {
|
|
1948
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayMode > 0;"
|
|
1949
|
+
}
|
|
1950
|
+
}
|
|
1951
|
+
],
|
|
1952
|
+
"condition": {
|
|
1953
|
+
"functionBody": "return model.accounts[arrayIndices].ataDevices.length > 0;"
|
|
1954
|
+
}
|
|
1885
1955
|
},
|
|
1886
1956
|
{
|
|
1887
|
-
"key": "accounts[]
|
|
1957
|
+
"key": "accounts[]",
|
|
1888
1958
|
"type": "tabarray",
|
|
1889
|
-
"title": "
|
|
1890
|
-
"items": [
|
|
1891
|
-
|
|
1892
|
-
"accounts[].ataDevices
|
|
1893
|
-
|
|
1894
|
-
"accounts[].ataDevices[].buttonsSensors[].namePrefix"
|
|
1895
|
-
]
|
|
1959
|
+
"title": "{{ value.title }}",
|
|
1960
|
+
"items": [],
|
|
1961
|
+
"condition": {
|
|
1962
|
+
"functionBody": "return model.accounts[arrayIndices].ataDevices.length === 0;"
|
|
1963
|
+
}
|
|
1896
1964
|
}
|
|
1897
1965
|
]
|
|
1898
1966
|
},
|
|
1899
1967
|
{
|
|
1900
|
-
"key": "accounts[]
|
|
1901
|
-
"
|
|
1902
|
-
"title": "Heat Pumps",
|
|
1968
|
+
"key": "accounts[]",
|
|
1969
|
+
"title": "Heat Pump",
|
|
1903
1970
|
"items": [
|
|
1904
1971
|
{
|
|
1905
|
-
"key": "accounts[].atwDevices
|
|
1906
|
-
"readonly": true
|
|
1907
|
-
},
|
|
1908
|
-
{
|
|
1909
|
-
"key": "accounts[].atwDevices[].typeString",
|
|
1910
|
-
"readonly": true
|
|
1911
|
-
},
|
|
1912
|
-
"accounts[].atwDevices[].name",
|
|
1913
|
-
"accounts[].atwDevices[].displayMode",
|
|
1914
|
-
{
|
|
1915
|
-
"key": "accounts[].atwDevices[].presets",
|
|
1972
|
+
"key": "accounts[].atwDevices",
|
|
1916
1973
|
"type": "tabarray",
|
|
1917
|
-
"title": "
|
|
1974
|
+
"title": "{{ value.name }}",
|
|
1918
1975
|
"items": [
|
|
1919
1976
|
{
|
|
1920
|
-
"key": "accounts[].atwDevices[].
|
|
1977
|
+
"key": "accounts[].atwDevices[].id",
|
|
1921
1978
|
"readonly": true
|
|
1922
1979
|
},
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1980
|
+
{
|
|
1981
|
+
"key": "accounts[].atwDevices[].typeString",
|
|
1982
|
+
"readonly": true
|
|
1983
|
+
},
|
|
1984
|
+
"accounts[].atwDevices[].displayMode",
|
|
1985
|
+
{
|
|
1986
|
+
"key": "accounts[].atwDevices",
|
|
1987
|
+
"type": "section",
|
|
1988
|
+
"title": "Settings",
|
|
1989
|
+
"expandable": true,
|
|
1990
|
+
"expanded": false,
|
|
1991
|
+
"items": [
|
|
1992
|
+
"accounts[].atwDevices[].hideZone",
|
|
1993
|
+
"accounts[].atwDevices[].name",
|
|
1994
|
+
"accounts[].atwDevices[].refreshInterval"
|
|
1995
|
+
],
|
|
1996
|
+
"condition": {
|
|
1997
|
+
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayMode > 0;"
|
|
1998
|
+
}
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"key": "accounts[].atwDevices",
|
|
2002
|
+
"title": "Temperature Sensors",
|
|
2003
|
+
"type": "section",
|
|
2004
|
+
"expandable": true,
|
|
2005
|
+
"expanded": false,
|
|
2006
|
+
"items": [
|
|
2007
|
+
"accounts[].atwDevices[].temperatureSensor",
|
|
2008
|
+
"accounts[].atwDevices[].temperatureSensorFlow",
|
|
2009
|
+
"accounts[].atwDevices[].temperatureSensorReturn",
|
|
2010
|
+
"accounts[].atwDevices[].temperatureSensorFlowZone1",
|
|
2011
|
+
"accounts[].atwDevices[].temperatureSensorReturnZone1",
|
|
2012
|
+
"accounts[].atwDevices[].temperatureSensorFlowWaterTank",
|
|
2013
|
+
"accounts[].atwDevices[].temperatureSensorReturnWaterTank",
|
|
2014
|
+
"accounts[].atwDevices[].temperatureSensorFlowZone2",
|
|
2015
|
+
"accounts[].atwDevices[].temperatureSensorReturnZone2"
|
|
2016
|
+
],
|
|
2017
|
+
"condition": {
|
|
2018
|
+
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayMode > 0;"
|
|
2019
|
+
}
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
"key": "accounts[].atwDevices[].presets",
|
|
2023
|
+
"title": "Presets",
|
|
2024
|
+
"type": "section",
|
|
2025
|
+
"expandable": true,
|
|
2026
|
+
"expanded": false,
|
|
2027
|
+
"items": [
|
|
2028
|
+
{
|
|
2029
|
+
"key": "accounts[].atwDevices[].presets",
|
|
2030
|
+
"type": "tabarray",
|
|
2031
|
+
"title": "{{ value.name }}",
|
|
2032
|
+
"items": [
|
|
2033
|
+
{
|
|
2034
|
+
"key": "accounts[].atwDevices[].presets[].id",
|
|
2035
|
+
"readonly": true
|
|
2036
|
+
},
|
|
2037
|
+
"accounts[].atwDevices[].presets[].displayType",
|
|
2038
|
+
"accounts[].atwDevices[].presets[].name",
|
|
2039
|
+
"accounts[].atwDevices[].presets[].namePrefix"
|
|
2040
|
+
]
|
|
2041
|
+
}
|
|
2042
|
+
],
|
|
2043
|
+
"condition": {
|
|
2044
|
+
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayMode > 0;"
|
|
2045
|
+
}
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"key": "accounts[].atwDevices[].buttonsSensors",
|
|
2049
|
+
"title": "Buttons / Sensors",
|
|
2050
|
+
"type": "section",
|
|
2051
|
+
"expandable": true,
|
|
2052
|
+
"expanded": false,
|
|
2053
|
+
"items": [
|
|
2054
|
+
{
|
|
2055
|
+
"key": "accounts[].atwDevices[].buttonsSensors",
|
|
2056
|
+
"type": "tabarray",
|
|
2057
|
+
"title": "{{ value.name || 'button/sensor' }}",
|
|
2058
|
+
"items": [
|
|
2059
|
+
"accounts[].atwDevices[].buttonsSensors[].displayType",
|
|
2060
|
+
"accounts[].atwDevices[].buttonsSensors[].mode",
|
|
2061
|
+
"accounts[].atwDevices[].buttonsSensors[].name",
|
|
2062
|
+
"accounts[].atwDevices[].buttonsSensors[].namePrefix"
|
|
2063
|
+
]
|
|
2064
|
+
}
|
|
2065
|
+
],
|
|
2066
|
+
"condition": {
|
|
2067
|
+
"functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].displayMode > 0;"
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
],
|
|
2071
|
+
"condition": {
|
|
2072
|
+
"functionBody": "return model.accounts[arrayIndices].atwDevices.length > 0;"
|
|
2073
|
+
}
|
|
1927
2074
|
},
|
|
1928
2075
|
{
|
|
1929
|
-
"key": "accounts[]
|
|
2076
|
+
"key": "accounts[]",
|
|
1930
2077
|
"type": "tabarray",
|
|
1931
|
-
"title": "
|
|
1932
|
-
"items": [
|
|
1933
|
-
|
|
1934
|
-
"accounts[].atwDevices
|
|
1935
|
-
|
|
1936
|
-
"accounts[].atwDevices[].buttonsSensors[].namePrefix"
|
|
1937
|
-
]
|
|
2078
|
+
"title": "{{ value.title }}",
|
|
2079
|
+
"items": [],
|
|
2080
|
+
"condition": {
|
|
2081
|
+
"functionBody": "return model.accounts[arrayIndices].atwDevices.length === 0;"
|
|
2082
|
+
}
|
|
1938
2083
|
}
|
|
1939
2084
|
]
|
|
1940
2085
|
},
|
|
1941
2086
|
{
|
|
1942
|
-
"key": "accounts[]
|
|
1943
|
-
"
|
|
1944
|
-
"title": "ERV Units",
|
|
2087
|
+
"key": "accounts[]",
|
|
2088
|
+
"title": "Energy Recovery Ventilation",
|
|
1945
2089
|
"items": [
|
|
1946
2090
|
{
|
|
1947
|
-
"key": "accounts[].ervDevices
|
|
1948
|
-
"readonly": true
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"key": "accounts[].ervDevices[].typeString",
|
|
1952
|
-
"readonly": true
|
|
1953
|
-
},
|
|
1954
|
-
"accounts[].ervDevices[].name",
|
|
1955
|
-
"accounts[].ervDevices[].displayMode",
|
|
1956
|
-
{
|
|
1957
|
-
"key": "accounts[].ervDevices[].presets",
|
|
2091
|
+
"key": "accounts[].ervDevices",
|
|
1958
2092
|
"type": "tabarray",
|
|
1959
|
-
"title": "
|
|
2093
|
+
"title": "{{ value.name }}",
|
|
1960
2094
|
"items": [
|
|
1961
2095
|
{
|
|
1962
|
-
"key": "accounts[].ervDevices[].
|
|
2096
|
+
"key": "accounts[].ervDevices[].id",
|
|
1963
2097
|
"readonly": true
|
|
1964
2098
|
},
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
2099
|
+
{
|
|
2100
|
+
"key": "accounts[].ervDevices[].typeString",
|
|
2101
|
+
"readonly": true
|
|
2102
|
+
},
|
|
2103
|
+
"accounts[].ervDevices[].displayMode",
|
|
2104
|
+
{
|
|
2105
|
+
"key": "accounts[].ervDevices",
|
|
2106
|
+
"title": "Settings",
|
|
2107
|
+
"type": "section",
|
|
2108
|
+
"expandable": true,
|
|
2109
|
+
"expanded": false,
|
|
2110
|
+
"items": [
|
|
2111
|
+
"accounts[].ervDevices[].name",
|
|
2112
|
+
"accounts[].ervDevices[].refreshInterval"
|
|
2113
|
+
],
|
|
2114
|
+
"condition": {
|
|
2115
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayMode > 0;"
|
|
2116
|
+
}
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
"key": "accounts[].ervDevices",
|
|
2120
|
+
"title": "Temperature Sensors",
|
|
2121
|
+
"type": "section",
|
|
2122
|
+
"expandable": true,
|
|
2123
|
+
"expanded": false,
|
|
2124
|
+
"items": [
|
|
2125
|
+
"accounts[].ervDevices[].temperatureSensor",
|
|
2126
|
+
"accounts[].ervDevices[].temperatureSensorOutdoor",
|
|
2127
|
+
"accounts[].ervDevices[].temperatureSensorSupply"
|
|
2128
|
+
],
|
|
2129
|
+
"condition": {
|
|
2130
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayMode > 0;"
|
|
2131
|
+
}
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
"key": "accounts[].ervDevices[].presets",
|
|
2135
|
+
"title": "Presets",
|
|
2136
|
+
"type": "section",
|
|
2137
|
+
"expandable": true,
|
|
2138
|
+
"expanded": false,
|
|
2139
|
+
"items": [
|
|
2140
|
+
{
|
|
2141
|
+
"key": "accounts[].ervDevices[].presets",
|
|
2142
|
+
"type": "tabarray",
|
|
2143
|
+
"title": "{{ value.name }}",
|
|
2144
|
+
"items": [
|
|
2145
|
+
{
|
|
2146
|
+
"key": "accounts[].ervDevices[].presets[].id",
|
|
2147
|
+
"readonly": true
|
|
2148
|
+
},
|
|
2149
|
+
"accounts[].ervDevices[].presets[].displayType",
|
|
2150
|
+
"accounts[].ervDevices[].presets[].name",
|
|
2151
|
+
"accounts[].ervDevices[].presets[].namePrefix"
|
|
2152
|
+
]
|
|
2153
|
+
}
|
|
2154
|
+
],
|
|
2155
|
+
"condition": {
|
|
2156
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayMode > 0;"
|
|
2157
|
+
}
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"key": "accounts[].ervDevices[].buttonsSensors",
|
|
2161
|
+
"title": "Buttons / Sensors",
|
|
2162
|
+
"type": "section",
|
|
2163
|
+
"expandable": true,
|
|
2164
|
+
"expanded": false,
|
|
2165
|
+
"items": [
|
|
2166
|
+
{
|
|
2167
|
+
"key": "accounts[].ervDevices[].buttonsSensors",
|
|
2168
|
+
"type": "tabarray",
|
|
2169
|
+
"title": "{{ value.name || 'button/sensor' }}",
|
|
2170
|
+
"items": [
|
|
2171
|
+
"accounts[].ervDevices[].buttonsSensors[].displayType",
|
|
2172
|
+
"accounts[].ervDevices[].buttonsSensors[].mode",
|
|
2173
|
+
"accounts[].ervDevices[].buttonsSensors[].name",
|
|
2174
|
+
"accounts[].ervDevices[].buttonsSensors[].namePrefix"
|
|
2175
|
+
]
|
|
2176
|
+
}
|
|
2177
|
+
],
|
|
2178
|
+
"condition": {
|
|
2179
|
+
"functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].displayMode > 0;"
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
],
|
|
2183
|
+
"condition": {
|
|
2184
|
+
"functionBody": "return model.accounts[arrayIndices].ervDevices.length > 0;"
|
|
2185
|
+
}
|
|
1969
2186
|
},
|
|
1970
2187
|
{
|
|
1971
|
-
"key": "accounts[]
|
|
2188
|
+
"key": "accounts[]",
|
|
1972
2189
|
"type": "tabarray",
|
|
1973
|
-
"title": "
|
|
1974
|
-
"items": [
|
|
1975
|
-
|
|
1976
|
-
"accounts[].ervDevices
|
|
1977
|
-
|
|
1978
|
-
"accounts[].ervDevices[].buttonsSensors[].namePrefix"
|
|
1979
|
-
]
|
|
2190
|
+
"title": "{{ value.title }}",
|
|
2191
|
+
"items": [],
|
|
2192
|
+
"condition": {
|
|
2193
|
+
"functionBody": "return model.accounts[arrayIndices].ervDevices.length === 0;"
|
|
2194
|
+
}
|
|
1980
2195
|
}
|
|
1981
2196
|
]
|
|
1982
2197
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.92",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|