fjhorrillo / homebridge-airzone-cloud

Homebridge Airzone Cloud
Apache License 2.0
22 stars 3 forks source link

i have this error #20

Closed marco-hue closed 1 year ago

marco-hue commented 2 years ago

This plugin threw an error from the characteristic 'Target Temperature': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'celsius'). See https://git.io/JtMGR for more info.

fjhorrillo commented 2 years ago

Hello @marco-hue, could you attach the logs with debugging enabled to show what is happened.

marco-hue commented 2 years ago

[4/3/2022, 5:59:35 PM] [AirzoneCloud] Zona giorno: Status -> {"machineready":true,"errors":[],"timer":{"value":0,"count":0,"action":{}},"timer_values":[0,30,60,90],"manufacturer":{"_id":8,"text":"Daikin Sky Air / VRV"},"power":false,"active":false,"mode":2,"mode_available":[1,2,3,4,5],"speed_values":[0,2,4,6],"speed_type":0,"speed_conf":2,"range_sp_cool_air_max":{"celsius":32,"fah":90},"range_sp_cool_air_min":{"celsius":16,"fah":61},"range_sp_hot_air_max":{"celsius":32,"fah":90},"range_sp_hot_air_min":{"celsius":16,"fah":61},"range_sp_auto_air_max":{"celsius":32,"fah":90},"range_sp_auto_air_min":{"celsius":16,"fah":61},"step":{"fah":1,"celsius":1},"block_autospeed":false,"block_autotemp":false,"block_dryspeed":true,"block_drytemp":true,"block_fantemp":true,"setpoint_air_cool":{"celsius":20,"fah":68},"setpoint_air_heat":{"celsius":26,"fah":79},"setpoint_air_auto":{"celsius":26,"fah":79},"tai_temp":{"celsius":null,"fah":null},"local_temp":{"celsius":23.2,"fah":74},"pspeed":33,"name":"Zona giorno","isConnected":true,"connection_date":"2022-03-02T16:37:28.426Z","disconnection_date":"2021-11-01T07:45:10.958Z","ws_sched_calendar_available":false,"ws_sched_available":true,"range_air_max":{"celsius":30,"fah":86},"range_air_min":{"celsius":15,"fah":59},"ws_connected":true,"tt_units":0,"double_sp":false,"units":0} [4/3/2022, 5:59:35 PM] [AirzoneCloud] Zona notte: Status -> {"pspeed":66,"block_autospeed":false,"block_autotemp":false,"block_dryspeed":true,"block_drytemp":true,"block_fantemp":true,"machineready":true,"errors":[],"timer":{"value":0,"count":0,"action":{}},"timer_values":[0,30,60,90],"manufacturer":{"_id":8,"text":"Daikin Sky Air / VRV"},"power":false,"active":false,"mode":3,"mode_available":[1,2,3,4,5],"speed_values":[0,2,4,6],"speed_type":0,"speed_conf":4,"range_sp_cool_air_max":{"celsius":32,"fah":90},"range_sp_cool_air_min":{"celsius":16,"fah":61},"range_sp_hot_air_max":{"celsius":32,"fah":90},"range_sp_hot_air_min":{"celsius":16,"fah":61},"range_sp_auto_air_max":{"celsius":32,"fah":90},"range_sp_auto_air_min":{"celsius":16,"fah":61},"step":{"fah":1,"celsius":1},"tt_units":0,"setpoint_air_cool":{"celsius":32,"fah":90},"setpoint_air_heat":{"celsius":31,"fah":88},"setpoint_air_auto":{"celsius":32,"fah":90},"tai_temp":{"celsius":null,"fah":null},"local_temp":{"celsius":23.9,"fah":75},"name":"Zona notte","double_sp":false,"dualsp_auto_conf":null,"autochange_diff_temp_conf":null,"isConnected":true,"connection_date":"2022-04-03T09:47:25.463Z","disconnection_date":"2021-11-02T15:11:15.648Z","ws_sched_calendar_available":false,"ws_sched_available":true,"range_air_max":{"celsius":30,"fah":86},"range_air_min":{"celsius":15,"fah":59},"ws_connected":true,"units":0} [4/3/2022, 5:59:42 PM] [AirzoneCloud] [Websocket] ⬇{"device_id":":{"return_temp":{"celsius":19.1,"fah":66}}}}] [4/3/2022, 5:59:42 PM] [Comelit] Sending message to HUB {"req_type":7,"seq_id":26,"req_sub_type":-1,"sessiontoken":"1398001540"} Message queue size is 1 Message processed. Message queue size is now 0 Resolving response 26 [4/3/2022, 5:59:45 PM] [AirzoneCloud] Zona giorno: Status -> {"machineready":true,"errors":[],"timer":{"value":0,"count":0,"action":{}},"timer_values":[0,30,60,90],"manufacturer":{"_id":8,"text":"Daikin Sky Air / VRV"},"power":false,"active":false,"mode":2,"mode_available":[1,2,3,4,5],"speed_values":[0,2,4,6],"speed_type":0,"speed_conf":2,"range_sp_cool_air_max":{"celsius":32,"fah":90},"range_sp_cool_air_min":{"celsius":16,"fah":61},"range_sp_hot_air_max":{"celsius":32,"fah":90},"range_sp_hot_air_min":{"celsius":16,"fah":61},"range_sp_auto_air_max":{"celsius":32,"fah":90},"range_sp_auto_air_min":{"celsius":16,"fah":61},"step":{"fah":1,"celsius":1},"block_autospeed":false,"block_autotemp":false,"block_dryspeed":true,"block_drytemp":true,"block_fantemp":true,"setpoint_air_cool":{"celsius":20,"fah":68},"setpoint_air_heat":{"celsius":26,"fah":79},"setpoint_air_auto":{"celsius":26,"fah":79},"tai_temp":{"celsius":null,"fah":null},"local_temp":{"celsius":23.2,"fah":74},"pspeed":33,"name":"Zona giorno","isConnected":true,"connection_date":"2022-03-02T16:37:28.426Z","disconnection_date":"2021-11-01T07:45:10.958Z","ws_sched_calendar_available":false,"ws_sched_available":true,"range_air_max":{"celsius":30,"fah":86},"range_air_min":{"celsius":15,"fah":59},"ws_connected":true,"tt_units":0,"double_sp":false,"units":0} [4/3/2022, 5:59:45 PM] [AirzoneCloud] Zona notte: Status -> {"pspeed":66,"block_autospeed":false,"block_autotemp":false,"block_dryspeed":true,"block_drytemp":true,"block_fantemp":true,"machineready":true,"errors":[],"timer":{"value":0,"count":0,"action":{}},"timer_values":[0,30,60,90],"manufacturer":{"_id":8,"text":"Daikin Sky Air / VRV"},"power":false,"active":false,"mode":3,"mode_available":[1,2,3,4,5],"speed_values":[0,2,4,6],"speed_type":0,"speed_conf":4,"range_sp_cool_air_max":{"celsius":32,"fah":90},"range_sp_cool_air_min":{"celsius":16,"fah":61},"range_sp_hot_air_max":{"celsius":32,"fah":90},"range_sp_hot_air_min":{"celsius":16,"fah":61},"range_sp_auto_air_max":{"celsius":32,"fah":90},"range_sp_auto_air_min":{"celsius":16,"fah":61},"step":{"fah":1,"celsius":1},"tt_units":0,"setpoint_air_cool":{"celsius":32,"fah":90},"setpoint_air_heat":{"celsius":31,"fah":88},"setpoint_air_auto":{"celsius":32,"fah":90},"tai_temp":{"celsius":null,"fah":null},"local_temp":{"celsius":23.9,"fah":75},"name":"Zona notte","double_sp":false,"dualsp_auto_conf":null,"autochange_diff_temp_conf":null,"isConnected":true,"connection_date":"2022-04-03T09:47:25.463Z","disconnection_date":"2021-11-02T15:11:15.648Z","ws_sched_calendar_available":false,"ws_sched_available":true,"range_air_max":{"celsius":30,"fah":86},"range_air_min":{"celsius":15,"fah":59},"ws_connected":true,"units":0}

[4/3/2022, 5:59:18 PM] [AirzoneCloud] Zona notte: Finished refresh device statis in 3.438s [4/3/2022, 5:59:18 PM] [homebridge-airzone-cloud] This plugin threw an error from the characteristic 'Target Temperature': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'celsius'). See https://git.io/JtMGR for more info. [4/3/2022, 5:59:18 PM] [AirzoneCloud] Zona giorno: Starting refresh device statis [4/3/2022, 5:59:18 PM] [AirzoneCloud] [Fetch] ⬆ Request: GET https://m.airzonecloud.com/api/v1/devices/60fc253b8c823ed1101c1988/status/?installation_id= [4/3/2022, 5:59:19 PM] [AirzoneCloud] [Fetch] ⬇ Response: {"machineready":true,"errors":[],"timer":{"value":0,"count":0,"action":{}},"timer_values":[0,30,60,90],"manufacturer":{"_id":8,"text":"Daikin Sky Air / VRV"},"power":false,"active":false,"mode":2,"mode_available":[1,2,3,4,5],"speed_values":[0,2,4,6],"speed_type":0,"speed_conf":2,"range_sp_cool_air_max":{"celsius":32,"fah":90},"range_sp_cool_air_min":{"celsius":16,"fah":61},"range_sp_hot_air_max":{"celsius":32,"fah":90},"range_sp_hot_air_min":{"celsius":16,"fah":61},"range_sp_auto_air_max":{"celsius":32,"fah":90},"range_sp_auto_air_min":{"celsius":16,"fah":61},"step":{"fah":1,"celsius":1},"block_autospeed":false,"block_autotemp":false,"block_dryspeed":true,"block_drytemp":true,"block_fantemp":true,"setpoint_air_cool":{"celsius":20,"fah":68},"setpoint_air_heat":{"celsius":26,"fah":79},"setpoint_air_auto":{"celsius":26,"fah":79},"tai_temp":{"celsius":null,"fah":null},"local_temp":{"celsius":23.2,"fah":74},"pspeed":33,"name":"Zona giorno","isConnected":true,"connection_date":"2022-03-02T16:37:28.426Z","disconnection_date":"2021-11-01T07:45:10.958Z","ws_sched_calendar_available":false,"ws_sched_available":true,"range_air_max":{"celsius":30,"fah":86},"range_air_min":{"celsius":15,"fah":59},"ws_connected":true,"tt_units":0,"double_sp":false} [4/3/2022, 5:59:19 PM] [AirzoneCloud] [Fetch] ⬆ Request: GET https://m.airzonecloud.com/api/v1/user [4/3/2022, 5:59:19 PM] [AirzoneCloud] [Fetch] ⬇ Response: @.***","data":{"name":"","lastName":"","commercial":false},"integrations":{},"config":{"lang":"it","ampm":false,"units":0,"noHaptic":false,"sundayFirst":false,"notification":true},"created_at":"2021-09-12T16:17:46.954Z","confirmation_date":"2021-09-12T16:18:23.225Z"} [4/3/2022, 5:59:19 PM] [AirzoneCloud] Zona giorno: Finished refresh device statis in 0.633s [4/3/2022, 5:59:19 PM] [homebridge-airzone-cloud] This plugin threw an error from the characteristic 'Target Temperature': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'celsius'). See https://git.io/JtMGR for more info. [4/3/2022, 5:59:19 PM] [Comelit] Sending message to HUB {"req_type":1,"seq_id":24,"req_sub_type":3,"act_type":0,"sessiontoken":"1398001540","obj_id":"DOM#LT#13.2","act_params":[0]}

