eibenp / homebridge-gree-airconditioner

Homebridge plugin for GREE Air Conditioners
Apache License 2.0
25 stars 3 forks source link

handleMessage Error Error: error:1C80006B:Provider routines::wrong final block length #5

Closed MichelVanRie closed 3 months ago

MichelVanRie commented 8 months ago

Describe Your Problem: After installing and configuring the plugin i receive error: handleMessage Error Error: error:1C80006B:Provider routines::wrong final block length

Logs: [1/22/2024, 8:25:10 PM] [GREE Air Conditioner] Initializing GREEAirConditioner platform... Setup Payload: X-HM://0024O41M8GFFS

[1/22/2024, 8:25:10 PM] [GREE Air Conditioner] UDP server bind to port 7002 [1/22/2024, 8:25:10 PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge FAB9) is running on port 51634. [1/22/2024, 8:25:13 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:13 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:13 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:16 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:16 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:16 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:19 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:19 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:19 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:22 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:22 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:22 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:25 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:25 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:28 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:28 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:28 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:31 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:31 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:31 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:34 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:34 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:37 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:37 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:37 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:40 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:40 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:40 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:25:43 PM] [GREE Air Conditioner] Scan finished. [1/22/2024, 8:26:13 PM] [GREE Air Conditioner] Initializing GREEAirConditioner platform... Setup Payload: X-HM://0024O41M8GFFS Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 725-26-128 │     
└────────────┘     

[1/22/2024, 8:26:13 PM] [GREE Air Conditioner] UDP server bind to port 7002 [1/22/2024, 8:26:13 PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge FAB9) is running on port 51634. [1/22/2024, 8:26:16 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:16 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:16 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:19 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:19 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:22 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:22 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:25 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:25 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:25 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:28 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:28 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:28 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:31 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:34 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:34 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:34 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:37 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:37 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:37 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:40 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:40 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:40 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:43 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:43 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:43 PM] [GREE Air Conditioner] handleMessage Error: Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:199:29) at Object.decrypt (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/crypto.ts:13:74) at Socket.GreeACPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-gree-ac/src/platform.ts:110:27) at Socket.emit (node:events:517:28) at UDP.onMessage (node:dgram:942:8) { library: 'Provider routines', reason: 'wrong final block length', code: 'ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH' } [1/22/2024, 8:26:46 PM] [GREE Air Conditioner] Scan finished.

Plugin Config: { "name": "GREE Air Conditioner", "port": 7002, "scanAddress": "192.168.1.255", "scanCount": 10, "scanTimeout": 3, "devices": [ { "mac": "502cc66cc89e", "name": "Bedroom", "model": "Vario", "speedSteps": 5, "statusUpdateInterval": 10, "sensorOffset": 40, "minimumTargetTemperature": 16, "maximumTargetTemperature": 30, "xFanEnabled": false, "temperatureSensor": "disabled" }, { "mac": "502cc66cca19", "name": "Logeer", "model": "Vario1", "speedSteps": 5, "statusUpdateInterval": 10, "sensorOffset": 40, "minimumTargetTemperature": 16, "maximumTargetTemperature": 30, "xFanEnabled": false, "temperatureSensor": "disabled" } ], "platform": "GREEAirConditioner" }

Environment:

zivanek commented 3 months ago

{"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hHmeprLbbZSqBnqszgxDASZAvR1k9YfkSuEVhVbYjWw","i":0,"tag":"HJRRyTXF//6SVKv1i34jnQ==","cid":"app"}

Very good news. I send this packet now from Mac Packet sender to UDP port 7000 AIRC, and it works AIRC is ON!!!!!!!! Packet is ok. I will prepare all commands and status OF AIRC. How would you like to send data, in the some special format or only piece of text or ?

eibenp commented 3 months ago

Text format is OK. Just tell me details about each packet. 2024. jún. 18. dátummal, 16:27 időpontban zivanek @.***> írta:

{"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hHmeprLbbZSqBnqszgxDASZAvR1k9YfkSuEVhVbYjWw","i":0,"tag":"HJRRyTXF//6SVKv1i34jnQ==","cid":"app"}

