cbrandlehner / homebridge-daikin-local

Supports Daikin Air Conditioners on HomeBridge
MIT License
100 stars 18 forks source link

Cannot control Daikin BRP069B4x since upgrade to 2022.50.1 #288

Closed daciand closed 1 year ago

daciand commented 1 year ago

Describe the bug Since upgrading to 2022.50.1 release I cannot control Daikin AC unit (WiFi controller BRP069B4x) via HomeKit. Everything works fine with the previous version (2022.45.1).

Minimum information Output for http://192.168.0.156/aircon/get_model_info: ret=OK,model=1360,type=N,pv=3.20,cpv=3,cpv_minor=20,mid=NA,humd=0,s_humd=0,acled=0,land=0,elec=1,temp=1,temp_rng=0,m_dtct=0,ac_dst=--,disp_dry=0,dmnd=1,en_scdltmr=1,en_frate=1,en_fdir=1,s_fdir=1,en_rtemp_a=0,en_spmode=3,en_ipw_sep=1,en_mompow=1,hmlmt_l=10.0

Output for http://192.168.0.156/skyfi/aircon/get_model_info: ret=PARAM NG,msg=404 Not Found

To Reproduce Information on your wifi gateway from the daikin app:

  1. Firmware version: 1_14_68
  2. Model information of the wifi gateway: BRP069B4x

Information on your configuration:

  1. Homebridge config: { "name": "Living Room Daikin", "apiroute": "http://192.168.0.156", "temperature_unit": "C", "uuid": "***", "system": "Default", "swingMode": "1", "disableFan": false, "fanMode": "FAN", "fanPowerMode": "FAN only", "fanName": "Living Room FAN", "defaultMode": "1", "enableHumiditySensor": false, "enableTemperatureSensor": true, "response": 2000, "deadline": 60000, "retries": 5, "accessory": "Daikin-Local" }

Information from the log:

  1. Homebridge log file showing relevant information:

Expected behavior Daikin AC unit can be controlled via HomeKit.

Additional context Hardware: Raspberry Pi 3 B+ OS: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux raspberrypi 5.15.76-v7+ #1597 SMP Fri Nov 4 12:13:17 GMT 2022 armv7l GNU/Linux Homebridge Version: v1.6.0 Node.js Version: v18.12.1 User: homebridge Storage Path: /var/lib/homebridge Config Path: /var/lib/homebridge/config.json Plugin Path: /var/lib/homebridge/node_modules Service Mode: Yes

dchevell commented 1 year ago

Same issue here. You're using http instead of https in the daikin URL, and whilst blocking http seems like a flawed approach, technically the raw daikin URL should start with https - have you tried that?

Alternatively, do you have something sitting in front of / reverse producing your daikin, like a web server? (This is closer to my situation, so adding https won't work)

For now I've downgraded back to a working version

beatpaul commented 1 year ago

Same issue for me :( tried the "https approach", but didn't work for me

henkied commented 1 year ago

Same issue for me

daciand commented 1 year ago

Same issue here. You're using http instead of https in the daikin URL, and whilst blocking http seems like a flawed approach, technically the raw daikin URL should start with https - have you tried that?

Alternatively, do you have something sitting in front of / reverse producing your daikin, like a web server? (This is closer to my situation, so adding https won't work)

For now I've downgraded back to a working version

My Daikin controller does not listen on HTTPS port (443) so it doesn't work for me.

helangen commented 1 year ago

Any update on this? I have the same issue.

daciand commented 1 year ago

Any update on this? I have the same issue.

Nope, not yet. We're still waiting...

cbrandlehner commented 1 year ago

Please update to release 2023.1.1 If the problem still exists, please reopen this report with updated information.

daciand commented 1 year ago

v2023.1.1 not yet available on https://www.npmjs.com/package/homebridge-daikin-local So I did a git clone and overwrite the existing files with the new ones. Restarted Homebridge and now everything seems fine. Thank you for you work @cbrandlehner!

cbrandlehner commented 1 year ago

@daciand for some unknown reason npm refuses to upload the new release. No idea why, still working on it.