Apollon77 / ioBroker.daikin

Control Daikin Air Conditioner devices
MIT License
14 stars 9 forks source link

Daikin integrated WIFI Controler BRP069C4x not compatible with IOBroker adapter #63

Closed Andy-47 closed 2 years ago

Andy-47 commented 3 years ago

Describe the bug
Today a brand new Daikin AC has been installed in our home. The unit comes with the integrated wificontroler BRP069C4x, Firmware 1.7.22. This is the information what you can get from the Daikin app. The response in iobroker from the Daikin controler after initializing is

" Daikin Device initialized with Error :Cannot parse response: Page Not Found"

Or do I something wrong?

Versions:

-Andreas

Apollon77 commented 3 years ago

WHich configuration you choose? There is a special flag needed for 1.7.x firmwares ... else please provide debug log

Andy-47 commented 3 years ago

Hallo Apollon, kommt morgen. Was meinst Du mit Konfiguration? Ich kann die IP Adresse eingeben und ein Flag setzen.

Grüße Andreas

Sent from mobile device.

Am 10.03.2021 um 17:55 schrieb Ingo Fischer @.***>:

 WHich configuration you choose? There is a special flag needed for 1.7.x firmwares ... else please provide debug log

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Andy-47 commented 3 years ago

Hi Apollon,

first of all thanks for your help!

please see below the debug log:

daikin.0

2021-03-10 18:49:34.412

info

(6711) Daikin Device initialized with Error :Cannot parse response: Page Not Found /common/basic_info

daikin.0

2021-03-10 18:49:34.411

debug

(6711) null

daikin.0

2021-03-10 18:49:34.113

debug

(6711) Call GET http://192.168.178.93/common/basic_info with {}

daikin.0

2021-03-10 18:48:37.060

debug

(6711) system.adapter.admin.0: logging true

daikin.0

2021-03-10 18:48:34.109

info

(6711) Retry init in 60 seconds

daikin.0

2021-03-10 18:48:34.108

info

/common/basic_info

daikin.0

2021-03-10 18:48:34.108

info

(6711) Daikin Device initialized with Error :Cannot parse response: Page Not Found

daikin.0

2021-03-10 18:48:34.107

debug

(6711) null

daikin.0

2021-03-10 18:48:33.884

debug

(6711) Call GET http://192.168.178.93/common/basic_info with {}

daikin.0

2021-03-10 18:48:33.788

info

(6711) starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.daikin, node: v12.21.0, js-controller: 3.2.16

daikin.0

2021-03-10 18:48:33.537

debug

(6711) Plugin sentry Initialize Plugin (enabled=true)

daikin.0

2021-03-10 18:48:33.367

debug

(6711) statesDB connected

daikin.0

2021-03-10 18:48:33.366

debug

(6711) States connected to redis: 127.0.0.1:9000

daikin.0

2021-03-10 18:48:33.358

debug

(6711) States create User PubSub Client

daikin.0

2021-03-10 18:48:33.357

debug

(6711) States create System PubSub Client

daikin.0

2021-03-10 18:48:33.348

debug

(6711) Redis States: Use Redis connection: 127.0.0.1:9000

daikin.0

2021-03-10 18:48:33.345

debug

(6711) objectDB connected

daikin.0

2021-03-10 18:48:33.336

debug

(6711) Objects connected to redis: 127.0.0.1:9001

daikin.0

2021-03-10 18:48:33.316

debug

(6711) Objects client initialize lua scripts

daikin.0

2021-03-10 18:48:33.314

debug

(6711) Objects create User PubSub Client

daikin.0

2021-03-10 18:48:33.313

debug

(6711) Objects create System PubSub Client

daikin.0

2021-03-10 18:48:33.310

debug

(6711) Objects client ready ... initialize now

daikin.0

2021-03-10 18:48:33.274

debug

(6711) Redis Objects: Use Redis connection: 127.0.0.1:9001

It doesn’t matter if I click the flag or not.

Regards

Andreas