Very good news. I send this packet now from Mac Packet sender to UDP port 7000 AIRC, and it works AIRC is ON!!!!!!!! Packet is ok. I will prepare all commands and status OF AIRC. How would you like to send data, in the some special format or only piece of text or ?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: @.***>

eibenp commented 3 months ago

While waiting for captured packets I have made some improvements and published a new beta version (2.1.0-beta.2)

zivanek commented 3 months ago

While waiting for captured packets I have made some improvements and published a new beta version (2.1.0-beta.2)

I have the problem with capture status. Something strange change to my network for UDP protocol, all worked before and when I return to home nothing works. Ahhhhh. We will be in touch. Thanx

eibenp commented 3 months ago

Install the latest beta version. It is possible that this solves the problem and we do not need all packets. I have made this version based on your "turn on AC" packet. I would be happy if you could send me debug logs from the latest beta version starting from re-registering the AC.

zivanek commented 3 months ago

Thanks a lot, I installed this beta and the results is very good. I will send to you  all logs and packets.

zivanek commented 3 months ago

Hello, do you need a FAN speed ?

eibenp commented 3 months ago

Yes. I say Thank You for all types of commands, including FAN speed.

zivanek commented 3 months ago

AIRC ON (MODE ON) Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hHmeprLbbZSqBnqszgxDASZAvR1k9YfkSuEVhVbYjWw","i":0,"tag":"HJRRyTXF//6SVKv1i34jnQ==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"510bbf3af7cd","tag":"/id3x7nhBk37i/uxVCdfsw==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUZX5ApVA4xth1Boc2Hy6xwtfGZvG/IkW2"}

AIRC OFF (MODE OFF) Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBvk7ubgFCwJGFytst1Bp","i":0,"tag":"ikaij+VhG6k57C6zYRxLAA==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"5609a49b512a","tag":"zM1Gz0D36d6OkA6VY3fnjA==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUZX5ApVA4xth1Boc3Hy6xwtfGZvG/I0W2"}

MODE COOL Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBuQ7qrgFCwJGFytstlBp","i":0,"tag":"jvGuVL9UoxH4vSLjURfZ3Q==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"484524b70849","tag":"1uVH5RI4Opz8NdpU+rWf4w==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUeH5TpVA4xth1Boc2Hy6xwtfGZvG/IkW2"}

MODE HEAT Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBuQ7qrgFCwJGFytss1Bp","i":0,"tag":"ixxAeDAdGxSXYu9bpY/P4Q==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"0c1247ae6531","tag":"L6eyzg91a0JdQfvgEKfHIA==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUeH5TpVA4xth1BoczHy6xwtfGZvG/J0W2"}

MODE FAN Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBuQ7qrgFCwJGFytstFBp","i":0,"tag":"jJw9ubl7ublrm1oGZrKFxQ==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"59b601a98563","tag":"szEl9OAV5boWAjAclBTvnQ==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUeH5TpVA4xth1Boc0Hy6xwtfGZvG/IEW2"}

MODE DRY Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBuQ7qrh0BXdSZmFTpSE2td0+WaglbiDHwcSIGefGYzrxZLMC7DezHlHpXA==","i":0,"tag":"g/w7uaCAME5bqNh6cCfW+Q==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"39c57b9fc408","tag":"OnmrIZPecOVYHykMbakHoQ==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUeH5TpSE2s8wETLglbiDCwd/PMOnIMUy+TaNz8TnzEFvvEyy6achqavVhajFJOA1ExCqUUj1XMn/YFA=="}

MODE AUTO Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBuQ7qrgFCwJGFytst1Bp","i":0,"tag":"j8dnojxDLkWxLh6RysV30Q==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"0c25f3119931","tag":"5A927esu1Q+JLi9wzeUn3A==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUeH5TpVA4xth1Boc3Hy6xwtfGZvG/I0W2"}

SET TEMPERATURE TO 23 C Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBvoxus49SgIaF0VS6lh6xoR1aLlqEGfwluuGZrvGKUP5DK0e8SveTw==","i":0,"tag":"tfT09dgL0UOIwI9hkmcIRA==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"1ea1c6531989","tag":"agQ6GEq3g+UM2iGK1W/o2A==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUZnRD02h5xoR1aLlqF2yxmJT+Iaa2dnvpYq0MrTm5aVOHDTCndaVqeN4sJGUSDx1NsyiUU0wa"}