Il giorno 3 apr 2022, alle ore 17:49, Francisco Javier Horrillo Sancho @.***> ha scritto:

Hello @marco-hue https://github.com/marco-hue, could you attach the logs with debugging enabled to show what is happened.

— Reply to this email directly, view it on GitHub https://github.com/fjhorrillo/homebridge-airzone-cloud/issues/20#issuecomment-1086895527, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2OCQQOYOSESCRAO3OE7KDVDG4ZNANCNFSM5SNKZUPQ. You are receiving this because you were mentioned.

marco-hue commented 2 years ago

is it solvable?

marco-hue commented 2 years ago

C'è un errore nella lettura della temperatura quando vado ad usare i C celsius anziché i F fahrenheit. Celsius resta in aggiorno

fahrenheit va in non raggiungibile

This plugin threw an error from the characteristic 'Target Temperature': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'fah'). See https://git.io/JtMGR for more info.

fjhorrillo commented 1 year ago

Hello, there are two problems, first, it is regarding target temperature, I realize that in your case the setpoint_air_stop doesn't exist, I will solve it. Second, it is regarding fah unit, this has been solved in version 0.3.3

marco-hue commented 1 year ago

Grazie !

Inviato da Marco

Il giorno 10 dic 2022, alle ore 19:34, Francisco Javier Horrillo Sancho @.***> ha scritto:

Hello, there are two problems, first, it is regarding target temperature, I realize that in your case the setpoint_air_stop doesn't exist, I will solve it. Second, it is regarding fah unit, this has been solved in version 0.

fjhorrillo commented 1 year ago

Fixed in v0.3.4