Closed grunchy99 closed 1 month ago
@grunchy99 can your logs? You should find them between the lines --- Daikin info for debugging reasons (enable Debug Mode for more logs) ---
and --------------- End Daikin info for debugging reasons --------------------
@JeroenVdb The logs :
[10/21/2024, 2:10:48 PM] [homebridge-daikin-cloud] --- Daikin info for debugging reasons (enable Debug Mode for more logs) --- [10/21/2024, 2:10:49 PM] [homebridge-daikin-cloud] [Platform] Restoring existing accessory from cache: Chambre Parents [10/21/2024, 2:10:49 PM] [homebridge-daikin-cloud] [Platform] Device found with id: 6255429d-b85e-4210-931d-433855d48373 [10/21/2024, 2:10:49 PM] [homebridge-daikin-cloud] [Platform] id: 6255429d-b85e-4210-931d-433855d48373 [10/21/2024, 2:10:49 PM] [homebridge-daikin-cloud] [Platform] name: Chambre Parents [10/21/2024, 2:10:49 PM] [homebridge-daikin-cloud] [Platform] last updated: Mon Oct 21 2024 14:10:49 GMT+0200 (Central European Summer Time) [10/21/2024, 2:10:49 PM] [homebridge-daikin-cloud] [Platform] modelInfo: BRP069B4x [10/21/2024, 2:10:49 PM] [homebridge-daikin-cloud] [Platform] deviceModel: dx23 [10/21/2024, 2:10:49 PM] [homebridge-daikin-cloud] --------------- End Daikin info for debugging reasons --------------------
Logs from debug mode at problem timestamp :
[10/22/2024, 7:00:02 AM] [homebridge-daikin-cloud] Failed to set Error: Please provide a valid datapoint definition that exists in the data structure
at DaikinCloudDevice.setData (/homebridge/node_modules/homebridge-daikin-cloud/node_modules/daikin-controller-cloud/src/device.ts:232:19)
at ClimateControlService.handleSwingModeSet (/homebridge/node_modules/homebridge-daikin-cloud/src/climateControlService.ts:404:49)
at SwingMode.handleSetRequest (/opt/homebridge/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2339:42)
at Bridge.handleCharacteristicWrite (/opt/homebridge/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1810:29)
at Bridge.handleSetCharacteristics (/opt/homebridge/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1683:12)
at HAPServer.emit (node:events:519:28)
at HAPServer.handleCharacteristics (/opt/homebridge/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:943:12)
at IncomingMessage.
@grunchy99 can you try again with homebridge-daikin-cloud@2.7.0-beta.4
? I added extra logging.
Plugin updated to 2.7.0-b4, but still the error :
[10/22/2024, 10:57:51 AM] [homebridge-daikin-cloud] Failed to set Error: Please provide a valid datapoint definition that exists in the data structure
at DaikinCloudDevice.setData (/homebridge/node_modules/homebridge-daikin-cloud/node_modules/daikin-controller-cloud/src/device.ts:232:19)
at ClimateControlService.handleSwingModeSet (/homebridge/node_modules/homebridge-daikin-cloud/src/climateControlService.ts:405:49)
at SwingMode.handleSetRequest (/opt/homebridge/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2339:42)
at Bridge.handleCharacteristicWrite (/opt/homebridge/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1810:29)
at Bridge.handleSetCharacteristics (/opt/homebridge/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1683:12)
at HAPServer.emit (node:events:519:28)
at HAPServer.handleCharacteristics (/opt/homebridge/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:943:12)
at IncomingMessage.
Perfect, now I have enough information for debugging. Looks like your device doesn't support horizontal swing. I added a check on this in homebridge-daikin-cloud@2.7.0-beta.5
. Can you verify that version works for you?
I confirm my device doesn't have horizontal swing, only vertical. homebridge-daikin-cloud@2.7.0-beta.5 solve my problem, thanks a lot.
Daikin Environment:
Homebridge Environment: