Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cbrandlehner/homebridge-daikin-local
/ functions
Functions
87 in github.com/cbrandlehner/homebridge-daikin-local
⨍
Functions
87
◇
Types & classes
4
↓ 56 callers
Method
on
()
test/helpers/mock-homebridge.js:24
↓ 50 callers
Method
getCharacteristic
(name)
test/helpers/mock-homebridge.js:43
↓ 24 callers
Method
updateValue
()
test/helpers/mock-homebridge.js:28
↓ 9 callers
Function
createDaikin
* Create a Daikin-Local accessory instance with a minimal Homebridge mock. * * @param {object} [config={}] Accessory config overrides. * @returns {
test/helpers/mock-homebridge.js:79
↓ 9 callers
Method
setCharacteristic
(name, value)
test/helpers/mock-homebridge.js:48
↓ 7 callers
Function
parseResponse
(response)
src/utils.js:10
↓ 6 callers
Function
mapDaikinModeToCurrentHeaterCoolerState
* @param {string|undefined} mode Daikin mode code. * @param {string|undefined} pow Power state (0/1). * @param {object} states HomeKit CurrentHeater
src/utils.js:95
↓ 6 callers
Function
parseTemperatureDisplayUnits
(value, units)
src/utils.js:66
↓ 5 callers
Function
mapDaikinModeToTargetHeaterCoolerState
* @param {string|undefined} mode Daikin mode code. * @param {string|undefined} pow Power state (0/1). * @param {object} states HomeKit TargetHeaterC
src/utils.js:120
↓ 4 callers
Function
getCoolingThresholdFromControl
* Cooling threshold for HomeKit. Uses active setpoint in cool mode, stored dt7 otherwise. * * @param {object} responseValues Parsed get_control_info
src/utils.js:141
↓ 4 callers
Function
isDaikinAutoMode
* Some firmware reports auto as mode=0; mode=1 is also auto on other units. * * @param {string|undefined} mode Daikin mode code. * @returns {boolea
src/utils.js:85
↓ 4 callers
Function
parseThresholdField
(responseValues, field)
src/utils.js:74
↓ 4 callers
Function
rawToDaikinSpeed
(rawFanSpeed)
src/utils.js:306
↓ 4 callers
Method
setProps
()
test/helpers/mock-homebridge.js:20
↓ 3 callers
Function
broadcastFaikoutStatus
()
dev/mock-daikin-server.js:32
↓ 3 callers
Function
buildWebSocketStatusUrl
* Build the Faikout WebSocket status URL from apiroute and a resolved host. * * @param {string} apiroute Configured controller origin. * @param {st
src/utils.js:291
↓ 3 callers
Function
daikinSpeedToRaw
(daikinSpeed)
src/utils.js:28
↓ 3 callers
Function
getHeatingThresholdFromControl
* Heating threshold for HomeKit. Uses active setpoint in heat mode, stored dt5 otherwise. * * @param {object} responseValues Parsed get_control_info
src/utils.js:172
↓ 3 callers
Function
isIpAddress
* @param {string} host Hostname or IP address. * @returns {boolean}
src/utils.js:212
↓ 3 callers
Function
replaceHostInUrl
* Swap the URL hostname for a resolved IP while preserving port, path, and query. * * @param {string} url Request URL. * @param {string} resolvedIP
src/utils.js:274
↓ 3 callers
Function
shouldRouteCoolingSetToHeating
* Siri may invoke the cooling threshold setter while the unit is heating. * * @param {string|undefined} mode Daikin mode code. * @returns {boolean}
src/utils.js:196
↓ 3 callers
Function
shouldRouteHeatingSetToCooling
* @param {string|undefined} mode Daikin mode code. * @returns {boolean}
src/utils.js:204
↓ 3 callers
Method
updateCharacteristic
()
test/helpers/mock-homebridge.js:32
↓ 2 callers
Function
applyControlParams
(state, params, system)
dev/fixtures/daikin-responses.js:56
↓ 2 callers
Function
applyFaikoutJsonControl
(state, payload)
dev/fixtures/daikin-responses.js:128
↓ 2 callers
Function
applyHttpsTls
(request)
src/index.js:393
↓ 2 callers
Function
getDefaultHttpAgent
()
src/index.js:455
↓ 2 callers
Function
isOpenSSL3
()
src/index.js:389
↓ 2 callers
Function
resolveControllerHost
* Resolve a configured controller host to IPv4. IP literals pass through unchanged. * * @param {string} hostname Hostname or IP from apiroute. * @r
src/utils.js:248
↓ 1 callers
Function
clearDnsCache
Clear the in-memory DNS cache (used by tests).
src/utils.js:238
↓ 1 callers
Function
createDefaultState
()
dev/fixtures/daikin-responses.js:28
↓ 1 callers
Function
createMockLog
@returns {object} Minimal Homebridge logger mock.
test/helpers/mock-homebridge.js:4
↓ 1 callers
Function
getCachedDnsAddress
* @param {string} hostname Configured controller hostname. * @returns {string|undefined}
src/utils.js:220
↓ 1 callers
Function
getDefaultAgent
()
src/index.js:444
↓ 1 callers
Function
getLegacyAgent
()
src/index.js:428
↓ 1 callers
Function
handleSetControlInfo
(pathname)
dev/mock-daikin-server.js:41
↓ 1 callers
Function
logHttpsTlsPath
(log, apiroute)
src/index.js:405
↓ 1 callers
Function
parseQuery
(path)
dev/fixtures/daikin-responses.js:39
↓ 1 callers
Function
readCoolingTemperature
* @param {object} daikin Daikin accessory instance. * @returns {Promise<number>} Cooling threshold reported to HomeKit.
test/helpers/mock-homebridge.js:168
↓ 1 callers
Function
readCurrentTemperature
* @param {object} daikin Daikin accessory instance. * @returns {Promise<number>} Current indoor temperature in degrees Celsius.
test/helpers/mock-homebridge.js:117
↓ 1 callers
Function
readFanSpeed
* @param {object} daikin Daikin accessory instance. * @returns {Promise<number>} Fan speed percentage reported to HomeKit.
test/helpers/mock-homebridge.js:134
↓ 1 callers
Function
readHeaterCoolerState
* @param {object} daikin Daikin accessory instance. * @returns {Promise<number>} Current heater/cooler state reported to HomeKit.
test/helpers/mock-homebridge.js:151
↓ 1 callers
Function
readJsonBody
(request)
dev/mock-daikin-server.js:52
↓ 1 callers
Function
setCachedDnsAddress
* @param {string} hostname Configured controller hostname. * @param {string} address Resolved IPv4 address.
src/utils.js:233
↓ 1 callers
Function
writeCoolingTemperature
* @param {object} daikin Daikin accessory instance. * @param {number} temperature Target temperature in degrees Celsius. * @returns {Promise<void>}
test/helpers/mock-homebridge.js:186
Function
Cache
(expiration /* seconds */)
src/cache.js:3
Function
Daikin
(log, config)
src/index.js:40
Function
Queue
()
src/queue.js:1
Function
_doSendGetRequest
(path, callback, options)
src/index.js:522
Function
_queueGetRequest
(path, callback, options)
src/index.js:477
Function
_resolveHost
(callback)
src/index.js:507
Function
_serveFromCache
(path, callback, options)
src/index.js:596
Function
action
()
src/queue.js:7
Function
closeFaikinWebSocket
()
src/index.js:956
Function
connectFaikinWebSocket
()
src/index.js:749
Method
constructor
(name)
test/helpers/mock-homebridge.js:16
Method
constructor
(name)
test/helpers/mock-homebridge.js:38
Function
getActive
(callback)
src/index.js:975
Function
getActiveFV
(callback)
src/index.js:990
Function
getCoolingTemperature
(callback)
src/index.js:1410
Function
getCoolingTemperatureFV
(callback)
src/index.js:1418
Function
getCurrentHumidity
(callback)
src/index.js:1376
Function
getCurrentHumidityFV
(callback)
src/index.js:1384
Function
getCurrentOutsideTemperature
(callback)
src/index.js:1394
Function
getCurrentTemperature
(callback)
src/index.js:1349
Function
getCurrentTemperatureFV
(callback)
src/index.js:1365
Function
getFanSpeedFV
(callback)
src/index.js:1881
Function
getFanStatusFV
(callback)
src/index.js:1799
Function
getHeaterCoolerState
(callback)
src/index.js:1262
Function
getHeaterCoolerStateFV
(callback)
src/index.js:1275
Function
getHeatingTemperature
(callback)
src/index.js:1456
Function
getHeatingTemperatureFV
(callback)
src/index.js:1464
Function
getSwingMode
(callback)
src/index.js:1056
Function
getSwingModeFV
(callback)
src/index.js:1095
Function
getTargetHeaterCoolerState
(callback)
src/index.js:1286
Function
getTargetHeaterCoolerStateFV
(callback)
src/index.js:1300
Function
registerAccessory
(_plugin, _name, Constructor)
test/helpers/mock-homebridge.js:94
Function
sendFaikinControl
(controlData, callback)
src/index.js:628
Function
sendFaikinControlFallback
(controlData, callback)
src/index.js:680
Function
sendFaikinWebSocketCommand
(controlData, callback)
src/index.js:928
Function
sendGetRequest
(path, callback, options)
src/index.js:471
Function
setActive
(power, callback)
src/index.js:1000
Function
setCoolingTemperature
(temperature, callback)
src/index.js:1430
Function
setHeatingTemperature
(temperature, callback)
src/index.js:1475
Function
setSwingMode
(swing, callback)
src/index.js:1106
Function
setTargetHeaterCoolerState
(state, callback)
src/index.js:1311
Function
shutdown
()
dev/start-mock-servers.js:32