Von: Ingo Fischer @.> Gesendet: Mittwoch, 10. März 2021 17:56 An: Apollon77/ioBroker.daikin @.> Cc: Andy-47 @.>; Author @.> Betreff: Re: [Apollon77/ioBroker.daikin] Daikin integrated WIFI Controler BRP069C4x not compatible with IOBroker adapter (#63)

WHich configuration you choose? There is a special flag needed for 1.7.x firmwares ... else please provide debug log

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Apollon77/ioBroker.daikin/issues/63#issuecomment-795732356 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASDX2GGT53VF3XX56XO2XA3TC6QARANCNFSM4Y6MW3IQ . https://github.com/notifications/beacon/ASDX2GFVLJTM7OY74CULLQDTC6QARA5CNFSM4Y6MW3I2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF5W6TBA.gif

Apollon77 commented 3 years ago

Hm ... it seems that this firmware is strange ... now it is very hard to find the reason without having real access to that device :-(

Apollon77 commented 3 years ago

Maybe we really need the X-Daikin-uuid header now ... hm ...

Andy-47 commented 3 years ago

Is there anything what I can do? I have chosen the Daikin AC because of the integration in iobroker. The AC should work with my PV installation on the roof of my house which will be installed by the end of the month.

Sent from mobile device.

Am 10.03.2021 um 21:19 schrieb Ingo Fischer @.***>:

 Maybe we really need the X-Daikin-uuid header now ... hm ...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Andy-47 commented 3 years ago

I discovered that the same issue appears by adding the controller to home assistant:

https://community.home-assistant.io/t/daikin-brp072c42-wifi-custom-component/126981/84

I tried already:

As uuid I used the gateway ID.

Obviously, the key and password are required to get access.

Regards

Andreas

Von: Andreas @.> Gesendet: Mittwoch, 10. März 2021 18:59 An: 'Apollon77/ioBroker.daikin' @.>; 'Apollon77/ioBroker.daikin' @.> Cc: 'Author' @.> Betreff: AW: [Apollon77/ioBroker.daikin] Daikin integrated WIFI Controler BRP069C4x not compatible with IOBroker adapter (#63)

Hi Apollon,

first of all thanks for your help!

please see below the debug log:

daikin.0

2021-03-10 18:49:34.412

info

(6711) Daikin Device initialized with Error :Cannot parse response: Page Not Found /common/basic_info

daikin.0

2021-03-10 18:49:34.411

debug

(6711) null

daikin.0

2021-03-10 18:49:34.113

debug

(6711) Call GET http://192.168.178.93/common/basic_info with {}

daikin.0

2021-03-10 18:48:37.060

debug

(6711) system.adapter.admin.0: logging true

daikin.0

2021-03-10 18:48:34.109

info

(6711) Retry init in 60 seconds

daikin.0

2021-03-10 18:48:34.108

info

/common/basic_info

daikin.0

2021-03-10 18:48:34.108

info

(6711) Daikin Device initialized with Error :Cannot parse response: Page Not Found

daikin.0

2021-03-10 18:48:34.107

debug

(6711) null

daikin.0

2021-03-10 18:48:33.884

debug

(6711) Call GET http://192.168.178.93/common/basic_info with {}

daikin.0

2021-03-10 18:48:33.788

info

(6711) starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.daikin, node: v12.21.0, js-controller: 3.2.16

daikin.0

2021-03-10 18:48:33.537

debug

(6711) Plugin sentry Initialize Plugin (enabled=true)

daikin.0

2021-03-10 18:48:33.367

debug

(6711) statesDB connected

daikin.0

2021-03-10 18:48:33.366

debug

(6711) States connected to redis: 127.0.0.1:9000

daikin.0

2021-03-10 18:48:33.358

debug

(6711) States create User PubSub Client

daikin.0

2021-03-10 18:48:33.357

debug

(6711) States create System PubSub Client

daikin.0

2021-03-10 18:48:33.348

debug

(6711) Redis States: Use Redis connection: 127.0.0.1:9000

daikin.0

2021-03-10 18:48:33.345

debug

(6711) objectDB connected

daikin.0

2021-03-10 18:48:33.336

debug

(6711) Objects connected to redis: 127.0.0.1:9001

daikin.0

2021-03-10 18:48:33.316

debug

(6711) Objects client initialize lua scripts

daikin.0

2021-03-10 18:48:33.314

debug

(6711) Objects create User PubSub Client

daikin.0

2021-03-10 18:48:33.313

debug

(6711) Objects create System PubSub Client

daikin.0

2021-03-10 18:48:33.310

debug

(6711) Objects client ready ... initialize now

daikin.0

2021-03-10 18:48:33.274

debug

(6711) Redis Objects: Use Redis connection: 127.0.0.1:9001

It doesn’t matter if I click the flag or not.

Regards

Andreas

Von: Ingo Fischer @. @.> > Gesendet: Mittwoch, 10. März 2021 17:56 An: Apollon77/ioBroker.daikin @. @.> > Cc: Andy-47 @. @.> >; Author @. @.> > Betreff: Re: [Apollon77/ioBroker.daikin] Daikin integrated WIFI Controler BRP069C4x not compatible with IOBroker adapter (#63)

WHich configuration you choose? There is a special flag needed for 1.7.x firmwares ... else please provide debug log

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Apollon77/ioBroker.daikin/issues/63#issuecomment-795732356 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASDX2GGT53VF3XX56XO2XA3TC6QARANCNFSM4Y6MW3IQ . https://github.com/notifications/beacon/ASDX2GFVLJTM7OY74CULLQDTC6QARA5CNFSM4Y6MW3I2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF5W6TBA.gif

Apollon77 commented 3 years ago

Ok, then honestly it seems to be something else.

So we could only go the "use a proxy program to grab the traffic from your module when using the mobile app and anylyze that. if you would be open for that maybe lets switch to iobroker Discord or Telegram and do it together. then I can anylyze that

Andy-47 commented 3 years ago

Yes ,we can do this together. Let me check for proxy programs I have IOS devices.

I did some more investigation today. What I sent yesterday is most likely correct:

The difference is the “C” in the name.

And you are right as well with the uuid. To get connect with the unit the uuid must submitted and the KEY which came with the unit.

Let me try this first:

I will install the Home Assistant for test purposes and check the adapter for Daikin:

https://github.com/home-assistant/core/tree/dev/homeassistant/components/daikin

I guess there we can find some hints.

Regards

Andreas

Von: Ingo Fischer @.> Gesendet: Donnerstag, 11. März 2021 16:57 An: Apollon77/ioBroker.daikin @.> Cc: Andy-47 @.>; Author @.> Betreff: Re: [Apollon77/ioBroker.daikin] Daikin integrated WIFI Controler BRP069C4x not compatible with IOBroker adapter (#63)

Ok, then honestly it seems to be something else.

So we could only go the "use a proxy program to grab the traffic from your module when using the mobile app and anylyze that. if you would be open for that maybe lets switch to iobroker Discord or Telegram and do it together. then I can anylyze that

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Apollon77/ioBroker.daikin/issues/63#issuecomment-796839585 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASDX2GHKIJDNLAUQL67WSJLTDDR3BANCNFSM4Y6MW3IQ . https://github.com/notifications/beacon/ASDX2GFV5VV63UWOKC34PMLTDDR3BA5CNFSM4Y6MW3I2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF57M5II.gif

Apollon77 commented 3 years ago

For proxy please use CharlesProxy. I do all with this and works great!

Download an install, start and is acts as aproxy on port 8888. Add that as proxy to your wlan connection in your ios device. then register the charles proxy ssl root cert (https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/) and activate it (two places where you need to activate it in ios). Then you should get that traffic.

Then ( best before) remove the adapter from daikin app and kill the app.

Now start the daikin app, register teh devices and maybe do a control action afterwards.

End charles session. remove all unwanted traffic the proxy catched too. Send me the chls file via email to iobroker@fischer-ka.de

Andy-47 commented 3 years ago

The new Daikin Residential Controller can be connected to Alexa. In combination with Alexa2 Adapter you find at least datapoints like TargetTemp, Temp, Mode e.g. Better would be a direct access.

Apollon77 commented 3 years ago

We also have a bigger discussion here https://github.com/cbrandlehner/homebridge-daikin-local/issues/123

adnet-solutions commented 3 years ago

Hi, is there allready any progress? I also got a brand new Daikin installed today with 3 indoorunits TFXM20R. its looks like i get the same error messages and cant connect the IOBROKER Adapter to that units. Is there any chance to get it running?

Apollon77 commented 3 years ago

Yes we basically have a library, but I did not had ay time to make an adapter out of it till now ... so needs more time unless someone else has time

Uwe1984 commented 3 years ago

I join here with the same problem. New Daikin with the same connection problems. I can offer myself to test a new version of the adapter

DrHauss commented 3 years ago

How does Alexa or Google Assistant control the devices? Maybe they use another way of authentication to Daikin Cloud?

Apollon77 commented 3 years ago

I expect the have a "normal" Smark home skill to their cloud ... but tis is not really helping us

dakleine commented 3 years ago

i am having the exact same problem here...

anbi commented 3 years ago

I have exactly the same problem with the Daikin adapter and would like to join here. I can control the Daikin system via Google, but I cannot find any objects for this in IObroker. With greetings A.

andispammonyer commented 3 years ago

Hi, I have the same issues as well. My new Perfera has this new wifi controller built in BRP069C4x. The latest Firmware is now 1.12.30. Can I support you in something for debugging?

Apollon77 commented 3 years ago

If you can not make the day longer then 24h then it will be hard to support right now ... unless you can also take over part of development.

mattgas commented 3 years ago

any progress on updating the iobroker adapter for the new daikin controller?

Apollon77 commented 3 years ago

No time so far, other prios are higher, sorry. Still on the todo list

andispammonyer commented 3 years ago

If you can not make the day longer then 24h then it will be hard to support right now ... unless you can also take over part of development.

I spend you some money. Guess it's always appreciated in any cases ;) You do a great job

Apollon77 commented 3 years ago

Thank you, always a good motivation :-)

amandus99 commented 3 years ago

I am also in with a new Daikin firmware 1.12.35 If I would have known before that the new Daikins are not compatible I would have chosen another brand...

StefanTR96 commented 3 years ago

I also have the same problem with my Daikin Air Condition units FTXM... Would be glad if anyone can fix this problem ;)

Apollon77 commented 3 years ago

It is not a "problem" ... it is a completely new protocol and formal and stuff ... so it will be a new adapter ...

andispammonyer commented 2 years ago

Does your other project https://github.com/Apollon77/daikin-controller-cloud enable this one? I found a working Home Assistant solution which used your implementation https://github.com/rospogrigio/daikin_residential But I still prefer having the Daikin Cloud adapter running in ioBroker.

What would be your best guess by when we can expect a new ioBroker adapter?

Apollon77 commented 2 years ago

What would be your best guess by when we can expect a new ioBroker adapter?

Whenever I find time to concentrate on it ... sorry but time is rare at the moment

DieWalge commented 2 years ago

same problem here with new FVXS25M (integrated WiFi) - older FVXS25M (WiFi via addon) works without problems

New FVXS25M does NOT work with Daikin Controller App but only with Daikin Residential Controller App (login required).

@Apollon77: I can supply access to the Daikin URL and/or do some basic testing if that helps

mime29 commented 2 years ago

I got the new AN28ZRBKS I think it will be the exact same problem Maybe I can use Charles to provide proxy logs

SmartHomie1 commented 2 years ago

Exactly same problem with recently installed Daikin FTXM35R and Daikin FVXM25A (integraded WLAN controllers). They appear in Alexa2 Adapter but datapoints seem to be dead and deliver no data. Therefore I would be happy about a new Daikin adapter. Greetz

Apollon77 commented 2 years ago

Ok, today we start ... Please try https://github.com/Apollon77/ioBroker.daikin-cloud ... Forum Thread: German https://forum.iobroker.net/topic/55082/test-adapter-daikin-cloud-0-0-1