Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/apatsufas/homebridge-tapo-p100
/ functions
Functions
134 in github.com/apatsufas/homebridge-tapo-p100
⨍
Functions
134
◇
Types & classes
43
↓ 19 callers
Method
getDeviceInfo
(force?:boolean)
src/utils/tplinkAccessory.ts:20
↓ 19 callers
Method
getSysInfo
()
src/utils/tplinkAccessory.ts:22
↓ 18 callers
Method
handleError
(errorCode: number | string, line: string)
src/utils/p100.ts:564
↓ 15 callers
Method
getSysInfo
()
src/utils/p100.ts:560
↓ 6 callers
Method
decrypt
(data: string)
src/utils/tpLinkCipher.ts:27
↓ 6 callers
Method
getPowerConsumption
()
src/utils/tplinkAccessory.ts:26
↓ 6 callers
Method
updateState
(interval:number)
src/platformL530Accessory.ts:424
↓ 5 callers
Method
encrypt
(data:string)
src/utils/tpLinkCipher.ts:20
↓ 5 callers
Method
handleKlapRequest
(payload: string)
src/utils/p100.ts:667
↓ 5 callers
Method
handleRequest
(payload: string)
src/utils/p100.ts:608
↓ 5 callers
Method
reconnect
()
src/utils/p100.ts:682
↓ 5 callers
Method
sendRequest
(payload: string)
src/utils/p100.ts:576
↓ 3 callers
Method
raw_request
(path: string, data: Buffer, responseType: string, params?: any)
src/utils/p100.ts:248
↓ 3 callers
Method
setBrightness
(brightness:number)
src/utils/tplinkAccessory.ts:28
↓ 2 callers
Method
getColorTemp
()
src/utils/tplinkAccessory.ts:32
↓ 2 callers
Method
getEnergyUsage
()
src/utils/tplinkAccessory.ts:24
↓ 2 callers
Method
getSysInfo
()
src/utils/l520e.ts:66
↓ 2 callers
Method
getSysInfo
()
src/utils/l530.ts:58
↓ 2 callers
Method
handshake
()
src/utils/p100.ts:149
↓ 2 callers
Method
handshake_new
()
src/utils/p100.ts:314
↓ 2 callers
Method
init
(platform: TapoPlatform, updateInterval?: number)
src/platformP100Accessory.ts:36
↓ 2 callers
Method
ivSeqPair
()
src/utils/newTpLinkCipher.ts:95
↓ 2 callers
Method
login
()
src/utils/p100.ts:193
↓ 2 callers
Method
mime_encoder
(to_encode: string)
src/utils/tpLinkCipher.ts:15
↓ 2 callers
Method
reAuthenticate
()
src/utils/p100.ts:699
↓ 2 callers
Method
setColor
(hue:number, saturation:number)
src/utils/tplinkAccessory.ts:36
↓ 2 callers
Method
setColorTemp
(color_temp:number)
src/utils/tplinkAccessory.ts:30
↓ 2 callers
Method
setSysInfo
(sysInfo: PlugSysinfo)
src/utils/p100.ts:555
↓ 2 callers
Method
toHours
(minutes: number)
src/utils/l530.ts:137
↓ 2 callers
Method
transformColorTemp
(value: number)
src/utils/l520e.ts:46
↓ 1 callers
Method
calc_auth_hash
(username: string, password: string)
src/utils/p100.ts:120
↓ 1 callers
Method
calculateColorTemp
(tapo_color_temp:number)
src/utils/l520e.ts:56
↓ 1 callers
Method
calculateColorTemp
(tapo_color_temp:number)
src/utils/tplinkAccessory.ts:34
↓ 1 callers
Method
calculateIvSeq
(local_seed: Buffer, remote_seed: Buffer, auth_hash: Buffer)
src/utils/newTpLinkCipher.ts:83
↓ 1 callers
Method
calculateKey
(local_seed: Buffer, remote_seed: Buffer, auth_hash: Buffer)
src/utils/newTpLinkCipher.ts:77
↓ 1 callers
Method
calculateSig
(local_seed: Buffer, remote_seed: Buffer, auth_hash: Buffer)
src/utils/newTpLinkCipher.ts:90
↓ 1 callers
Method
createKeyPair
()
src/utils/p100.ts:127
↓ 1 callers
Method
decode_handshake_key
(key: string)
src/utils/p100.ts:297
↓ 1 callers
Method
discoverDevices
* This is an example method showing how to register discovered accessories. * Accessories must only be registered once, previously created accessor
src/platform.ts:85
↓ 1 callers
Method
encryptCredentials
(email: string, password: string)
src/utils/p100.ts:105
↓ 1 callers
Method
getDeviceInfo
(force?:boolean)
src/utils/p100.ts:377
↓ 1 callers
Method
getSysInfo
()
src/utils/l510e.ts:43
↓ 1 callers
Method
handshake
()
src/utils/tplinkAccessory.ts:8
↓ 1 callers
Method
handshake_new
()
src/utils/tplinkAccessory.ts:12
↓ 1 callers
Method
login
()
src/utils/tplinkAccessory.ts:10
↓ 1 callers
Method
newReconnect
()
src/utils/p100.ts:692
↓ 1 callers
Function
parseConfig
( config: Record<string, unknown>, )
src/config.ts:94
↓ 1 callers
Method
setPowerState
(state: boolean)
src/utils/tplinkAccessory.ts:18
↓ 1 callers
Method
sha_digest_username
(data: string)
src/utils/p100.ts:114
↓ 1 callers
Method
turnOff
()
src/utils/p100.ts:344
↓ 1 callers
Method
turnOn
()
src/utils/p100.ts:356
↓ 1 callers
Method
updateConsumption
()
src/platformP110Accessory.ts:79
↓ 1 callers
Method
updateConsumption
()
src/platformL530Accessory.ts:356
↓ 1 callers
Method
updateState
(interval:number)
src/platformL520EAccessory.ts:129
↓ 1 callers
Method
updateState
(interval:number)
src/platformL510EAccessory.ts:118
Function
characteristic
( Characteristic: typeof CharacteristicClass, )
src/custom-characteristics/index.ts:10
Method
configureAccessory
* This function is invoked when homebridge restores cached accessories from disk at startup. * It should be used to setup event handlers for charac
src/platform.ts:73
Function
constructor
( public readonly log: Logger, protected readonly platform: TapoPlatform, protected readonly acces
src/platformTPLinkAccessory.ts:10
Method
constructor
( public readonly log: Logger, config: PlatformConfig, public readonly api: API, )
src/platform.ts:44
Method
constructor
( public readonly log: Logger, protected readonly platform: TapoPlatform, protected readonly acces
src/platformL520EAccessory.ts:13
Method
constructor
( public readonly log: Logger, protected readonly platform: TapoPlatform, protected readonly acces
src/platformP100Accessory.ts:13
Method
constructor
( public readonly log: Logger, protected readonly platform: TapoPlatform, protected readonly acces
src/platformP110Accessory.ts:15
Method
constructor
( public readonly log: Logger, protected readonly platform: TapoPlatform, protected readonly acces
src/platformL510EAccessory.ts:13
Method
constructor
( public readonly log: Logger, protected readonly platform: TapoPlatform, protected readonly acces
src/platformL530Accessory.ts:16
Method
constructor
( public readonly log: Logger, public readonly ipAddress: string, public readonly emai
src/utils/p110.ts:10
Method
constructor
( public readonly log: Logger, public readonly ipAddress: string, public readonly emai
src/utils/l520e.ts:9
Method
constructor
( public readonly log: Logger, public readonly ipAddress: string, public readonly email: string,
src/utils/p100.ts:89
Method
constructor
( public readonly log: Logger, public readonly ipAddress: string, public readonly emai
src/utils/l530.ts:11
Method
constructor
( public readonly log: Logger, public readonly ipAddress: string, public readonly emai
src/utils/l510e.ts:9
Method
constructor
(public readonly log: Logger, b_arr: any, b_arr2: any)
src/utils/tpLinkCipher.ts:10
Method
constructor
(localSeed: Buffer, remoteSeed: Buffer, authHash: Buffer | undefined, public readonly log: Logger)
src/utils/newTpLinkCipher.ts:15
Method
constructor
( displayName: string, UUID: string, props?: MarkOptional<CharacteristicProps, 'format' | 'p
src/custom-characteristics/default-characteristic.ts:12
Method
constructor
()
src/custom-characteristics/totalConsumptionCharacteristic.ts:9
Method
constructor
()
src/custom-characteristics/resetConsumptionCharacteristic.ts:9
Method
constructor
()
src/custom-characteristics/currentConsumptionCharacteristic.ts:9
Function
currentConsumption
( DefaultCharacteristic: typeof Characteristic, )
src/custom-characteristics/currentConsumptionCharacteristic.ts:3
Method
decrypt
(data: Buffer)
src/utils/newTpLinkCipher.ts:47
Function
defaultCharacteristic
( Characteristic: typeof CharacteristicClass, )
src/custom-characteristics/default-characteristic.ts:8
Method
encrypt
(data: Buffer | string)
src/utils/newTpLinkCipher.ts:23
Method
firmwareRevision
()
src/utils/p100.ts:541
Method
getBrightness
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL520EAccessory.ts:105
Method
getBrightness
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL510EAccessory.ts:94
Method
getBrightness
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL530Accessory.ts:154
Method
getColorTemp
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL520EAccessory.ts:192
Method
getColorTemp
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL530Accessory.ts:210
Method
getColorTemp
()
src/utils/l520e.ts:50
Method
getCurrentConsumption
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformP110Accessory.ts:102
Method
getCurrentConsumption
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL530Accessory.ts:381
Method
getDeviceInfo
(force?:boolean)
src/utils/l520e.ts:20
Method
getDeviceInfo
(force?:boolean)
src/utils/l530.ts:26
Method
getDeviceInfo
(force?:boolean)
src/utils/l510e.ts:20
Method
getEnergyUsage
()
src/utils/p110.ts:21
Method
getEnergyUsage
()
src/utils/l530.ts:62
Method
getHue
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL530Accessory.ts:266
Function
getOn
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformTPLinkAccessory.ts:70
Method
getPowerConsumption
()
src/utils/p110.ts:63
Method
getPowerConsumption
()
src/utils/l530.ts:127
Method
getSaturation
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL530Accessory.ts:326
Method
getTotalConsumption
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformP110Accessory.ts:121
Method
getTotalConsumption
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL530Accessory.ts:396
next →
1–100 of 134, ranked by callers