FAN LOW Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBv4wneo8BQwUZGRe4nk2yIoDSa4lHy6xxJSQH/rIIzT7Yvw=","i":0,"tag":"5Po9qYgimBPnXALrvxYVKw==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"04949cb1c0e2","tag":"qN0z8CYUMoExRL6t6Lfp2A==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUYnVk92k2yIoGSbViNiC/luLfNum5Pzq7Hbt17DezHlHpDSL9JJRkYPN8ZHcEZHID"}

FAN MEDIUM LOW Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBv4wneo8BQwUZGRe4nk2yIoDSa4lHy6xxJSQH/nIIzT7Yvw=","i":0,"tag":"56Fnsg0aD+896UZ8E2HnPw==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"38fd77a0dfad","tag":"Puz1u29LrFdjj/5MYi1XWw==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUYnVk92k2yIoGSbViNiC/luLfNum5Pzq7Hbt17zezHlHpDSL9JJRkYPN/ZHcEZHID"}

FAN MEDIUM Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBv4wneo8BQwUZGRe4nk2yIoDSa4lHy6xxJSQH/jIIzT7Yvw=","i":0,"tag":"5peuRI4Ngrt0enoOiLNJMw==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"38fd77a0dfad","tag":"8vxIfah+2eVSNsHs5Fs9JQ==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUYnVk92k2yIoGSbViNiC/luLfNum5Pzq7Hbt17jezHlHpDSL9JJRkYPN+ZHcEZHID"}

FAN MEDIUM HIGH Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBv4wneo8BQwUZGRe4nk2yIoDSa4lHy6xxJSQH//IIzT7Yvw=","i":0,"tag":"4RfThQdrIBaIg89TS44DFw==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"0d7f6cd74a76","tag":"0I95Lf30kfvGGX+PdxgqXA==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUYnVk92k2yIoGSbViNiC/luLfNum5Pzq7Hbt16TezHlHpDSL9JJRkYPN5ZHcEZHID"}

FAN HIGH Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBv4wneo8BQwUZGRe4nk2yIoDSa4lHy6xxJSQH/7IIzT7Yvw=","i":0,"tag":"4CEac4R8rULBEPMh0FytGw==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"1ac6be069504","tag":"HJ/E6zrB5En3oEAv8W5AIg==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUYnVk92k2yIoGSbViNiC/luLfNum5Pzq7Hbt16DezHlHpDSL9JJRkYPN4ZHcEZHID"}

FAN AUTO Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBv4wneo8BQwUZGRe4nk2yIoDSa4lHy6xxJSQH/vIIzT7Yvw=","i":0,"tag":"5cz0Xws1FUeuzz6ZJMS7Jw==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"38fd77a0dfad","tag":"ZM2ONuEhRzMA/YENbsGDpg==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUYnVk92k2yIoGSbViNiC/luLfNum5Pzq7Hbt17TezHlHpDSL9JJRkYPN9ZHcEZHID"}

FAN QUIET Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBvghp/8sBQwUYWRFpVA4xth1Boc1bjLOyQ==","i":0,"tag":"esq6ccfeT6KWF5Tzvawoyg==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"38fd77a0dfad","tag":"O7La+fdwF3JHYEzcYt5IMw==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUZGRe4nk2yIoDSa4lHy6xxJSQH/nII0XnHfdPsTm5aVOYEV32"}

FAN TURBO Command {"tcid":"502cc66d1694","uid":0,"t":"pack","pack":"2hH/OcPLNPkDugerv35zSg/0GZA4yNY2nzPWF0JkcUTvJCbe8fZhBvghp/8sBQwUYWRFpVA4xth1Boc3bjPOyQ==","i":0,"tag":"bCH7g6cANfBTrx4ocnWxdQ==","cid":"app"} Response {"t":"pack","i":0,"uid":0,"cid":"502cc66d1694","tcid":"38fd77a0dfad","tag":"HIQlgCapQmQ5dzlWBSvbiA==","pack":"2hHmeprLfL5FqBnqsSkmDATgFZQoh5d0i23FQhY0cUTvOXSQ4fwKCIs7vu56HXsUZGRe4nk2yIoDSa4lHy6xxJSQH/vIIkXnHfdPsTm5aVGYEF32"}

zivanek commented 3 months ago

Wind speed Low, Medim and High has a different command. When press medium high smart app airc is on HIGH. When you press medium low app is on medium. I forget wind direction comman, but if you want it will be in some future. Every command send from pocket sender and checked, return response must be ok, If you some strange command for you tell me, I will be check. I will send log.

eibenp commented 3 months ago

Thank You! This is very useful. At the moment I do not need additional info about network packets. Now I am waiting for the debug logs to verify the beta.2 version.

zivanek commented 3 months ago

homebridge-gree-ac.log (4).txt Hello, I attached today log with latest version

eibenp commented 3 months ago

Thank you! Very good news. Everything is OK in your logs.

zivanek commented 3 months ago

One question is it possible to some future version put ventilator speed in homekit ?

eibenp commented 3 months ago

Fan speed is already in homekit. Home App enables to set fan speed in heatercooler settings. (A bit hidden but you can change fan speed if you open settings in Home App. It is described in plugin readme.)

zivanek commented 3 months ago

Sorry, please help, I dont understand where can I find heatercooler settings in home app ? I read plugin readme but I cannot find this chapter.

zivanek commented 3 months ago

This plugin was designed to support the Home App's Heater Cooler functionality using GREE Air Conditioners. Some special features of GREE AC's are not supported natively by Apple and also dismiss support in this plugin.

Fan and dry modes are not supported. They may work if set directly on the device until you change operating mode. They can't be turned on using Home App. But in this text fan speed are not supported ?

OK I find slider. :)

eibenp commented 3 months ago

Fan and dry modes are not supported because Apple's Home Kit do not support them in heatercooler. Fan speed is a different parameter. It is supported. In the readme you can read this near to the beginning:

Quiet / Auto / Powerful mode is supported by the fan speed control. Minimum value turns on Quiet mode. Next value is Auto mode. Maximum value is Powerful mode. All other values between them are exact fan speeds (Low, MediumLow, Medium, MediumHigh, High)

** these values are supported only on 5-speed units

Open Home App > Open the AC device page > You can see the name, the temperature control and the mode control, and if opened from the Home App there is a gear in the bottom right corner > Using the gear icon you can open settings where you can set some additional parameters like fan speed.

zivanek commented 3 months ago

Fan and dry modes are not supported because Apple's Home Kit do not support them in heatercooler. Fan speed is a different parameter. It is supported. In the readme you can read this near to the beginning:

Quiet / Auto / Powerful mode is supported by the fan speed control. Minimum value turns on Quiet mode. Next value is Auto mode. Maximum value is Powerful mode. All other values between them are exact fan speeds (Low, MediumLow, Medium, MediumHigh, High) ** these values are supported only on 5-speed units

Open Home App > Open the AC device page > You can see the name, the temperature control and the mode control, and if opened from the Home App there is a gear in the bottom right corner > Using the gear icon you can open settings where you can set some additional parameters like fan speed.

Thank you. Never give up, turn the impossible into the possible.

zivanek commented 3 months ago

I sent to you today logs for check. I think that is ok. todayLog.txt

eibenp commented 3 months ago

Everything is fine.

zivanek commented 3 months ago

Today, I see that is some problem with token. I attached file. homebridge-gree-ac.log (5).txt

eibenp commented 3 months ago

Today, I see that is some problem with token. I attached file. homebridge-gree-ac.log (5).txt

This is not a problem. Homebridge has received some unknown network packets from unknown devices. I think you have some other devices on your local network not only GREE AC units. Originally this plugin has reported all unknown network packets as error. I have modified this in version v2.1.1 where unknown network packets are silently dropped and are visible in debug log only.

eibenp commented 3 months ago

@MichelVanRie @zivanek @keness521 Issue #5 solved in version v2.1.0

zivanek commented 3 months ago

Thank you.